Content

Download a file

There are a few ways to download a file.

First of all, you can send a HTTP GET request with the unique identifier of the element.

Resource URL: https://repository.ortolang.fr/api/content/key/{key}
Postman collection: Content.postman_collection.json

The second way is with the workspace alias, the workspace version and the path to the element.

For example, with

  • workspace alias: tcof
  • workspace version: 2
  • path: /Corpus/Ag/ag.wav

you obtain the file with the URL: https://repository.ortolang.fr/api/content/tcof/2/Corpus/Ag/ag.wav

Resource URL: https://repository.ortolang.fr/api/content/{alias}/{root}/{path}