Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Get list of files attached to the flex file. Files are saved into the project source folder where the Flex document was created. However, it is also possible to save files for each of the target locales. The latter could e.g. be used for deliverables but you can also store those into the source folder.

See example at the bottom.

URL

(GET) /api/apps/wbflex/documents/{id}/files

...

id

Specify either a document ID (such as 1000) or a job ID (such as c300).

Mandatory, string
localeOptional. Files can be saved with the document in the source locale folder (default) or any of the target locales.Optional, string


RESULTS

An array with any files that accompany the flex document. These are files saved to the same folder as the flex file in the project library (under the source language).

...

Code Block
[
    {
        "name": "Software-documentation.docx",
        "date": "2019-05-17T12:44:38.8070208Z",
        "size": 32561
    },
    {
        "name": "Software\\Instructions.docx",
        "date": "2019-05-21T14:00:21.9765485Z",
        "size": 1634084
    }
]


Example of an English Flex document with an attached sub folder and an instructions file. These data are stored in the project:

Image Added


Here we attached a file to the German target language:

Image Added