mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00

- enhance route to create stories (set cover) - enhance route to add records to a story (change cover) - refactor code todo : - doc - better dispatch events (many events for one op)
14 lines
412 B
JSON
14 lines
412 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "Story cover",
|
|
"description": "A record to be used as source of cover, the record must be an element of the story",
|
|
"type": "object",
|
|
"properties": {
|
|
"record_id": {
|
|
"description": "The identifier of the record used for cover (in the same databox as the story)",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": ["record_id"]
|
|
}
|