Getting dynamic tables linked to a page

Returns the list of dynamic tables linked to the page

For common headers and authentication methods, see Access to the API. For sample scenarios, see API usage examples.

Request

GET

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

Path parameters

Name

Description

idx

Type: integer

Page ID. The value of idx is the same as the id field value in the response to GET /v1/pages?slug=… or POST /v1/pages.

Query parameters

Name

Description

cursor

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Pagination cursor from next_cursor or prev_cursor in the previous response.

Example: ``

order_by

Type: string

If specified, sort the results by this field in the order_direction direction.

Enum: title, created_at

order_direction

All of: OrderDirection
  • OrderDirection

    Type: string

    An enumeration.

    Enum: asc, desc

Sort direction when order_by is specified.

Default: asc

Example: ``

page_size

Type: integer

Number of results per page.

Default: 50

Min value: 1

Max value: 100

Responses

200 OK

OK

Body

application/json
{
  "results": [
    {
      "id": "example",
      "title": "example",
      "created_at": "2025-01-01T00:00:00Z"
    }
  ],
  "next_cursor": "example",
  "prev_cursor": "example"
}

Name

Description

results

Type: PageGridsSchema[]

Items on the current page of results

Example
[
  {
    "id": "example",
    "title": "example",
    "created_at": "2025-01-01T00:00:00Z"
  }
]

next_cursor

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

A cursor for requesting the next page of results

Example: example

prev_cursor

Any of 2 types
  • Type: string

    Example: example

  • Type: null

    Example: null

Cursor for requesting the previous page of results

Example: example

PageGridsSchema

Brief information about a dynamic table on the page.

Name

Description

created_at

Type: string<date-time>

Date and time when the table was created.

Example: 2025-01-01T00:00:00Z

id

Type: string<uuid4>

Dynamic table UUID. In /v1/grids/{idx} methods, the value of idx is the UUID from this field.

Example: example

title

Type: string

Table title.

Example: example

Example
{
  "id": "example",
  "title": "example",
  "created_at": "2025-01-01T00:00:00Z"
}