| Description | HTTP Verb | URI | Parameters | Response Codes | Results |
|---|---|---|---|---|---|
| Get a collection of users | GET | /users.xml | 200 OK |
Collection of users (format_detail:info_link) | |
| Create a user | POST | /users.xml | XML for user (format_detail:local) | 200 OK |
XML for new user (format_detail:link) |
| Retrieve a user | GET | /users/ID.xml | format_detail={full,local,link,info_link} | 200 OK |
XML for retrieved user (format_detail:[full (default), local, link, info_link]) |
404 NOT FOUND |
|||||
| Update a user | PUT | /users/ID.xml | XML for user (format_detail:local) | 200 OK |
XML for new user (format_detail:link) |
404 NOT FOUND |
|||||
XXX MALFORMED |
|||||
| Delete a user | DELETE | /users/ID.xml | 200 OK |
||
404 NOT FOUND |
|||||
XXX MALFORMED |
|||||
| Get a similarity score that is the maximum value of similarity scores between all user events against a specified event | GET | /users/ID/matched_events | ev={ID of event to compare against}, t_coef={coefficient for time similarity}, p_coef={coefficient for participants similarity}, l_coef={coefficient for location similarity} |
200 OK
|
XML for retrieved similarity result |
| Description | HTTP Verb | URI | Parameters | Response Codes | Results |
|---|---|---|---|---|---|
| Get a collection of events | GET | /events.xml | 200 OK |
Collection of events (format_detail:info_link) | |
| Create an event | POST | /events.xml | XML for event (format_detail:base) | 200 OK |
XML for new event (format_detail:link) |
| Retrieve an event | GET | /events/ID.xml | format_detail={full,local,link,info_link} | 200 OK |
XML for retrieved event (format_detail:[full (default), base, link, info_link]) |
404 NOT FOUND |
|||||
| Update an event | PUT | /events/ID.xml | XML for event (format_detail:base) | 200 OK |
XML for updated event (format_detail:link) |
404 NOT FOUND |
|||||
XXX MALFORMED |
|||||
| Delete an event | DELETE | /events/ID.xml | 200 OK |
||
404 NOT FOUND |
|||||
XXX MALFORMED |
| Description | HTTP Verb | URI | Parameters | Response Codes | Results |
|---|---|---|---|---|---|
| Get the participants of an event | GET | /events/ID/participants.xml | format_detail={link,info_link} | 200 OK |
XML for retrieved participants (format_detail:[link, info_link]) |
| Create a participant link for an event | POST | /events/ID/participants.xml | (WiP)XML for participant (format_detail:base) | 200 OK |
(WiP)XML for new participant (format_detail:link) |
| Retrieve a participant link of an event | GET | /events/EVID/participants/PARTID.xml | format_detail={full,local,link,info_link} | 200 OK |
(WiP)XML for retrieved participant link (format_detail:[full (default), base, link, info_link]) |
404 NOT FOUND |
|||||
| Update a participant link | PUT | /events/EVID/participants/PARTID.xml | (WiP)XML for participant (format_detail:base) | 200 OK |
(WiP)XML for updated participant (format_detail:link) |
404 NOT FOUND |
|||||
XXX MALFORMED |
|||||
| Delete a participant from an event | DELETE | /events/EVID/participants/PARTID.xml | 200 OK |
||
404 NOT FOUND |
|||||
XXX MALFORMED |
| Description | HTTP Verb | URI | Parameters | Response Codes | Results |
|---|---|---|---|---|---|
| (WiP)Get the same-as entities | GET | /events/ID/same_as_links.xml | format_detail={link,info_link} |
404 NOT FOUND
|
XML for retrieved same-as entities (format_detail: [link, info_link]) |
| (WiP)Get the direct sub-events | GET | /events/ID/sub_events | format_detail={link,info_link} |
404 NOT FOUND
|
XML for retrieved sub-events (format_detail: [link, info_link]) |
| Get a similarity score between 2 events | GET | /events/matching_score?ev0=ID0?ev1=ID1 | ev0={1st event to compare}, ev1={2nd event to compare}, t_coef={coefficient for time similarity}, p_coef={coefficient for participants similarity}, l_coef={coefficient for location similarity} |
200 OK
|
XML for retrieved similarity result |