projects/{pid}/workflows/{did}/attachments/{locale}/file (POST)

Use this to upload an attachment to a specific workflow.

URL

(POST) /api/projects/{pid}/workflows/{did}/attachments/{locale}/file

PARAMETERS

The URL parameters are:

pid

The project ID

int, Mandatory

did

The document ID

int, Mandatory

locale

Source or target language code

string, Mandatory

filename

The file to download. Include any folders. Example:

Instructions/Readme.docx

Or the equivalent:

Instructions\\Readme.docx

string, Mandatory

The body must be a JSON object with these properties:

token

First use API https://wordbee.atlassian.net/wiki/spaces/API2/pages/491918 to upload a file to the system. The method returns the token to be included here.

If you need to upload multiple files to get multiple tokens, use the multi-upload: https://wordbee.atlassian.net/wiki/spaces/API2/pages/2591850497

string, Mandatory

name

Set the file name including folders. Examples:

string, Mandatory

RESULTS

Returns detailed information about the uploaded file. Example:

 

 

 

Copyright Wordbee - Buzzin' Outside the Box since 2008