Documents
Route: documents Description: Projects Documents
Endpoints
Download Document
Gets a temporary signed url for downloading a document
Endpoint
https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/getTemporarySignedUrl
Parameters (Array)
Index | Name | Description | Type |
---|---|---|---|
0 | doc | The document record | DocumentRecord |
1 | expires | The expiration date | Date |
Returns
- results - String
Example
curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
{
"tags": []
},
"2024-11-10T10:42:52.922Z"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/getTemporarySignedUrl"
Load Document By Logical Path
Load the record by logical path
Endpoint
https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/loadByLogicalPath
Parameters (Array)
Index | Name | Description | Type |
---|---|---|---|
0 | logicalPath | The logical path of the document | String |
Returns
- results - DocumentRecord
Example
curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"logicalPath"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/documents/loadByLogicalPath"