> ## Documentation Index
> Fetch the complete documentation index at: https://api.tipee.ch/llms.txt
> Use this file to discover all available pages before exploring further.

# Show

> Retrieves a specific kind with its attributes. Regarding attributes, while using 'api/directory/resources.list', 'searchable' refers to whether you can apply a filter to it or not (according to the filter type) and 'sortable' refers to 'orders'.



## OpenAPI

````yaml preview post /api/directory/kinds.show
openapi: 3.1.0
info:
  title: tipee
  version: preview
servers: []
security:
  - basicAuth: []
tags:
  - name: Activity
    description: Activity
  - name: Balances
    description: Balances
  - name: Directory
    description: Directory
  - name: Schedule
    description: Schedule
  - name: Timeclock
    description: Timeclock
paths:
  /api/directory/kinds.show:
    post:
      tags:
        - Directory
      summary: Show
      description: >-
        Retrieves a specific kind with its attributes. Regarding attributes,
        while using 'api/directory/resources.list', 'searchable' refers to
        whether you can apply a filter to it or not (according to the filter
        type) and 'sortable' refers to 'orders'.
      operationId: post_app_ui_api_directory_directoryquery_kindsshow
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShowKindQuery'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/KindView'
components:
  schemas:
    ShowKindQuery:
      required:
        - id
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
      type: object
    KindView:
      required:
        - id
        - machine_name
        - attributes
        - relation_types
        - sections
        - sorting_attribute_ids
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        machine_name:
          type: string
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/KindAttributeView'
        relation_types:
          type: array
          items:
            $ref: '#/components/schemas/KindRelationTypeView'
        sections:
          type: array
          items:
            $ref: '#/components/schemas/KindSectionView'
        sorting_attribute_ids:
          type: array
          items:
            type: string
      type: object
    Snowflake:
      type: string
      format: snowflake
      example: '872815618512410358'
    KindAttributeView:
      required:
        - attribute
        - classification_level
        - access_level
        - searchable
        - sortable
      properties:
        attribute:
          $ref: '#/components/schemas/AttributeSummaryView'
        classification_level:
          $ref: '#/components/schemas/ClassificationLevel'
        access_level:
          $ref: '#/components/schemas/AccessLevel'
        searchable:
          type: boolean
        sortable:
          type: boolean
      type: object
    KindRelationTypeView:
      required:
        - id
        - label
        - inverse_label
        - classification_level
        - access_level
        - inverse
      properties:
        id:
          $ref: '#/components/schemas/Snowflake'
        label:
          $ref: '#/components/schemas/TranslatedString'
        inverse_label:
          $ref: '#/components/schemas/TranslatedString'
        classification_level:
          $ref: '#/components/schemas/ClassificationLevel'
        access_level:
          $ref: '#/components/schemas/AccessLevel'
        inverse:
          type: boolean
      type: object
    KindSectionView:
      required:
        - id
        - label
        - classification_level
        - attribute_ids
        - relation_type_ids
      properties:
        id:
          type: string
        label:
          type: string
        classification_level:
          $ref: '#/components/schemas/ClassificationLevel'
        attribute_ids:
          type: array
          items:
            type: string
        relation_type_ids:
          type: array
          items:
            $ref: '#/components/schemas/Snowflake'
      type: object
    AttributeSummaryView:
      required:
        - id
        - content_type
        - label
        - choices
        - icon
        - type
        - format
      properties:
        id:
          type: string
        content_type:
          $ref: '#/components/schemas/ContentType'
        label:
          $ref: '#/components/schemas/TranslatedString'
        choices:
          oneOf:
            - $ref: '#/components/schemas/AttributeChoices'
            - type: 'null'
        icon:
          oneOf:
            - $ref: '#/components/schemas/AttributeIcon'
            - type: 'null'
        type:
          $ref: '#/components/schemas/AttributeType'
        format:
          oneOf:
            - $ref: '#/components/schemas/AttributeFormatType'
            - type: 'null'
      type: object
    ClassificationLevel:
      type: string
      example: unclassified
      enum:
        - unclassified
        - internal
        - confidential
        - secret
    AccessLevel:
      type: string
      example: none
      enum:
        - none
        - read-own
        - read
        - write
    TranslatedString:
      properties:
        fr:
          type: string
        en:
          type: string
        de:
          type: string
      type: object
      example:
        en: Hello
        fr: Bonjour
        de: Guten Tag
    ContentType:
      type: string
      example: text/address
      enum:
        - text/address
        - text/avs
        - boolean/plain
        - date/plain
        - date-time/plain
        - decimal/plain
        - duration/plain
        - text/email
        - enum/plain
        - id/plain
        - integer/plain
        - text/multiline
        - percentage/plain
        - text/phone
        - text/regrouping
        - text/plain
      x-enum-varnames:
        - Address
        - Avs
        - Boolean
        - Date
        - DateTime
        - Decimal
        - Duration
        - Email
        - Enum
        - Id
        - Integer
        - Multiline
        - Percentage
        - Phone
        - Regrouping
        - Text
    AttributeChoices:
      required:
        - values
        - strict
        - input_type
      properties:
        values:
          type: object
          additionalProperties:
            type: string
        strict:
          type: boolean
        input_type:
          $ref: '#/components/schemas/ChoicesInputType'
      type: object
    AttributeIcon:
      type: string
      example: email
      enum:
        - email
        - phone
        - mobile-phone
        - address
        - description
        - external-id
        - job
        - company
        - is-company
        - civility
        - first-name
        - last-name
        - joining-date
        - website
    AttributeType:
      type: string
      example: boolean
      enum:
        - boolean
        - date
        - date-time
        - decimal
        - duration
        - enum
        - id
        - int
        - percentage
        - string
    AttributeFormatType:
      type: string
      example: avs
      enum:
        - avs
        - email
        - phone
        - address
    ChoicesInputType:
      type: string
      example: select
      enum:
        - select
        - combobox
        - radio

````