mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
40 lines
1002 B
YAML
40 lines
1002 B
YAML
|
|
ApiResponse_search:
|
|
type: object
|
|
properties:
|
|
meta:
|
|
$ref: 'common.yaml#/ApiResponse_meta'
|
|
response:
|
|
$ref: '#/ApiResponse_search_response'
|
|
|
|
ApiResponse_search_response:
|
|
type: object
|
|
properties:
|
|
offset:
|
|
type: integer
|
|
description: 'Pagination offset as passed (or computed from "page/per_page") in request'
|
|
limit:
|
|
type: integer
|
|
description: 'Pagination limit as passed in request'
|
|
count:
|
|
type: integer
|
|
description: 'Number of results in this page [0...limit]'
|
|
total:
|
|
type: integer
|
|
description: 'Total number of results'
|
|
minimum: 1
|
|
results:
|
|
type: object
|
|
properties:
|
|
stories:
|
|
type: array
|
|
items:
|
|
$ref: 'record.yaml#/StoryWithStoryId'
|
|
records:
|
|
type: array
|
|
items:
|
|
$ref: 'record.yaml#/Record'
|
|
facets:
|
|
$ref: 'common.yaml#/FacetsArray'
|
|
|