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 format corresponding to the uploaded file. Possible values are text/csv for CSV vocabularies, and application/rdf%2Bxml for RDF vocabularies. Using the wrong format value can return an incomplete file. |
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.