mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-07 18:14:35 +00:00
doc
This commit is contained in:
@@ -403,7 +403,33 @@ paths:
|
|||||||
|
|
||||||
_nb:_ since stories are not related to a document, there is no technical_informations for stories.
|
_nb:_ since stories are not related to a document, there is no technical_informations for stories.
|
||||||
|
|
||||||
### results.records.children
|
### results.records.stories
|
||||||
|
Include a list of stories that contains the record
|
||||||
|
|
||||||
|
stories is an array of small objects containing only the `story_id` (= `record_id`) of the story.
|
||||||
|
```
|
||||||
|
"response": {
|
||||||
|
"results": {
|
||||||
|
"records": [
|
||||||
|
{
|
||||||
|
"stories": [
|
||||||
|
{
|
||||||
|
"story_id": 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"story_id": 102
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### results.stories.children
|
||||||
In story search mode, will publish a children[] array for each result. See _story_children_limit_ parameter.
|
In story search mode, will publish a children[] array for each result. See _story_children_limit_ parameter.
|
||||||
|
|
||||||
children is an array of records, with same structure as a result record.
|
children is an array of records, with same structure as a result record.
|
||||||
|
@@ -446,7 +446,33 @@ paths:
|
|||||||
|
|
||||||
_nb:_ since stories are not related to a document, there is no technical_informations for stories.
|
_nb:_ since stories are not related to a document, there is no technical_informations for stories.
|
||||||
|
|
||||||
### results.records.children
|
### results.records.stories
|
||||||
|
Include a list of stories that contains the record
|
||||||
|
|
||||||
|
stories is an array of small objects containing only the `story_id` (= `record_id`) of the story.
|
||||||
|
```
|
||||||
|
"response": {
|
||||||
|
"results": {
|
||||||
|
"records": [
|
||||||
|
{
|
||||||
|
"stories": [
|
||||||
|
{
|
||||||
|
"story_id": 100
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"story_id": 102
|
||||||
|
},
|
||||||
|
...
|
||||||
|
],
|
||||||
|
...
|
||||||
|
},
|
||||||
|
...
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### results.stories.children
|
||||||
In story search mode, will publish a children[] array for each result. See _story_children_limit_ parameter.
|
In story search mode, will publish a children[] array for each result. See _story_children_limit_ parameter.
|
||||||
|
|
||||||
children is an array of records, with same structure as a result record.
|
children is an array of records, with same structure as a result record.
|
||||||
|
Reference in New Issue
Block a user