Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URL

http://localhost:8080/ oledocstore/documents

 

Method

POST

 

Request body

XML

Request XML

Returns

201 Created & Location

Response XML
Need to add "Location" field for each document in response xml

 

401 Unauthorized

 

 

415 Unsupported Media Type

 

Create a one or more documents with binary content (PDF, DOC etc)

...

URL

http://localhost:8080/ oledocstore/documents/[uuid]

 

Method

GET

 

Returns

200 OK & XML or other content

XML or binary content of the document

 

401 Unauthorized

 

 

404 Not Found

 

Q: How to handle authentication? (identification of user)Do we need to identify the user who initiated this request?

Retrieve (references to) one or more documents: (like getUUIDs function in docstore)

...