canmove, Confirmed users
1,173
edits
(→GET) |
|||
| Line 115: | Line 115: | ||
Returns the WBO in the collection corresponding to the requested id | Returns the WBO in the collection corresponding to the requested id | ||
=== Alternate Output Formats === | |||
Two alternate output formats are available for multiple record GET requests. They are triggered by the presence of the appropriate format in the Accept header (with application/whoisi taking precedence) | |||
*application/whoisi: each record consists of a 32-bit integer, defining the length of the record, followed by the json record for a wbo | |||
*application/newlines: each record is a separate json object on its own line. Newlines in the body of the json object are replaced by '\u000a' | |||
== PUT == | == PUT == | ||