XISUITEDokumentation

Attachments

11 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1

List centralized attachments for an entity#

GET/attachmentsToken

Parameter

NameOrtTypBeschreibung
entityTypePflichtQuerystring

Werte: taskprocesswiki_pageasset_itemspace_gdpr_recordsupport_requestasset_objectchat_message

entityIdPflichtQuerystring–
spaceIdQuerystring

Accepted for legacy frontend compatibility only. The backend resolves the trusted space from the parent entity.

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/attachments" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Upload or version a centralized attachment#

POST/attachmentsToken

Request-Bodymultipart/form-dataUploadAttachmentDto

NameTypBeschreibung
entity_typePflichtstring

Werte: taskprocesswiki_pageasset_itemspace_gdpr_recordsupport_requestasset_objectchat_message

entity_idPflichtstring–
space_idstring

Accepted for legacy frontend compatibility only. The backend resolves the trusted space from the parent entity.

commentstring–

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/attachments" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -F "file=@./datei.pdf"

Get an attachment with version history#

GET/attachments/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/attachments/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Delete an attachment and all versions#

DELETE/attachments/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/attachments/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Check in an attachment#

POST/attachments/{id}/checkinToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/attachments/{id}/checkin" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Check out an attachment#

POST/attachments/{id}/checkoutToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonCheckoutAttachmentDto

NameTypBeschreibung
noteobject–

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/attachments/{id}/checkout" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"note":{}}'

Message the current checkout owner#

POST/attachments/{id}/checkout-messageToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Request-Bodyapplication/jsonCheckoutMessageDto

NameTypBeschreibung
messagePflichtstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/attachments/{id}/checkout-message" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"message":"…"}'

Redirect to a short-lived signed download URL#

GET/attachments/{id}/downloadToken

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–
inlineQuerystring

Werte: 1

vQuerynumber–

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/attachments/{id}/download" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
GET/attachments/file-linksToken

Parameter

NameOrtTypBeschreibung
entityTypePflichtQuerystring

Werte: taskprocesswiki_pageasset_itemspace_gdpr_recordsupport_requestasset_objectchat_message

entityIdPflichtQuerystring–
spaceIdQuerystring

Accepted for legacy frontend compatibility only. The backend resolves the trusted space from the parent entity.

Antworten

  • 200OK
Beispiel (cURL)
curl -X GET "https://xapi.ambertech.cloud/api/v1/attachments/file-links" \
  -H "Authorization: Bearer $XISUITE_TOKEN"

Link a File Explorer item to an entity#

POST/attachments/file-linksToken

Request-Bodyapplication/jsonCreateEntityFileLinkDto

NameTypBeschreibung
entity_typePflichtstring

Werte: taskprocesswiki_pageasset_itemspace_gdpr_recordsupport_requestasset_objectchat_message

entity_idPflichtstring–
node_idPflichtstring–

Antworten

  • 201Erstellt
Beispiel (cURL)
curl -X POST "https://xapi.ambertech.cloud/api/v1/attachments/file-links" \
  -H "Authorization: Bearer $XISUITE_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"entity_type":"task","entity_id":"…","node_id":"…"}'
DELETE/attachments/file-links/{id}Token

Parameter

NameOrtTypBeschreibung
idPflichtPfadstring–

Antworten

  • 200OK
Beispiel (cURL)
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/attachments/file-links/{id}" \
  -H "Authorization: Bearer $XISUITE_TOKEN"
Stand: 25. Oktober 2026© 2026 XISUITE · AmberTech Solutions