GET /terms/search/{id}

Get details of a specific terminology definition by its ID.

Path parameters

  • id integer Required

    The ID of the terminology definition.

Responses

  • 200 application/json

    A JSON object representing the terminology definition

    Hide response attributes Show response attributes object
    • id string Required
    • term string Required
    • original string Required
    • definition string Required
    • locale string Required
    • approved integer Required

      Values are 0 or 1.

    • base_id string | null Required
    • author_id string Required
    • deleted integer Required

      Values are 0 or 1.

    • flags array[string] Required
    • category string Required
    • images string Required
    • key string Required
    • author string Required
    • versions array[object]
      Hide versions attributes Show versions attributes object
      • id string Required
      • term string Required
      • original string Required
      • definition string Required
      • locale string Required
      • approved integer Required

        Values are 0 or 1.

      • base_id string | null Required
      • author_id string Required
      • deleted integer Required

        Values are 0 or 1.

      • flags array[string] Required
      • category string Required
      • images string Required
      • key string Required
      • author string Required
  • 404 application/json

    Term not found

    Hide response attribute Show response attribute object
    • error string
  • 500 application/json

    Internal server error

    Hide response attribute Show response attribute object
    • error string
GET /terms/search/{id}
curl \
 --request GET 'https://pronouns.page/api/terms/search/{id}'
Response examples (200)
{
  "id": "01K2FVW0TRKB02HB3JQJZTG5G4",
  "key": "aspec",
  "term": "A-spectrum|aspec",
  "flags": [
    null
  ],
  "author": "Annastarlight",
  "images": "01HKEAQJME4R6S7KBSRYJ00ASC,01F8JVNH9FH9DKCJDW1R5J7B0E,01K2FVVR8BQF6S2A2TV4GG68B6,01K2FVVSBGTBNZH85FR7TPDB2S,01K2FVVSWJ2A96WHHSBKSBECXB,01K2FVVWNT1W830F172W996RCG,01K2FVVWV6H91ZDDJ2C9S1J8V6,01K2FVVX0AJ1XERT6F4032P23S,01K2FVVX3K6EMW5C5D6Q06BATP,01K2FVVX6VDEV7PPSQMB8K0G3Z",
  "locale": "en",
  "base_id": null,
  "deleted": 0,
  "approved": 1,
  "category": "sexual orientation,romantic orientation,tertiary orientation",
  "original": "{Asexual}|{Aromantic}",
  "versions": [
    {
      "id": "01FCTYYEYASZ6WJHXQ25S4Q5J5",
      "key": "aspec",
      "term": "A-spektrum, aspek",
      "flags": [
        null
      ],
      "author": "szymon",
      "images": "01EX5FA37QHQCEEBBC0W889ZEH,01F8JVNH9FH9DKCJDW1R5J7B0E",
      "locale": "pl",
      "base_id": null,
      "deleted": 0,
      "approved": 1,
      "category": "orientacja seksualna,orientacja romantyczna",
      "original": "ang. a-spectrum, aspec",
      "author_id": "01EP5KZNBCCAD2024012HFMCR3",
      "definition": "termin zbiorczy obejmujący {#Spektrum aromantyczności=spektrum aromantyczności} i {#Spektrum aseksualności=spektrum aseksualności}.\nUżywanie go do opisywania wyłącznie spektrum aseksualności jest błędne i prowadzi do {#Wymazywanie aromantyczności=wymazywania aromantyczności}.\nNa {https://sapphic-squirrel.tumblr.com/post/189130109062/hello-everyone-i-want-to-present-a-community-flag=alternatywnej wersji flagi} znajduje się aloes."
    }
  ],
  "author_id": "01GFNSEW85S3M7YBQGZ4CGF8YF",
  "definition": "an umbrella term referring to the {aromantic spectrum} and the {asexual spectrum} as well as other types of anattractional identities such as aplatonic or nonaesthetic. It may also sometimes be used to refer to other spectrums that begin with A such as agender. Using it only with reference to asexuality is mistaken and leads to {aromantic erasure}."
}
Response examples (404)
{
  "error": "Term not found"
}
Response examples (500)
{
  "error": "Internal server error"
}