docs: generate API reference for 2.10.3 (#13548)
* docs: generate API reference for 2.10.3 * fix curl example
This commit is contained in:
@@ -0,0 +1,119 @@
|
||||
/**
|
||||
* @schema AdminColumn
|
||||
* type: object
|
||||
* description: The details of a column in a view configuration.
|
||||
* x-schemaName: AdminColumn
|
||||
* required:
|
||||
* - id
|
||||
* - name
|
||||
* - field
|
||||
* - sortable
|
||||
* - hideable
|
||||
* - default_visible
|
||||
* - data_type
|
||||
* properties:
|
||||
* id:
|
||||
* type: string
|
||||
* title: id
|
||||
* description: The column's ID.
|
||||
* name:
|
||||
* type: string
|
||||
* title: name
|
||||
* description: The column's name. This is displayed in the view header.
|
||||
* description:
|
||||
* type: string
|
||||
* title: description
|
||||
* description: The column's description.
|
||||
* field:
|
||||
* type: string
|
||||
* title: field
|
||||
* description: The column's field in the entity.
|
||||
* sortable:
|
||||
* type: boolean
|
||||
* title: sortable
|
||||
* description: Whether the column is sortable.
|
||||
* hideable:
|
||||
* type: boolean
|
||||
* title: hideable
|
||||
* description: Whether the column is hideable.
|
||||
* default_visible:
|
||||
* type: boolean
|
||||
* title: default_visible
|
||||
* description: Whether the column is visible by default.
|
||||
* data_type:
|
||||
* type: string
|
||||
* description: The data type of the column's value.
|
||||
* enum:
|
||||
* - string
|
||||
* - number
|
||||
* - boolean
|
||||
* - object
|
||||
* - date
|
||||
* - currency
|
||||
* - enum
|
||||
* semantic_type:
|
||||
* type: string
|
||||
* title: semantic_type
|
||||
* description: The column's semantic type. It can be `computed`, or other primitive types.
|
||||
* context:
|
||||
* type: string
|
||||
* title: context
|
||||
* description: The column's context. It can be `display` or `generic`.
|
||||
* computed:
|
||||
* type: object
|
||||
* description: A computed column's details. Only available if the column's `semantic_type` is `computed`.
|
||||
* required:
|
||||
* - type
|
||||
* - required_fields
|
||||
* - optional_fields
|
||||
* properties:
|
||||
* type:
|
||||
* type: string
|
||||
* title: type
|
||||
* description: The computed's type for rendering.
|
||||
* required_fields:
|
||||
* type: array
|
||||
* description: The required fields in the computed column.
|
||||
* items:
|
||||
* type: string
|
||||
* title: required_fields
|
||||
* description: A required field in the computed column.
|
||||
* optional_fields:
|
||||
* type: array
|
||||
* description: The optional fields in the computed column.
|
||||
* items:
|
||||
* type: string
|
||||
* title: optional_fields
|
||||
* description: An optional field in the computed column.
|
||||
* relationship:
|
||||
* type: object
|
||||
* description: The relationship details. Only available for relationship columns.
|
||||
* required:
|
||||
* - entity
|
||||
* - field
|
||||
* properties:
|
||||
* entity:
|
||||
* type: string
|
||||
* title: entity
|
||||
* description: The related entity.
|
||||
* field:
|
||||
* type: string
|
||||
* title: field
|
||||
* description: The field in the related entity.
|
||||
* default_order:
|
||||
* type: number
|
||||
* title: default_order
|
||||
* description: The column's sort order in the default view configuration.
|
||||
* category:
|
||||
* type: string
|
||||
* description: The column's category.
|
||||
* enum:
|
||||
* - status
|
||||
* - metadata
|
||||
* - identifier
|
||||
* - timestamp
|
||||
* - metric
|
||||
* - relationship
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user