Given a documentID
returns the corresponding document wrapper as a JSON object from the MongoDB backend.
- Query Param:
apiKey
,string
- Query Param:
documentID
,string
Content-Type: application/json
200 OK
Response Body: (A JSON Object
)
400 Bad Request
Response Body: (error message
) If documentID
is not provided.
403 Forbidden
404 Not Found
Response Body: (error message
) If the provided documentID
does not match any record.
500 Internal Server Error
Response Body: (error message
)