Добавить строки

Request

POST

https://api.wiki.yandex.net/v1/grids/{idx}/rows

Path parameters

Name

Description

idx*

Type: string<uuid4>

Body

application/json
{
    "revision": "string",
    "position": 0,
    "after_row_id": "string",
    "rows": [
        {}
    ]
}

Name

Description

rows*

Type: object[]

after_row_id

Type: string

position

Type: integer

revision

Type: string

Responses

200 OK

OK

Body

application/json
{
    "revision": "string",
    "results": [
        {
            "id": "string",
            "row": [
                null
            ],
            "pinned": false,
            "color": "blue"
        }
    ]
}

Name

Description

revision*

Type: string

results

Type: GridRowSchema[]

GridRowSchema

Name

Description

id*

Type: string

row*

Type: any[]

color

Type: BGColor

An enumeration.

Enum: blue, yellow, pink, red, green, mint, grey, orange, magenta, purple, copper, ocean

pinned

Type: boolean

BGColor

An enumeration.

Type

Description

BGColor

Enum: blue, yellow, pink, red, green, mint, grey, orange, magenta, purple, copper, ocean

No longer supported, please use an alternative and newer version.