@See Document
Returns a document associated with the document id. The information is returned in JSON format containing document details, except for attachments.
Path Parameters :
- id (string) : Document id, UUID string.
Accept: application/json
Content-Type: application/json
Query Parameters :
Accept: application/json
Content-Type: application/json
Response JSON Object :
- _id (string) : Document id, UUID string.
- srcid (string) : Document id at source.
- title (string) : Title of the document.
- abstract (string) : First 160 characters of the document.
- source (string) : Origin of the document. Can be one of three,
WIKIPEDIA
, GUTENBERG
and , YOUTUBE
.
- attachment (list) : HTML or/and plain text.
- cdate (timestamp) : Time of creation.
- udate (timestamp) : Last update time.
Status Codes :
- 200 OK : Request completed successfully.
- 404 Not Found : Invalid document id.
- 500 Server Error : Server failed, try later.