If i make this method call:
http://services.insemtives.eu/platform-rest/scoring-service/changeScore?
json=
{
"date": "2011-02-28 13:50",
"challenge": "http://tid.es/challenges%23Newbie_badge",
"user": "http://www.facebook.com/people/Marin-Nozhchev/1065313664",
"scoreDifference": 10,
"name": "Marin annotated Rooney in the challenge to find Rooney's missing talent.",
"createdAnnotationURI" : "http://www.flickr.com/photos/blogcatatanbola/5156370393%230%231"
}
I obtain a 10 value (well done) but if i need to load this information again with loadEvents methods some values are not stored or not correctly loaded:
http://services.insemtives.eu/platform-rest/scoring-service/loadEvents?json=\{%22challenge%22:%20%22http://tid.es/challenges%23Newbie_badge%22}
{
"date" : "2011-2-28 0:0:0",
"eventType" : null,
"challenge" : "http://tid.es/challenges#Newbie_badge",
"user" : "http://www.facebook.com/people/Marin-Nozhchev/1065313664",
"scoreDifference" : 10,
"createdAnnotationURI" : null,
"annotatedResourceURI" : null,
"name" : "Marin annotated Rooney in the challenge to find Rooney's missing talent.",
"uri" : "http://insemtives.org/links/events#Newbie_badge_Event_1298844000000_Marin+annotated+Rooney+in+the+challenge+to+find+Rooney%27s+missing+talent."
} ]
- Hour/minutes/seconds are wrong.
- createdAnnotationURI is not stored. (null value)
- annotatedResourceURI is not stored (with other example)
in progress
createdAnnotationURI and annotatedResourceURI are now stored in the current trunk code. the update has not been deployed to services.insemtives.eu and insm.ontotext.com yet
fixed in trunk; update your build of the web_showcase and try again
TID's INSEMTIVES platform updated according to new instructions in http://insemtives-wiki.sti2.at/index.php/WP3/Building_the_Platform
Please, Daniel, verify the ticket. Thanks! ;-)
Now, loadEvents method returns no results. []
In our platform http://195.235.93.234:8080/platform-rest/scoring-service/
First, create a new challenge for tests. (http://tid.es/challenges%23Test2_Badge)
http://195.235.93.234:8080/platform-rest/scoring-service/storeChallenge?json=\{%22parent%22:%20%22http://tid.es/challenges%22,%22creator%22:%20%22http://tid.es/%22,%22description%22:%20%22Welcome%20message%20to%20users%20to%20the%20badge%20mechanisms%20since%20users%20will%20get%20just%20after%20submitting%20their%20first%20annotation.%22,%22name%22:%20%22Test2%20Badge%22,%22uRI%22:%20%22http://tid.es/challenges%23Test2_Badge%22,%22relatedMedia%22:%20[%22http://www.samerforzley.com/wp-content/uploads/2010/01/Newbie-badge-foursquare2.png%22]}
Then, create a new event (changeScore)
http://195.235.93.234:8080/platform-rest/scoring-service/changeScore?json=\{%22date%22:%20%222011-07-28%209:59%22,%22challenge%22:%20%22http://tid.es/challenges%23Test2_Badge%22,%22user%22:%20%22http://www.facebook.com/people/123%22,%22scoreDifference%22:%201,%22name%22:%20%22Anotacion%20con%20el%20Tag%20no%20controlado%20Goodman%20realizada%20en%20http://insemtives.eu/%22}
Challenge and score have been stored:
http://195.235.93.234:8080/platform-rest/scoring-service/loadChallenges?json=\{%22parent%22:%20%22http://tid.es/challenges%22}
But loadEvents returns []
http://services.insemtives.eu/platform-rest/scoring-service/loadEvents?json=\{%22challenge%22:%20%22http://tid.es/challenges%23Test2_Badge%22}
:S
Assigining ticket to Marin... ;-)
@Marin: please, check that the person who is going to substitute you until the end of the project is assigned as the responsible for the Categories you were responsible for until now, I mean in Sourceforge... ;-)