8min
Retrieve a Document By Id
Get a single document by _id. This command will return the full JSON document identified by the URL _id parameter.
- appname - string - the name of your hyper cloud application.
- servicename - string - the name of your hyper cloud service.
- _id - string - unique document identifier
Don't forget!
Be sure to set your HYPER environment variable with the value of your hyper app's connection string.
Node.js
Curl
|
Status Code | Description | Example Response |
200 | Successfully retrieved document | {...} |
404 | Not Found | {"ok": false, "msg": "not found"} |
500 | Error | {"ok": false, "msg": "server error occured"} |
Need Help?
You can always reach out to our support team for any additional assistance on slack.