Добавить строки
Request
POST
https://api.wiki.yandex.net/v1/grids/{idx}/rows
Path parameters
|
Name |
Description |
|
idx |
Type: string<uuid4> Example: `` |
Body
application/json
{
"revision": "example",
"position": 0,
"after_row_id": "example",
"rows": [
{}
]
}
|
Name |
Description |
||
|
rows |
Type: object[]
Example
|
||
|
after_row_id |
Type: string Example: |
||
|
position |
Type: integer |
||
|
revision |
Type: string Example: |
UserIdentityExtended
|
Name |
Description |
|
cloud_uid |
Type: string Example: |
|
uid |
Type: string Example: |
|
username |
Type: string Example: |
Example
{
"uid": "example",
"cloud_uid": "example",
"username": "example"
}
Responses
200 OK
OK
Body
application/json
{
"revision": "example",
"results": [
{
"id": "example",
"row": [
0
],
"pinned": true,
"color": "blue"
}
]
}
|
Name |
Description |
|
revision |
Type: string Example: |
|
results |
Type: GridRowSchema[] Example
|
TicketSchema
|
Name |
Description |
|
key |
Type: string Example: |
|
resolved |
Type: boolean |
Example
{
"key": "example",
"resolved": true
}
UserIdentity
|
Name |
Description |
|
cloud_uid |
Type: string Example: |
|
uid |
Type: string Example: |
Example
{
"uid": "example",
"cloud_uid": "example"
}
UserSchema
|
Name |
Description |
|
display_name |
Type: string Example: |
|
id |
Type: integer |
|
is_dismissed |
Type: boolean |
|
username |
Type: string Example: |
|
identity |
Type: UserIdentity Example
|
Example
{
"id": 0,
"identity": {
"uid": "example",
"cloud_uid": "example"
},
"username": "example",
"display_name": "example",
"is_dismissed": true
}
UnresolvedUserSchema
|
Name |
Description |
|
identity |
Type: UserIdentity Example
|
|
username |
Type: string Example: |
Example
{
"username": "example",
"identity": {
"uid": "example",
"cloud_uid": "example"
}
}
TrackerEnumField
|
Name |
Description |
|
display |
Type: string Example: |
|
key |
Type: string Example: |
Example
{
"display": "example",
"key": "example"
}
BGColor
An enumeration.
Type: string
Enum: blue, yellow, pink, red, green, mint, grey, orange, magenta, purple, copper, ocean
GridRowSchema
|
Name |
Description |
|
id |
Type: string Example: |
|
row |
Type: arrayAny of 10 types
Example
|
|
color |
Type: BGColor An enumeration. Enum: |
|
pinned |
Type: boolean |
Example
{
"id": "example",
"row": [
0
],
"pinned": true,
"color": "blue"
}
No longer supported, please use an alternative and newer version.