Topics

post/api/v2/topics

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

namestring required

name of the topic

schemaType'JSD7' | 'XML' | 'XSD6' | 'CSV' | 'TSV' required

schema type of the topic

schemastring required

schema of the topic

versionstring required

version of the topic

ownerstring required

owner of the topic

tagsstring[] required

tags of the topic

Example request

{
  "name": "Topic_JSON_V12",
  "schemaType": "JSD7",
  "schema": "{\"type\":\"object\",\"properties\":{\"data\":{\"type\":\"number\"}}}",
  "version": "1.0.9",
  "owner": "torta.apps.eggplant.vege.iam.ewc"
}

Response

Topic successfully created

idstring required

id of the topic

namestring required

name of the topic

schemaType'JSD7' | 'XML' | 'XSD6' | 'CSV' | 'TSV' required

schema type of the topic

schemastring required

schema of the topic

versionstring required

version of the topic

ownerstring required

owner of the topic

tagsstring[] required

tags of the topic

Example response

{
  "id": "62545547fe37f174d7715ff3",
  "name": "Topic_JSON_V12",
  "schemaType": "JSD7",
  "schema": "{\"type\":\"object\",\"properties\":{\"data\":{\"type\":\"number\"}}}",
  "version": "1.0.9",
  "owner": "torta.apps.eggplant.vege.iam.ewc"
}

Changes

No recorded changes to this operation across all 46 revisions of this API.