Get the attachments for an object by object ID.
string
RequiredReturns the attachments for the object
1
2
3
curl --request GET \
--url 'http://{baseurl}/rest/assets/1.0/attachments/object/{objectId}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
{
"id": 2154,
"author": "<string>",
"mimeType": "<string>",
"filename": "<string>",
"filesize": "<string>",
"created": "<string>",
"comment": "<string>",
"commentOutput": "<string>",
"url": "<string>"
}
Add an attachment to an object by object ID.
string
RequiredReturns the attachments for the object
1
2
3
curl --request POST \
--url 'http://{baseurl}/rest/assets/1.0/attachments/object/{objectId}' \
--header 'Accept: application/json'
1
2
3
4
5
6
7
8
9
10
11
{
"id": 2154,
"author": "<string>",
"mimeType": "<string>",
"filename": "<string>",
"filesize": "<string>",
"created": "<string>",
"comment": "<string>",
"commentOutput": "<string>",
"url": "<string>"
}