Skip to main content
POST
/
api
/
directory
/
kinds.show
Show kind
curl --request POST \
  --url https://api.example.com/api/directory/kinds.show \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "872815618512410358"
}
'
{
  "id": "872815618512410358",
  "machine_name": "<string>",
  "attributes": [
    {
      "attribute": {
        "id": "<string>",
        "label": {
          "en": "Hello",
          "fr": "Bonjour",
          "de": "Guten Tag"
        },
        "type": "boolean",
        "choices": {
          "values": {},
          "strict": true,
          "input_type": "select"
        },
        "format": "avs",
        "icon": "email"
      },
      "classification_level": "unclassified",
      "access_level": "none",
      "searchable": true,
      "sortable": true,
      "show_in_panel": true
    }
  ],
  "relation_types": [
    {
      "id": "872815618512410358",
      "label": {
        "en": "Hello",
        "fr": "Bonjour",
        "de": "Guten Tag"
      },
      "inverse_label": {
        "en": "Hello",
        "fr": "Bonjour",
        "de": "Guten Tag"
      },
      "classification_level": "unclassified",
      "access_level": "none",
      "inverse": true
    }
  ],
  "sections": [
    {
      "id": "<string>",
      "label": "<string>",
      "classification_level": "unclassified",
      "attribute_ids": [
        "<string>"
      ],
      "relation_type_ids": [
        "872815618512410358"
      ]
    }
  ],
  "sorting_attribute_ids": [
    "<string>"
  ],
  "permissions": {
    "can_manage": true,
    "can_create": true,
    "can_import": true,
    "can_export": true
  }
}

Body

application/json
id
string<snowflake>
required
Example:

"872815618512410358"

Response

200 - application/json
id
string<snowflake>
required
Example:

"872815618512410358"

machine_name
string
required
attributes
object[]
required
relation_types
object[]
required
sections
object[]
required
sorting_attribute_ids
string[]
required
permissions
object
required