Digital Assets are file uploads that are included as Action evidence, notes and attachments.
POST da/document
Upload an image that will be pushed to our content delivery network (CDN).
https:// [host] / da / document
| Example |
Use the param name fp to identify the file pointer.
curl --request POST \ --url https://hostname/da/document \ --header 'content-type: Content-Type: multipart/form-data' \ --header 'x-auth-token: 555-555-1212' \ --header 'x-auth-user: joe.user' \ -F 'fp=@/path/to/your/file.pdf' |
| fp | The file pointer. |
POST da/image
Upload an image that will be pushed to our content delivery network (CDN).
https:// [host] / da / image
| Example |
Use the param name fp to identify the file pointer.
curl --request POST \ --url https://hostname/da/image \ --header 'content-type: Content-Type: multipart/form-data' \ --header 'x-auth-token: 555-555-1212' \ --header 'x-auth-user: joe.user' \ -F 'fp=@/path/to/your/file.jpg' |
| fp | The file pointer. |
GET da/image
Get image attributes for a given daid.
https:// [host] / da / image / daid
| Example |
Use the numeric daid to retrieve asset detail.
curl --request GET \ --url https://hostname/da/image/12345 \ --header 'content-type: Content-Type: multipart/form-data' \ --header 'x-auth-token: 555-555-1212' \ --header 'x-auth-user: joe.user' |