Skip to main content

Get a topic

GET 

/topics/:id

Returns a topic based on its ID.

Cost: 1 credit per call.

Request

Path Parameters

    id int32required

    Possible values: >= 1 and <= 2147483647

    The topic's id.

Header Parameters

    X-Exorde-Api-Version stringrequired

    Possible values: [v1]

    The API version.

Responses

OK

Schema
    topic objectrequired

    A Topic resource.

    id int32required

    Possible values: >= 1 and <= 2147483647

    The topic ID.

    name stringrequired

    The topic name.

    categories object[]required

    Possible values: >= 1

    The list of categories associated to the topic.

  • Array [
  • id int32required

    Possible values: >= 1 and <= 2147483647

    The category ID.

    name stringrequired

    The category name.

  • ]
  • keywords object[]required

    Possible values: >= 1

    The list of keywords associated to the topic.

  • Array [
  • label stringrequired

    The keyword label.

    language stringrequired

    Possible values: [en, zh, ja, ar, hi, ko, th, vi, ru, tr, es, fr, de, fa]

    The keyword language.

  • ]
  • status objectrequired
    cost int32required

    Number of credits that were consumed for this request.

    apiDeprecationNotice object

    Deprecation notice of the API.

    message stringrequired

    A message that tells when the API version will be shut down.

    shutdownDate date-timerequired

    The date of removal of the API version, UTC date-time without timezone using RFC3339 format.

Loading...