GET /nouns/search/{id}

Get details of a specific gendered noun by its ID.

Path parameters

  • id integer Required

    The ID of the gendered noun.

Responses

  • 200 application/json

    A JSON object representing the gendered noun

    Hide response attributes Show response attributes object
    • id string Required
    • key string Required
    • words object Required
      Hide words attributes Show words attributes object
      • masc object
        Hide masc attributes Show masc attributes object
        • plural array[string]
        • singular array[string]
      • fem object
        Hide fem attributes Show fem attributes object
        • plural array[string]
        • singular array[string]
      • neutr object
        Hide neutr attributes Show neutr attributes object
        • plural array[string]
        • singular array[string]
    • classInstance string | null
    • categories array[string] Required

      Values are noun, verb, adverb, adjective, preposition, conjunction, interjection, determiner, pronoun, article, or other.

    • sources array[string] Required
    • approved boolean Required
    • base string | null
    • author string Required
    • sourcesData array[object]
      Hide sourcesData attributes Show sourcesData attributes object
      • id string Required
      • locale string Required
      • pronouns string Required
      • type string Required

        Values are Book, Article, or Website.

      • author string Required
      • title string Required
      • extra string Required
      • year integer Required
      • fragments string Required
      • comment string | null
      • submitter_id string Required
      • approved integer Required

        Values are 0 or 1.

      • deleted integer Required

        Values are 0 or 1.

      • base_id string | null
      • key string | null
      • images string | null
      • spoiler integer

        Values are 0 or 1.

      • submitter string Required
      • versions array[string | null]
  • 404 application/json

    Noun 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 /nouns/search/{id}
curl \
 --request GET 'https://pronouns.page/api/nouns/search/{id}'
Response examples (200)
{
  "id": "01JBXS13H8311MFPJYEXCPFZZJ",
  "key": "(un)manned",
  "base": null,
  "words": {
    "fem": {
      "singular": [
        "(un)womanned"
      ]
    },
    "masc": {
      "singular": [
        "(un)manned"
      ]
    },
    "neutr": {
      "singular": [
        "(un)attended",
        "(un)crewed",
        "(un)piloted",
        "(un)armed",
        "(un)staffed",
        "(un)occupied"
      ]
    }
  },
  "author": "tymk",
  "sources": [
    null
  ],
  "approved": true,
  "categories": [
    "adjective"
  ],
  "sourcesData": [
    null
  ],
  "classInstance": null
}
Response examples (404)
{
  "error": "Noun not found"
}
Response examples (500)
{
  "error": "Internal server error"
}