Document
This endpoint helps to download documents that are referred under resource object of the plan report and recommendation endpoints.
GET/docs/:docId
List all documents
This endpoint allows you to retrieve a paginated list of all your groups. By default, a maximum of ten groups are shown per page.
Required attributes
- Name
docId
- Type
- string
- Description
An unique id of a document.
Request
GET
/docs/:docIdcurl https://beta-api.uprise.us/docs/f42ed07e-0c4c-4922-b6e3-ffe681fff3e7 \
-H "Authorization: Bearer {token}" \
-d {"docId":"f42ed07e-0c4c-4922-b6e3-ffe681fff3e7"}
Response
{
"id": "f42ed07e-0c4c-4922-b6e3-ffe681fff3e7",
"type": "image/png",
"name": "plan_image.png",
"content": "iVBORw0KGgoAAAANSUhEUgAABd4AAAOICAYAAADID+OCAAAMPmlDQ1BJQ0MgUHJvZmlsZQAASImVVwdYU8kWnluSkJDQAghICb0JIjWAlBBaAOndRkgChBJjIKjYkUUF14KKBWzoqohip9kRO4ti74sFFWVdLNiVNymg677yvfN9c+9//znznzPnzi0DgPpxrlici2oAkCcqkMSGBDCSU1IZpKcAAQRABTbAjMvLF7OioyMAtMHz3+3ddegN7YqDTOuf/f/VNPmCfB4ASDTE6fx8Xh7EBwDAq3liSQEARBlvPqVALMOwAW0JTBDiBTKcqcDVMpyuwHvkPvGxbIjbAFChcrmSTADULkGeUcjLhBpqfRA7ifhCEQDqDIh98/Im8SFOg9gG+oghlukz03/QyfybZvqQJpebOYQVc5GbSqAwX5zLnfZ/luN/W16udDCGFWzULElorGzOsG43cyaFyzAV4l5RemQUxFoQfxDy5f4Qo5QsaWiCwh815OWzYc2ALsROfG5gOMSGEAeLciMjlHx6hjCYAzFcIehUYQEnHmI9iBcI8oPilD4bJZNilbHQhgwJm6Xkz3Il8riyWPelOQkspf7rLAFHqY+pFWXFJ0FMgdiiUJgYCbEaxI75OXHhSp/RRVnsyEEfiTRWlr8FxLECUUiAQh8rzJAExyr9y/LyB+eLbcwSciKVeF9BVnyooj5YG48rzx/OBbskELESBnUE+ckRg3PhCwKDFHPHnglECXFKnQ/igoBYxVicIs6NVvrjZoLcEBlvBrFrfmGcciyeWAAXpEIfzxAXRMcr8sSLsrlh0Yp88KUgArBBIGAAKWzpYBLIBsKO3sZeeKXoCQZcIAGZQAAclMzgiCR5jwge40AR+BMiAcgfGhcg7xWAQsh/HWIVRweQIe8tlI/IAU8gzgPhIBdeS+WjREPREsFjyAj/EZ0LGw/mmwubrP/”
}