...
Returns:
List of uuid's uuid’s – uuids of the ingested documents
...
Create one or more documents with text content:
URL |
| ||
Method | POST |
| Request body |
XML Content Type | multipart/form-data |
| |
Content Disposition | text/xml |
| |
Content | Request XML | ||
Returns | 201 Created & Location | Response XML | |
| 401 Unauthorized |
| |
| 415 Unsupported Media Type |
|
Create one or more documents with binary content (PDF, DOC etc)
URL |
| |||
Method | POST |
| Request body | Multi-part binary |
Content Type | multipart/form-data |
| ||
Content Disposition | application/octet-stream |
| ||
Content | Bag content | |||
Returns | 201 Created & Location | Response XML | ||
| 401 Unauthorized |
| ||
| 415 Unsupported Media Type |
|
...
Retrieve a document (Checkout)
URL |
| |
Method | GET |
|
Returns | 200 OK & XML or other content | XML or binary content of the document |
| 401 Unauthorized |
|
| 404 Not Found |
|
...
Retrieve (references to) one or more documents: (like getUUIDs function in docstore)
URL |
| |
Method | GET |
|
Query string | category= |
|
Returns | 200 OK and XML | Response xml with start, end, and next(url) fields |
| 401 Unauthorized |
|
| 404 Not Found |
|
Retrieve one or more documents with binary content (PDF, DOC etc)
URL |
| |
Method | GET |
|
Query string | requestContent= | Request XML |
Returns | 201 Created & Location | Bag content with response.xml and content files (PDF, DOC etc) |
| 401 Unauthorized |
|
| Response content type: text/xml | |
| 401 Unauthorized |
|
| 415 Unsupported Media Type |
|
...
If the specified document does not exist, it is not created by this command.
Modify a document:
URL |
| |
Method | PUT |
|
Request | XML | Request XML |
Returns | 200 OK and response XML | Response XML |
| 401 Unauthorized |
|
| 404 Not Found |
|
| 415 Unsupported Media Type |
|
by this command.
Modify one or more documents:
URL |
| |
Method | PUT |
|
Request Body | Request XML Request XML |
|
Returns | 200 OK and response | Response XML |
| 401 Unauthorized |
|
| 404 Not Found |
|
| 415 Unsupported Media Type |
|
Modify one or more documents with binary content (PDF, DOC etc):
URL |
| |
Method | POST (PUT does not support multi-part request) |
|
Request Body Multi-part binary | Bag content | |
Returns | 200 OK and response | Response XML |
| 401 Unauthorized |
|
| 404 Not Found |
|
| 415 Unsupported Media Type |
|
6.4 Delete
Delete a document:
URL |
| ||
Method | DELETE |
| |
Returns | 204 No Content | 200 OK and response | Response XML |
| 401 Unauthorized |
| |
| 404 Not Found |
| |
| 415 Unsupported Media Type |
|
Delete one or more documents
URL |
| |
Method | DELETE |
|
Request Body | Request XML Request XML |
|
Returns | 200 OK and response | Response XML |
| 401 Unauthorized |
|
| 404 Not Found |
|
| 415 Unsupported Media Type |
|
...