Добавить столбцы
Request
POST
https://api.wiki.yandex.net/v1/grids/{idx}/columns
Path parameters
|
Name |
Description |
|
idx* |
Type: string<uuid4> |
Body
application/json
{
"revision": "string",
"position": 0,
"columns": [
{
"id": "string",
"slug": "string",
"title": "string",
"type": "string",
"required": false,
"width": 0,
"width_units": "%",
"pinned": "left",
"color": "blue",
"multiple": false,
"format": "yfm",
"ticket_field": "assignee",
"select_options": [
"string"
],
"mark_rows": false,
"description": "string"
}
]
}
|
Name |
Description |
|
columns* |
Type: NewColumnSchema[] |
|
position |
Type: integer |
|
revision |
Type: string |
NewColumnSchema
|
Name |
Description |
|
required* |
Type: boolean |
|
slug* |
Type: string |
|
title* |
Type: string Min length: Max length: |
|
type* |
Type: ColumnType An enumeration. Enum: |
|
color |
Type: BGColor An enumeration. Enum: |
|
description |
Type: string Описание Max length: |
|
format |
Type: TextFormat Только для Enum: |
|
id |
Type: string |
|
mark_rows |
Type: boolean Только для |
|
multiple |
Type: boolean Только для |
|
pinned |
Type: ColumnPinTypes An enumeration. Enum: |
|
select_options |
Type: string[] Только для |
|
ticket_field |
Type: TicketField Только для Enum: |
|
width |
Type: integer |
|
width_units |
Type: WidthUnits An enumeration. Enum: |
ColumnType
An enumeration.
|
Type |
Description |
|
Enum: |
BGColor
An enumeration.
|
Type |
Description |
|
Enum: |
TicketField
An enumeration.
|
Type |
Description |
|
Enum: |
Responses
200 OK
OK
Body
application/json
{
"revision": "string"
}
|
Name |
Description |
|
revision |
Type: string |
No longer supported, please use an alternative and newer version.