Skip to content

Latest commit

 

History

History
33 lines (17 loc) · 668 Bytes

original-wiki-content.md

File metadata and controls

33 lines (17 loc) · 668 Bytes

Foundry API: Document Information (old)

GET dashboard/document

Given a documentID returns the corresponding document wrapper as a JSON object from the MongoDB backend.

Request

  • Query Param: apiKey, string
  • Query Param: documentID, string

Response

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)