Skip to content

Sync a created attachment

Request

Marks an upload as complete, and verifies its existence on the CDN.

This endpoint returns structured Attachment objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the attachments top-level JSON key. Please see our Response Format section for more information.

Path
idintegerrequired

The ID of the Model.

curl -i -X PUT \
  'https://api.mavenlink.com/api/v1/attachments/{id}/sync'

Responses

Attachment has been updated.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
attachmentsobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "attachments": { "property1": { "created_at": "2019-08-24T14:15:22Z", "creator_name": "string", "deletable": true, "deleted_at": "2019-08-24T14:15:22Z", "filename": "string", "filesize": 0, "previewable": true, "updated_at": "2019-08-24T14:15:22Z", "url": "string", "view_in_new_tab": true }, "property2": { "created_at": "2019-08-24T14:15:22Z", "creator_name": "string", "deletable": true, "deleted_at": "2019-08-24T14:15:22Z", "filename": "string", "filesize": 0, "previewable": true, "updated_at": "2019-08-24T14:15:22Z", "url": "string", "view_in_new_tab": true } } }

Sync a created attachment

Request

Marks an upload as complete, and verifies its existence on the CDN.

This endpoint returns structured Attachment objects. As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the results array and will be indexed by ID in the attachments top-level JSON key. Please see our Response Format section for more information.

Path
idintegerrequired

The ID of the Model.

curl -i -X PUT \
  'https://api.mavenlink.com/api/v1/attachments/{id}/sync'

Responses

Attachment has been updated.

Bodyapplication/json
countinteger, (int32)
metaobject
resultsArray of objects
attachmentsobject
Response
{ "count": 0, "meta": { "count": 0, "page_count": 0, "page_number": 0, "page_size": 0 }, "results": [ { "key": "string", "id": "string" } ], "attachments": { "property1": { "created_at": "2019-08-24T14:15:22Z", "creator_name": "string", "deletable": true, "deleted_at": "2019-08-24T14:15:22Z", "filename": "string", "filesize": 0, "previewable": true, "updated_at": "2019-08-24T14:15:22Z", "url": "string", "view_in_new_tab": true }, "property2": { "created_at": "2019-08-24T14:15:22Z", "creator_name": "string", "deletable": true, "deleted_at": "2019-08-24T14:15:22Z", "filename": "string", "filesize": 0, "previewable": true, "updated_at": "2019-08-24T14:15:22Z", "url": "string", "view_in_new_tab": true } } }