Получить ресурсы
Request
GET
https://api.wiki.yandex.net/v1/pages/{idx}/resources
Path parameters
|
Name |
Description |
|
idx* |
Type: integer |
Query parameters
|
Name |
Description |
|
cursor |
Type: string |
|
order_by |
Type: string Если указано, отсортировать выдачу по полю в направлении Enum: |
|
order_direction |
Type: string Если указано поле Default: |
|
page_id |
Type: integer
Default: Min value: |
|
page_size |
Type: integer Число результатов на странице выдачи. Default: Min value: Max value: |
|
q |
Type: string Поиск по заголовку Max length: |
|
types |
Type: string Необходимые типы ресурсов, через запятую. Возможные значения: attachment, sharepoint_resource, grid |
Responses
200 OK
OK
Body
application/json
{
"results": [
{
"type": "attachment"
}
],
"next_cursor": "string",
"prev_cursor": "string"
}
|
Name |
Description |
|
results* |
Type: Resource[] |
|
next_cursor |
Type: string |
|
prev_cursor |
Type: string |
Resource
|
Name |
Description |
|
item* |
Type: any |
|
type* |
Type: ResourceType An enumeration. Enum: |
ResourceType
An enumeration.
|
Type |
Description |
|
Enum: |
No longer supported, please use an alternative and newer version.