projects/{pid}/workflows/{did}/attachments/{locale}
Lists all attachments associated with a specific document (workflow). Users can attach both files and folders to a workflow in any project language.
URL
(GET) /api/projects/{pid}/workflows/{did}/attachments/{locale}
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 |
RESULTS
The JSON result includes a list of attached files and folders. In the example below, we see 2 files and 1 folder:
[
{
"name": "instructions.html",
"folder": false,
"date": "2024-03-28T09:41:03.0291708Z",
"size": 4368
},
{
"name": "supplement\\Additional Content.html",
"folder": false,
"date": "2024-03-28T09:41:03.0291708Z",
"size": 2268
},
{
"name": "supplement",
"folder": true,
"date": "2024-03-28T10:36:03.401092Z",
"size": null
}
]
Â
The properties are:
name: File or folder name
folder: False if a file. True if a folder.
date: Date of last modification.
size: Size in bytes
Â
Â
Copyright Wordbee - Buzzin' Outside the Box since 2008