Generated by API Evangelist
Written by API Evangelist tooling for Tradeshift's API. It is a proposal applied on top of the contract, not a document Tradeshift publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Tradeshift External Dx Category Documents Attachments API
version: 1.0.0
extends: openapi/tradeshift-dx-category-documents-attachments-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-24'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/rest/external/documents/{documentId}/attachments'].get
update:
x-apievangelist-phrasing:
intent: List a document's attachments
effect: read
questions:
- Which files are attached to a document?
- How do I see all attachments on an external document?
instructions:
- text: List the attachments on document {documentId}.
slots:
documentId: path.documentId
- text: Show every file attached to document {documentId}.
slots:
documentId: path.documentId
method: generated
generated: '2026-11-24'
- target: $.paths['/rest/external/documents/{documentId}/attachments/{name}/content'].put
update:
x-apievangelist-phrasing:
intent: Attach a file to a document
effect: write
questions:
- How do I attach a file to an external document?
- Can I upload a new attachment to a document by name?
instructions:
- text: Attach a file named {name} to document {documentId}.
slots:
name: path.name
documentId: path.documentId
- text: Upload {name} as a new attachment on document {documentId}.
slots:
name: path.name
documentId: path.documentId
method: generated
generated: '2026-11-24'
- target: $.paths['/rest/external/documents/{documentId}/attachments/{name}/content'].delete
update:
x-apievangelist-phrasing:
intent: Remove an attachment from a document
effect: destructive
questions:
- How do I remove an outdated attachment from a document?
- Can I delete a file attachment by its name?
instructions:
- text: Remove attachment {name} from document {documentId}.
slots:
name: path.name
documentId: path.documentId
- text: Delete the {name} file attached to document {documentId}.
slots:
name: path.name
documentId: path.documentId
method: generated
generated: '2026-11-24'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.