This web service downloads a vocabulary in CSV or RDF format.
| Method | Endpoint |
|---|---|
GET |
|
| Path parameter | Type | Description |
|---|---|---|
{vocabularyId} |
String | The unique identifier of the vocabulary to be updated. |
| Query parameter | Type | Required? | Description |
|---|---|---|---|
format |
String | Yes | The desired format of the downloaded file. Possible values are text/csv and application/rdf+xml. |
It is necessary to provide an Ft-Calling-App value when using Fluid Topics web services. See Fluid Topics calling app.
Request example
/api/admin/khub/vocabularies/{vocabularyId}/content?format=text/csv
| Return code | Description |
|---|---|
200 OK |
The request is valid and the downloaded file is available. |
401 UNAUTHORIZED |
The authorization header was not provided or is invalid. |
403 FORBIDDEN |
The user not have the ADMIN or KHUB_ADMIN role. |
404 NOT FOUND |
The vocabulary does not exist. |
For a list of all possible return codes, see Return codes.