{"openapi":"3.0.1","info":{"title":"Administration App API","description":" This is a API between the CMS server and a micro applications\n - all previous versions are obsolete, DO NOT USE THEM\n - v2.2.1 - add video auth API calls\n - v2.2.2 - add address and phone quiz properties\n - v2.3.1 - replace expand property by properties\n - v2.4.0 - remove revision API call\n - v2.5.0 - remove Play services API\n - v2.6.0 - rename renew video token\n - v2.6.1 - add new project options\n - v2.6.2 - add social networks API call\n - v2.6.3 - add proofreading API call\n - v2.6.4 - add summary API call\n - v2.6.5 - update project config\n - v2.7.0 - add SEO description AI point\n - v2.8.0 - add advertisers API point\n","contact":{"email":"miroslav.merinsky@gmail.com"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"version":"2.8.0"},"servers":[{"url":"https://api.administrace.tv/api/v1","description":"Production server"},{"url":"https://api.devel.administrace.tv/api/v1","description":"Development server"}],"tags":[{"name":"apiKey","description":"Manages API keys"},{"name":"author","description":"Manages authors and its parameters"},{"name":"category","description":"Manages categories and its parameters"},{"name":"channel","description":"Manages channels and its parameters"},{"name":"configuration","description":"Manages global configuration parameters"},{"name":"content","description":"Manages main application content"},{"name":"design","description":"Manages a design and its parameters"},{"name":"infobox","description":"Manages an infobox and its parameters"},{"name":"embed","description":"Manages an embed and its parameters"},{"name":"eventLog","description":"List event records in the event log"},{"name":"file","description":"Manages files"},{"name":"folder","description":"Manages folders"},{"name":"horoscope","description":"Manages horoscopes"},{"name":"licence","description":"Manages licences and its parameters"},{"name":"lock","description":"Manages content locks"},{"name":"magazine","description":"Manages magazines and its parameters"},{"name":"person","description":"Manages persons and its parameters"},{"name":"project","description":"Manages projects and its parameters"},{"name":"liveArticle","description":"Manages live article and its parameters"},{"name":"recipe-ingredient","description":"Manages recipe ingredient and its parameters"},{"name":"recipe-item","description":"Manages recipe item and its parameters"},{"name":"route","description":"Manages a route and its parameters"},{"name":"service","description":"Internal services"},{"name":"specialTag","description":"Manages tags and its parameters"},{"name":"staff","description":"Manages staff members"},{"name":"strips","description":"Support strips to get data collection"},{"name":"tag","description":"Manages tags and its parameters"},{"name":"ticker","description":"Manages tickers and its parameters"},{"name":"quiz","description":"Manages a quizes and its parameters"},{"name":"view","description":"Manages a view and its parameters"}],"paths":{"/api-keys":{"get":{"tags":["apiKey"],"summary":"Get a list of API key records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyBrief"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"post":{"tags":["apiKey"],"summary":"Create a new API key record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/api-keys/{id}":{"get":{"tags":["apiKey"],"summary":"Get an API key object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The API key's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyBrief"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"put":{"tags":["apiKey"],"summary":"Update an existing API key object","parameters":[{"name":"id","in":"path","description":"The API key's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyUpdate"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"delete":{"tags":["apiKey"],"summary":"Delete an existing API key object","parameters":[{"name":"id","in":"path","description":"The API key's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/api-keys/generate":{"get":{"tags":["apiKey"],"summary":"Get the generated API key","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"maxLength":64,"type":"string"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/authors":{"get":{"tags":["author"],"summary":"Get a list of author records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"filterOptions","in":"query","description":"FilterOptions","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Author"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["author"],"summary":"Create a new author record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Author"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/authors/{id}":{"get":{"tags":["author"],"summary":"Get an author object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The author's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Author"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["author"],"summary":"Update an existing author object","parameters":[{"name":"id","in":"path","description":"The author's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Author"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["author"],"summary":"Delete an existing author object","parameters":[{"name":"id","in":"path","description":"The author's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/categories":{"get":{"tags":["category"],"summary":"Get a list of category records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Category"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["category"],"summary":"Create a new category record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Category"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/categories/{id}":{"get":{"tags":["category"],"summary":"Get a category object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The category's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Category"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["category"],"summary":"Update an existing category object","parameters":[{"name":"id","in":"path","description":"The category's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Category"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["category"],"summary":"Delete an existing category object","parameters":[{"name":"id","in":"path","description":"The category's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/channels":{"get":{"tags":["channel"],"summary":"Get a list of channel records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Channel"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["channel"],"summary":"Create a new channel record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channel"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/channels/{id}":{"get":{"tags":["channel"],"summary":"Get a channel object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The channel's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channel"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["channel"],"summary":"Update an existing channel object","parameters":[{"name":"id","in":"path","description":"The channel's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Channel"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"delete":{"tags":["channel"],"summary":"Delete an existing channel object","parameters":[{"name":"id","in":"path","description":"The channel's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/configurations/{id}":{"get":{"tags":["configuration"],"summary":"Get a configuration value according to the given identifier","parameters":[{"name":"id","in":"path","description":"The configuration's unique identifier","required":true,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Explicitly select project (used for security reason to set the right project)","required":true,"schema":{"type":"integer"}},{"name":"lock","in":"query","description":"Force a lock on the given configuration","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Queues"},{"$ref":"#/components/schemas/ContentLists"},{"$ref":"#/components/schemas/BasicConfiguration"},{"$ref":"#/components/schemas/Info"},{"$ref":"#/components/schemas/InfoLiveVideo"}]}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["configuration"],"summary":"Update an existing configuration object","parameters":[{"name":"id","in":"path","description":"The configuration's unique identifier","required":true,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Explicitly select project (used for security reason to set the right project)","required":true,"schema":{"type":"integer"}},{"name":"encrypted","in":"query","description":"Is the value stored encrypted?","schema":{"type":"boolean"}},{"name":"unlock","in":"query","description":"Force remove the lock on the given configuration","schema":{"type":"boolean"}}],"requestBody":{"description":"Value","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Queues"},{"$ref":"#/components/schemas/ContentLists"},{"$ref":"#/components/schemas/BasicConfiguration"},{"$ref":"#/components/schemas/Info"},{"$ref":"#/components/schemas/InfoLiveVideo"}]}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["configuration"],"summary":"Delete an existing configuration object","parameters":[{"name":"id","in":"path","description":"The configuration's unique identifier","required":true,"schema":{"type":"string"}},{"name":"project","in":"query","description":"Explicitly select project (used for security reason to set the right project)","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/contents":{"get":{"tags":["content"],"summary":"Get a list of content records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}},{"name":"project","in":"query","description":"Possibility to show result for all projects (project=all)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Content"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["content"],"summary":"Create a new content record","parameters":[{"name":"action","in":"query","description":"Action which is called after the content is created","schema":{"type":"string","enum":["publish","send-to-chief-editor","return","send-to-proofreader","set-aside","set-aside-weekend","depublish"]}},{"name":"category-url","in":"query","description":"Generate URL with the main category slug prefix","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/contents/{id}":{"get":{"tags":["content"],"summary":"Get a content object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}},{"name":"lock","in":"query","description":"Force a lock on the given content","schema":{"type":"boolean"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["content"],"summary":"Update an existing content object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"action","in":"query","description":"Action which is called after the content is created","schema":{"type":"string","enum":["publish","send-to-chief-editor","return","send-to-proofreader","set-aside","set-aside-weekend","depublish"]}},{"name":"unlock","in":"query","description":"Force remove the lock on the given content","schema":{"type":"boolean"}},{"name":"revision","in":"query","description":"Revision which should be published (only if revision is not the newest)","schema":{"type":"integer"}},{"name":"new-url","in":"query","description":"Indicate that new URL will be generated","schema":{"type":"boolean"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Content"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["content"],"summary":"Delete an existing content object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/contents/{id}/revisions":{"get":{"tags":["content"],"summary":"Get a list of content revisions","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentRevision"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]}},"/contents/{id}/audit":{"get":{"tags":["content"],"summary":"Get a list of content audits","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ContentAudit"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/contents/{id}/share/token":{"get":{"tags":["content"],"summary":"Get a shared content token","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/contents/{id}/share":{"get":{"tags":["content"],"summary":"Get a shared content object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentShared"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]},"put":{"tags":["content"],"summary":"Update an existing shared content object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentShared"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]}},"/contents/{id}/{revision}":{"get":{"tags":["content"],"summary":"Get the revision according to the given identifier","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"revision","in":"path","description":"The revision's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Article"},{"$ref":"#/components/schemas/Gallery"},{"$ref":"#/components/schemas/Quiz"},{"$ref":"#/components/schemas/Recipe"}]}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]}},"/contents/{id}/{revision}/info":{"put":{"tags":["content"],"summary":"Set extra content information","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"revision","in":"path","description":"The content's revision","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentInfo"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_APPLICATION":[]}]}},"/tickers":{"get":{"tags":["ticker"],"summary":"Get a list of tickers records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Ticker"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["ticker"],"summary":"Create a new ticker record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ticker"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/tickers/{id}":{"get":{"tags":["ticker"],"summary":"Get a ticker object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The ticker's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ticker"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["ticker"],"summary":"Update an existing ticker object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Ticker"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["ticker"],"summary":"Delete an existing ticker object","parameters":[{"name":"id","in":"path","description":"The content's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/designs":{"get":{"tags":["design"],"summary":"Get a list of design records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Design"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["design"],"summary":"Create a new design record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Design"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/designs/{id}":{"get":{"tags":["design"],"summary":"Get a design object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The design's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Design"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["design"],"summary":"Update an existing design object","parameters":[{"name":"id","in":"path","description":"The design's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Design"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["design"],"summary":"Delete an existing design object","parameters":[{"name":"id","in":"path","description":"The design's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/event-log":{"get":{"tags":["eventLog"],"summary":"Get a list of event records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventLogBrief"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/event-log/{id}":{"get":{"tags":["eventLog"],"summary":"Get an event log object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The event's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventLog"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/infoboxes":{"get":{"tags":["infobox"],"summary":"Get a list of infobox records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Infobox"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["infobox"],"summary":"Create a new infobox record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Infobox"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/infoboxes/{id}":{"get":{"tags":["infobox"],"summary":"Get a infobox object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The infobox's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Infobox"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["infobox"],"summary":"Update an existing infobox object","parameters":[{"name":"id","in":"path","description":"The infobox's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Infobox"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["infobox"],"summary":"Delete an existing infobox object","parameters":[{"name":"id","in":"path","description":"The infobox's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/embeds":{"get":{"tags":["embed"],"summary":"Get a list of embed records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Embed"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["embed"],"summary":"Create a new embed record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Embed"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/embeds/{id}":{"get":{"tags":["embed"],"summary":"Get a embed object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The embed's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Embed"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"put":{"tags":["embed"],"summary":"Update an existing embed object","parameters":[{"name":"id","in":"path","description":"The embed's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Embed"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["embed"],"summary":"Delete an existing embed object","parameters":[{"name":"id","in":"path","description":"The embed's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/files":{"get":{"tags":["file"],"summary":"Get a list of file records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/File"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]}},"/files/{id}":{"get":{"tags":["file"],"summary":"Get a file object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The file's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["file"],"summary":"Update an existing file object","description":"Create file alternative:\n - call GET /services/upload\n - call PUT /files/{id}, use file ID from the previous request, set file ID of parent and variant\n","parameters":[{"name":"id","in":"path","description":"The file's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/File"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["file"],"summary":"Delete an existing file object","parameters":[{"name":"id","in":"path","description":"The file's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/files/ingest/{id}":{"post":{"tags":["file"],"summary":"Create the new file ingest","parameters":[{"name":"id","in":"path","description":"The file's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileIngest"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/files/usage/{id}":{"get":{"tags":["file"],"summary":"Get file usage information","parameters":[{"name":"id","in":"path","description":"The file's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileUsage"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/files/variants":{"get":{"tags":["file"],"summary":"Get files variants (valid only for images)","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FileImageVariantGroup"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]}},"/folders":{"get":{"tags":["folder"],"summary":"Get a list of folder records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Folder"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["folder"],"summary":"Create a new folder record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/folders/{id}":{"get":{"tags":["folder"],"summary":"Get a folder object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The folder's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"put":{"tags":["folder"],"summary":"Update an existing folder object","parameters":[{"name":"id","in":"path","description":"The folder's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Folder"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["folder"],"summary":"Delete an existing folder object","parameters":[{"name":"id","in":"path","description":"The folder's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"files","in":"query","description":"Delete all files in the folder and children folders","schema":{"type":"boolean"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/horoscopes":{"get":{"tags":["horoscope"],"summary":"Get a list of horoscope records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Horoscope"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["horoscope"],"summary":"Create a new horoscope record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Horoscope"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/horoscopes/{id}":{"get":{"tags":["horoscope"],"summary":"Get a horoscope object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The horoscope's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Horoscope"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["horoscope"],"summary":"Update an existing horoscope object","parameters":[{"name":"id","in":"path","description":"The horoscope's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Horoscope"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["horoscope"],"summary":"Delete an existing horoscope object","parameters":[{"name":"id","in":"path","description":"The horoscope's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/live-articles":{"get":{"tags":["liveArticle"],"summary":"Get a list of live article records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LiveArticle"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["liveArticle"],"summary":"Create a new live article record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticle"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/live-articles/{id}":{"get":{"tags":["liveArticle"],"summary":"Get a live article object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The live article's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticle"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["liveArticle"],"summary":"Update an existing live article object","parameters":[{"name":"id","in":"path","description":"The live article's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticle"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["liveArticle"],"summary":"Delete an existing live article object","parameters":[{"name":"id","in":"path","description":"The live article's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/live-article-items":{"get":{"tags":["liveArticle"],"summary":"Get a list of live article item records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LiveArticleItem"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["liveArticle"],"summary":"Create a new live article item record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticleItem"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/live-article-items/{id}":{"get":{"tags":["liveArticle"],"summary":"Get a live article item object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The live article item's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticleItem"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["liveArticle"],"summary":"Update an existing live article item object","parameters":[{"name":"id","in":"path","description":"The live article item's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveArticleItem"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["liveArticle"],"summary":"Delete an existing live article item object","parameters":[{"name":"id","in":"path","description":"The live article item's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/views":{"get":{"tags":["view"],"summary":"Get a list of view records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/View"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["view"],"summary":"Create a new view record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/views/{id}":{"get":{"tags":["view"],"summary":"Get a view object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The view's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["view"],"summary":"Update an existing view object","parameters":[{"name":"id","in":"path","description":"The view's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/View"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["view"],"summary":"Delete an existing view object","parameters":[{"name":"id","in":"path","description":"The view's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/licences":{"get":{"tags":["licence"],"summary":"Get a list of licence records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Licence"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["licence"],"summary":"Create a new licence record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Licence"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/licences/{id}":{"get":{"tags":["licence"],"summary":"Get a licence object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The licence's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Licence"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["licence"],"summary":"Update an existing licence object","parameters":[{"name":"id","in":"path","description":"The licence's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Licence"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["licence"],"summary":"Delete an existing licence object","parameters":[{"name":"id","in":"path","description":"The licence's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/persons":{"get":{"tags":["person"],"summary":"Get a list of person records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Person"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["person"],"summary":"Create a new person record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/persons/{id}":{"get":{"tags":["person"],"summary":"Get a person object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The person's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"put":{"tags":["person"],"summary":"Update an existing person object","parameters":[{"name":"id","in":"path","description":"The person's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["person"],"summary":"Delete an existing person object","parameters":[{"name":"id","in":"path","description":"The person's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/projects":{"get":{"tags":["project"],"summary":"Get a list of project records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Project"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["project"],"summary":"Create a new project record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/projects/{id}":{"get":{"tags":["project"],"summary":"Get a project object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The project's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"put":{"tags":["project"],"summary":"Update an existing project object","parameters":[{"name":"id","in":"path","description":"The project's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"delete":{"tags":["project"],"summary":"Delete an existing project object","parameters":[{"name":"id","in":"path","description":"The project's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/recipe-ingredients":{"get":{"tags":["recipe-ingredient"],"summary":"Get a list of recipe ingredient records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RecipeIngredient"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["recipe-ingredient"],"summary":"Create a new recipe ingredient record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeIngredient"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/recipe-ingredients/{id}":{"get":{"tags":["recipe-ingredient"],"summary":"Get a recipe ingredient object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeIngredient"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"put":{"tags":["recipe-ingredient"],"summary":"Update an existing recipe ingredient object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecipeIngredient"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["recipe-ingredient"],"summary":"Delete an existing recipe ingredient object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/recipe-items":{"get":{"tags":["recipe-item"],"summary":"Get a list of recipe item records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RecipeItem"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_APPLICATION":[]}]}},"/routes":{"get":{"tags":["route"],"summary":"Get a list of route records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Route"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["route"],"summary":"Create a new route record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Route"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/routes/{id}":{"get":{"tags":["route"],"summary":"Get a route object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The route's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Route"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["route"],"summary":"Update the route record","parameters":[{"name":"id","in":"path","description":"The route's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Route"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["route"],"summary":"Delete an existing route object","parameters":[{"name":"id","in":"path","description":"The route's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/services/proofreading":{"post":{"tags":["service"],"summary":"Proofread the given text","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content"}}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/summary":{"post":{"tags":["service"],"summary":"Make the given text summarization","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content without assets"}}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/seo-description":{"post":{"tags":["service"],"summary":"Create SEO description of the given text","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content"}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"text":{"type":"string","description":"Article content"}}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/advertisers/{name}":{"get":{"tags":["service"],"summary":"Get list of advertisers","parameters":[{"name":"name","in":"path","description":"Seached name","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","description":"ID of advertiser"},"name":{"type":"string","description":null}}}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/upload":{"get":{"tags":["service"],"summary":"Get the hash for initiate file upload via TUS protocol","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["service"],"summary":"Information about uploaded file to the TUS server","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TUSFile"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]}},"/services/sorting/{object}/{id}":{"get":{"tags":["service"],"summary":"Get an ancestor and descendant for the given object and id","parameters":[{"name":"object","in":"path","description":"Object name","required":true,"schema":{"type":"string","enum":["category"]}},{"name":"id","in":"path","description":"The object's unique identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sorting"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/sorting/max/{object}":{"get":{"tags":["service"],"summary":"Get the maximum sorting number for the given object","parameters":[{"name":"object","in":"path","description":"Object name","required":true,"schema":{"type":"string","enum":["category"]}},{"name":"parentId","in":"query","description":"Additional filter for category","schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SortingValue"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/unify/{group}":{"put":{"tags":["service"],"summary":"Unify two or more group items into to one","parameters":[{"name":"group","in":"path","description":"Group name","required":true,"schema":{"type":"string","enum":["tag","author","ingredient"]}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnifyRequest"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/content/text":{"post":{"tags":["service"],"summary":"Get expanded text (assets are expanded to HTML code)","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_APPLICATION":[]}]}},"/services/sitemap":{"get":{"tags":["service"],"summary":"Get XML sitemap","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","description":"XML text"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_APPLICATION":[]}]}},"/services/facebook":{"get":{"tags":["service"],"summary":"Get facebook/instagram object","parameters":[{"name":"url","in":"query","description":"Post, video, page or instagram URL","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FacebookEmbed"},{"$ref":"#/components/schemas/InstagramEmbed"}]}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/social-networks":{"get":{"tags":["service"],"summary":"Get facebook, instagram, x or pinterest object","parameters":[{"name":"url","in":"query","description":"Post, video, page or instagram URL","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/FacebookEmbed"},{"$ref":"#/components/schemas/InstagramEmbed"},{"$ref":"#/components/schemas/XEmbed"},{"$ref":"#/components/schemas/PinterestEmbed"}]}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/omny/programmes":{"get":{"tags":["service"],"summary":"Get a list of Omny programmes for the given organization","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OmnyProgram"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/omny/clips":{"get":{"tags":["service"],"summary":"Get a list of Omny clips for the given organization","description":"Valid filters:\n - is programId\n - contains title\n - contains description\n - is tags\n","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OmnyClip"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/ctk/documents":{"get":{"tags":["service"],"summary":"Get a list of the documents","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Document"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/ctk/documents/{slug}":{"get":{"tags":["service"],"summary":"Get a document for the given slug","parameters":[{"name":"slug","in":"path","description":"Slug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Document"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/ctk/photos/{slug}":{"get":{"tags":["service"],"summary":"Get a photo for the given slug","parameters":[{"name":"slug","in":"path","description":"Slug","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string","description":"Base64 encoded image"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/tags":{"post":{"tags":["service"],"summary":"Get a list of tags","parameters":[{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentTag"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/services/dashboard/google":{"get":{"tags":["service"],"summary":"Get an information about link to a dashboard","parameters":[{"name":"platform","in":"query","required":true,"schema":{"type":"string","enum":["mobile","desktop"]}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/locks":{"post":{"tags":["lock"],"summary":"Create a new lock record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lock"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/locks/{id}":{"get":{"tags":["lock"],"summary":"Get a lock object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The lock's unique identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lock"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["lock"],"summary":"Delete an existing lock object","parameters":[{"name":"id","in":"path","description":"The lock's unique identifier","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/magazines":{"get":{"tags":["magazine"],"summary":"Get a list of magazine records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Magazine"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["magazine"],"summary":"Create a new magazine record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Magazine"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/magazines/{id}":{"get":{"tags":["magazine"],"summary":"Get a magazine object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The magazine's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Magazine"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["magazine"],"summary":"Update an existing magazine object","parameters":[{"name":"id","in":"path","description":"The magazine's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Magazine"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]},"delete":{"tags":["magazine"],"summary":"Delete an existing magazine object","parameters":[{"name":"id","in":"path","description":"The magazine's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}},"409":{"description":"Conflict (project is not selected)","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]}]}},"/special-tags":{"get":{"tags":["specialTag"],"summary":"Get a list of tag records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SpecialTag"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["specialTag"],"summary":"Create a new tag record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialTag"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/special-tags/{id}":{"get":{"tags":["specialTag"],"summary":"Get a tag object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialTag"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["specialTag"],"summary":"Update an existing tag object","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpecialTag"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"delete":{"tags":["specialTag"],"summary":"Delete an existing tag object","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/me":{"get":{"tags":["staff"],"summary":"Get a staff object according to the logged user","parameters":[{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_PR":[]},{"ROLE_NONE":[]}]}},"/staff":{"get":{"tags":["staff"],"summary":"Get a list of staff records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"filterOptions","in":"query","description":"FilterOptions","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Staff"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"post":{"tags":["staff"],"summary":"Create a new staff record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/staff/{id}":{"get":{"tags":["staff"],"summary":"Get a staff object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The staff's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"put":{"tags":["staff"],"summary":"Update an existing staff member","parameters":[{"name":"id","in":"path","description":"The staff's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Staff"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]},"delete":{"tags":["staff"],"summary":"Delete an existing staff member","parameters":[{"name":"id","in":"path","description":"The staff's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/staff/login":{"post":{"tags":["staff"],"summary":"Log a user into the system","parameters":[{"name":"token","in":"query","description":"Anti-bot token","schema":{"type":"string"}},{"name":"X-GoogleRecaptchaSkipToken","in":"header","description":"Optional reCAPTCHA skip token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Authentication"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]}},"/staff/login/renew":{"get":{"tags":["staff"],"summary":"Renew an authentication token","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Token"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/staff/logout":{"get":{"tags":["staff"],"summary":"Log out staff who are logged in","responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/staff/password":{"put":{"tags":["staff"],"summary":"Change a staff password","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Passwords"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/staff/lost-password":{"put":{"tags":["staff"],"summary":"Send lost password change request","parameters":[{"name":"token","in":"query","description":"Anti-bot token","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LostPasswordChange"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]},"post":{"tags":["staff"],"summary":"Send lost password request","parameters":[{"name":"token","in":"query","description":"Anti-bot token","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LostPassword"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_ANONYMOUS":[]}]}},"/staff/permissions":{"get":{"tags":["staff"],"summary":"Get a list of permission records for the given user or for users if logged user is in ROLE_SUPERVISOR","parameters":[{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"format","in":"query","description":"Response format","schema":{"type":"string","enum":["permission","casl"]}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Permission"},{"$ref":"#/components/schemas/CASL"}]}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_NONE":[]}]},"post":{"tags":["staff"],"summary":"Create a new staff permission record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Permission"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/staff/permissions/{id}":{"delete":{"tags":["staff"],"summary":"Delete a staff permission record","parameters":[{"name":"id","in":"path","description":"The staff permission's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]}]}},"/staff/project":{"get":{"tags":["staff"],"summary":"Get the id of the selected project","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectedProject"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_NONE":[]}]},"put":{"tags":["staff"],"summary":"Select the project for administration","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelectedProject"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_NONE":[]}]}},"/staff/renew/video":{"get":{"tags":["staff"],"summary":"Get the JWT token for video auth","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoJWT"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/strips/{id}":{"get":{"tags":["strips"],"summary":"Get a strip according to the given identifier","parameters":[{"name":"id","in":"path","description":"The strip's unique identifier","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/MenuStrip"},{"$ref":"#/components/schemas/InfoStrip"},{"$ref":"#/components/schemas/InfoLiveVideoStrip"},{"$ref":"#/components/schemas/HomepageStrip"},{"$ref":"#/components/schemas/QueueStrip"}]}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_APPLICATION":[]}]}},"/tags":{"get":{"tags":["tag"],"summary":"Get a list of tag records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Tag"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["tag"],"summary":"Create a new tag record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/tags/{id}":{"get":{"tags":["tag"],"summary":"Get a tag object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["tag"],"summary":"Update an existing tag object","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tag"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["tag"],"summary":"Delete an existing tag object","parameters":[{"name":"id","in":"path","description":"The tag's unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/quizes":{"get":{"tags":["quiz"],"summary":"Get a list of quiz records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Quiz"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["quiz"],"summary":"Create a new quiz record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quiz"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/quizes/{id}":{"get":{"tags":["quiz"],"summary":"Get a quiz object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quiz"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["quiz"],"summary":"Update an existing quiz object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quiz"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["quiz"],"summary":"Delete an existing quiz object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/quizes/{id}/results/summary":{"get":{"tags":["quiz"],"summary":"Get a quiz results summary","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Result"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/questions":{"get":{"tags":["quiz"],"summary":"Get a list of question records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Question"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["quiz"],"summary":"Create a new question record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/questions/{id}":{"get":{"tags":["quiz"],"summary":"Get a question object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["quiz"],"summary":"Update an existing question object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Question"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]},"delete":{"tags":["quiz"],"summary":"Delete an existing question object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/answers":{"get":{"tags":["quiz"],"summary":"Get an answer records","parameters":[{"name":"limit","in":"query","description":"Limit","schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Offset","schema":{"type":"integer"}},{"name":"filter","in":"query","description":"Filter","schema":{"type":"string"}},{"name":"order","in":"query","description":"Order items","schema":{"type":"string"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Answer"}}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"post":{"tags":["quiz"],"summary":"Create a new answer record","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answer"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuccessResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}},"/answers/{id}":{"get":{"tags":["quiz"],"summary":"Get an answer object according to the given identifier","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}},{"name":"properties","in":"query","description":"Comma separated properties' list (possibility to include referenced objects)","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answer"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"put":{"tags":["quiz"],"summary":"Update an existing answer object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Answer"}}},"required":true},"responses":{"204":{"description":"No Content","content":{}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]},{"ROLE_APPLICATION":[]}]},"delete":{"tags":["quiz"],"summary":"Delete an existing answer object","parameters":[{"name":"id","in":"path","description":"The unique identifier","required":true,"schema":{"type":"integer"}}],"responses":{"204":{"description":"No Content","content":{}},"401":{"description":"Unauthorized","content":{}},"403":{"description":"Forbidden","content":{}},"404":{"description":"Not Found","content":{}}},"security":[{"ROLE_SUPERVISOR":[]},{"ROLE_ADMINISTRATOR":[]},{"ROLE_EDITOR":[]}]}}},"components":{"schemas":{"Id":{"type":"integer","description":"Unique identifier"},"Authentication":{"required":["email","password"],"type":"object","properties":{"email":{"maxLength":64,"type":"string","description":"Email","format":"email"},"password":{"maxLength":256,"type":"string","description":"Password as a plane text"}}},"Answer":{"required":["question"],"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier","readOnly":true},"question":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Question"}]},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"text":{"maxLength":512,"type":"string","description":"Text-based answer"},"answer":{"type":"boolean","description":"Is it the right answer?"},"result":{"minimum":0,"type":"integer","description":"The answer counter"},"sorting":{"minimum":0,"type":"integer","description":"Number defining the order"},"options":{"type":"array","description":"Additional options","items":{"maxLength":32,"type":"string"}}}},"ApiKey":{"required":["key","project","type"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"project":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"type":{"maxLength":32,"type":"string","description":"Type of slave service","enum":["web","hbbtv","tv","mobile","social"]},"key":{"maxLength":64,"type":"string","description":"API key"},"note":{"maxLength":128,"type":"string","description":"Note (only for internal purposes)"},"options":{"type":"object","properties":{},"description":"Additional options"}}},"ApiKeyUpdate":{"type":"object","properties":{"note":{"maxLength":128,"type":"string","description":"Note (only for internal purposes)"},"options":{"type":"object","properties":{},"description":"Additional options"}}},"ApiKeyBrief":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier"},"project":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"type":{"maxLength":32,"type":"string","description":"Type of slave service"},"note":{"maxLength":128,"type":"string","description":"Note (only for internal purposes)"}}},"Article":{"required":["leadParagraph","text","title"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"summary":{"type":"string","description":"Article summary"},"text":{"type":"string","description":"Article content"},"ticker":{"type":"object","properties":{"tv":{"maxLength":512,"type":"string"},"hbbtv":{"maxLength":512,"type":"string"},"web":{"maxLength":512,"type":"string"}},"description":"Ticker text for all platforms"},"active":{"type":"boolean","description":"Information on whether the article revision is active","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"Author":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string","description":"Name; will be shown on the front-end"},"routes":{"type":"array","description":"Related routes","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Route"}]}},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true,"description":"Absolute URL for selected project"},"page":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"design":{"description":"The basic design can be customized via additional designs","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"label":{"maxLength":64,"type":"string","description":"Label"},"description":{"maxLength":1024,"type":"string","description":"Information about the author that will be shown on the front-end"},"text":{"type":"string","description":"Author's page content"},"photo":{"description":"The author’s public photo","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"role":{"maxLength":32,"type":"string","description":"Role related to the people page","enum":["moderator","editor","management","producer"]},"email":{"maxLength":64,"type":"string","description":"Public email address","format":"email"},"facebook":{"maxLength":256,"type":"string","description":"Link to public Facebook page","format":"uri"},"twitter":{"maxLength":256,"type":"string","description":"Link to public Twitter page","format":"uri"},"instagram":{"maxLength":256,"type":"string","description":"Link to public Instagram page","format":"uri"},"content":{"type":"boolean","description":"Author creates content (articles, galleries, ...)"},"media":{"type":"boolean","description":"Author creates media content like video or images"}}},"AuthorStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"name":{"maxLength":64,"type":"string","description":"Name; will be shown on the front-end"},"absoluteUrl":{"maxLength":512,"type":"string"}}},"BasicConfiguration":{"type":"object","required":["baseUrl","publisher"],"properties":{"baseUrl":{"type":"string","maxLength":256,"format":"uri"},"publisher":{"type":"object","required":["name","url","logo","email"],"properties":{"name":{"type":"string","maxLength":32},"url":{"type":"string","maxLength":256,"format":"uri"},"logo":{"type":"string","maxLength":256,"format":"uri"},"email":{"type":"string","maxLength":64,"format":"email"}}}}},"CASL":{"type":"object","readOnly":true,"properties":{"action":{"type":"string","maxLength":32},"subject":{"type":"string","maxLength":32}}},"Category":{"required":["title"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"parent":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}],"description":"Parent; used to create several menu levels"},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}],"description":"Main image"},"design":{"description":"The basic design can be customized via additional designs","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"authors":{"type":"array","description":"List of authors","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]}},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"url":{"maxLength":256,"type":"string","description":"URL generated from the title"},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true},"leadParagraph":{"maxLength":512,"type":"string","description":"Lead paragraph"},"text":{"type":"string","description":"Text"},"keywords":{"maxLength":128,"type":"string","description":"Keywords"},"description":{"maxLength":512,"type":"string","description":"Description"},"sorting":{"minimum":0,"type":"integer","description":"Number defining the order"},"menu":{"type":"array","items":{"$ref":"#/components/schemas/ContentListItem"}},"adSection":{"type":"string","maxLength":64,"description":"Ad section"},"adKeywords":{"type":"string","maxLength":64,"description":"Ad keywords"},"hiddenInEventList":{"type":"boolean","description":"Information on whether the article from this category is hidden in the event list"},"customClass":{"type":"string","nullable":true,"maxLength":64,"description":"Category menu custom class to customize design"},"customHeader":{"type":"string","nullable":true,"maxLength":4096,"description":"Customize category detail header"},"numberOfContents":{"type":"integer","minimum":0,"readOnly":true},"programme":{"type":"integer","nullable":true,"minimum":0},"noRSS":{"type":"boolean","description":"Information on whether the article from this category is in RSS channel"},"active":{"type":"boolean","description":"Information on whether the category is active"}}},"CategoryStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"title":{"maxLength":256,"type":"string","description":"Title"},"image":{"$ref":"#/components/schemas/FileStrip"},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true},"customClass":{"type":"string","nullable":true,"maxLength":64,"description":"Category menu custom class to customize design"}}},"Channel":{"required":["code","name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":32,"type":"string","description":"Name (only for internal purposes)"},"code":{"maxLength":32,"type":"string","description":"Name used as identification on HbbTV devices"},"active":{"type":"boolean","description":"Information on whether the project is active"}}},"Content":{"required":["revisionContent","type"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"project":{"readOnly":true,"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"title":{"maxLength":256,"type":"string","description":"Current title","readOnly":true},"leadParagraph":{"type":"string","description":"Current lead paragraph","readOnly":true},"revisionId":{"type":"integer","description":"Active revision ID","readOnly":true},"revisionClass":{"type":"string","description":"Revision class","readOnly":true},"revisionContent":{"oneOf":[{"$ref":"#/components/schemas/Article"},{"$ref":"#/components/schemas/Gallery"},{"$ref":"#/components/schemas/Quiz"},{"$ref":"#/components/schemas/Recipe"}]},"url":{"maxLength":256,"type":"string","description":"URL generated from the title"},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true},"routes":{"type":"array","description":"Routes","readOnly":true,"items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Route"}]}},"mainCategory":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}]},"categories":{"type":"array","description":"Categories","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}]}},"authors":{"type":"array","description":"List of authors","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]}},"owners":{"type":"array","description":"List of owners","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]}},"licence":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Licence"}]},"design":{"description":"The basic design can be customized via additional designs","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"image":{"description":"Main image","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"imageTitle":{"maxLength":512,"type":"string","description":"Title of the main image"},"gallery":{"type":"array","description":"Gallery content","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/View"}]}},"tags":{"type":"array","description":"Tags","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]}},"specialTag":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/SpecialTag"}]},"related":{"type":"array","description":"Related content","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/RelatedContent"}]}},"keywords":{"maxLength":128,"type":"string","description":"Meta keywords according to RFC 7992"},"description":{"maxLength":512,"type":"string","description":"Meta description according to RFC 7992"},"video":{"$ref":"#/components/schemas/Video"},"validFrom":{"type":"string","description":"Date and time of content launch","format":"date-time"},"validTo":{"type":"string","description":"Date and time of publication withdrawal","format":"date-time"},"type":{"type":"string","enum":["article-standard","article-live","article-lifestyle","article-comment","gallery-standard","gallery-story","quiz-competition","recipe-standard"]},"source":{"type":"string","description":"Information sources"},"status":{"type":"string","description":"Information about status","readOnly":true,"enum":["not-active","published","depublished","waiting-to-check","waiting-to-proofreader-check","waiting-for-correction","waiting-to-publish","waiting-to-publish-weekend"]},"hidden":{"type":"boolean","description":"Is content hidden (only direct access)?"},"keepUrl":{"type":"boolean","description":"Do not change URL after title change"},"options":{"type":"array","description":"Additional options","items":{"type":"string","enum":["no-rss","no-sn-overlay","hide-authors","no-ads","no-video-ads","enable-comments"]}},"platforms":{"type":"array","description":"Array of subplatforms","items":{"type":"string","enum":["web-ticker","hbbtv-ticker","tv-ticker"]}},"note":{"maxLength":2048,"type":"string","description":"Note (only for internal purposes)"},"commercialArticleActive":{"type":"boolean","description":"Information on whether the commercial codes are active"},"commercialArticleListScript":{"type":"string","maxLength":4096,"description":"Commercial article - code for article list"},"commercialArticleDetailScript":{"type":"string","maxLength":4096,"description":"Commercial article - code for article detail"},"commercialArticleUrl":{"type":"string","maxLength":512,"format":"uri","description":"Commercial article - URL"},"adSection":{"type":"string","maxLength":64,"description":"Ad section"},"adKeywords":{"type":"string","maxLength":64,"description":"Ad keywords"},"rating":{"type":"integer","description":"Rating","minimum":0,"maximum":100,"readOnly":true},"homepage":{"type":"boolean","description":"Is this content on homepage?","readOnly":true},"scheduled":{"type":"boolean","description":"Is this content scheduled? It means not published immediately.","readOnly":true},"locked":{"type":"boolean","description":"Is this content locked?","readOnly":true},"lock":{"readOnly":true,"oneOf":[{"$ref":"#/components/schemas/Lock"}]},"updatedAt":{"type":"string","description":"Date and time of update","format":"datetime"},"lastUpdateAt":{"type":"string","description":"Date and time of last update","format":"datetime","readOnly":true},"numberOfPhotos":{"type":"integer","description":"Number of photos in the gallery","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"ContentStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"projectCode":{"type":"string","maxLength":32},"title":{"maxLength":256,"type":"string","description":"Current title"},"leadParagraph":{"type":"string","description":"Current lead paragraph"},"absoluteUrl":{"maxLength":512,"type":"string"},"mainCategory":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/CategoryStrip"}]},"authors":{"type":"array","description":"List of authors","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/AuthorStrip"}]}},"image":{"$ref":"#/components/schemas/FileStrip"},"imageTitle":{"maxLength":512,"type":"string","description":"Title of the main image"},"gallery":{"type":"array","description":"Gallery content","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/View"}]}},"specialTag":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/SpecialTag"}]},"video":{"$ref":"#/components/schemas/Video"},"validFrom":{"type":"string","description":"Date and time of content launch","format":"date-time"},"updatedAt":{"type":"string","description":"Date and time of update","format":"datetime"},"type":{"type":"string","enum":["article-standard","article-live","article-lifestyle","article-comment","gallery-standard","gallery-story","quiz-competition","recipe-standard"]},"commercialArticleActive":{"type":"boolean","description":"Information on whether the commercial codes are active"},"commercialArticleListScript":{"type":"string","maxLength":4096,"description":"Commercial article - code for article list"},"commercialArticleUrl":{"type":"string","maxLength":512,"format":"uri","description":"Commercial article - UR"},"numberOfPhotos":{"type":"integer","description":"Number of photos in the gallery"}}},"ContentShared":{"required":["revisionContent"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"revisionContent":{"oneOf":[{"$ref":"#/components/schemas/Article"}]},"type":{"type":"string","enum":["article-standard","article-live","article-lifestyle","article-comment","gallery-standard","gallery-story","quiz-competition","recipe-standard"],"readOnly":true},"note":{"maxLength":2048,"type":"string","description":"Note (only for internal purposes)"}}},"ContentAudit":{"type":"object","properties":{"staff":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"status":{"type":"string","description":"Information about status","enum":["not-active","published","depublished","waiting-to-check","waiting-to-proofreader-check","waiting-for-correction","waiting-to-publish","waiting-to-publish-weekend","update","new-revision","set-revision"]},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"ContentRevision":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier"},"staff":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"active":{"type":"boolean","description":"Information on whether the revision is active"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"ContentInfo":{"type":"object","properties":{"notify":{"maxLength":64,"type":"string","description":"Create a notification that the content is shown (used primarily for social networks and HbbTV)"}}},"ContentTag":{"type":"object","required":["title","leadParagraph","text","mainCategory"],"properties":{"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"text":{"type":"string","description":"Article content"},"mainCategory":{"type":"integer","description":"Category ID"},"categories":{"type":"array","description":"Categories","items":{"type":"integer","description":"Category ID"}}}},"Design":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string"},"template":{"maxLength":64,"type":"string"},"options":{"type":"object","properties":{},"description":"Additional options"}}},"Document":{"type":"object","readOnly":true,"properties":{"slug":{"type":"string","description":"Slug"},"title":{"type":"string","description":"Title"},"type":{"type":"string","description":"Multimedia content type","enum":["text","picture","video"]},"timestamp":{"type":"integer","description":"Body timestamp for identifing version"},"copyrightHolder":{"type":"string","description":"Copyright holder"},"language":{"type":"string","description":"Language","enum":["cz","en"]},"validFrom":{"type":"string","description":"Date and time of creation","format":"datetime"},"author":{"type":"string","description":"Author name"},"located":{"type":"string","description":"Localization that the event happened"},"urgency":{"type":"integer","minimum":1,"maximum":5,"description":"Urgency, 1 = high, 5 = low"},"keywords":{"type":"string","description":"Keywords"},"body":{"type":"string","description":"HTML text body"},"related":{"type":"array","description":"Related content","items":{"$ref":"#/components/schemas/RelatedDocument"}},"photos":{"type":"array","description":"Photos","items":{"$ref":"#/components/schemas/Photo"}}}},"Embed":{"required":["name","code"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string","description":"Name"},"code":{"type":"string","description":"Code"},"active":{"type":"boolean","description":"Information on whether the embed is active"}}},"EventLog":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier"},"staff":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"resource":{"maxLength":64,"type":"string","description":"Class name the action is provided for"},"action":{"maxLength":32,"type":"string","description":"Action name (create, update, delete, etc.)"},"data":{"type":"object","properties":{},"description":"Additional parameters"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"EventLogBrief":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier"},"staff":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"project":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"resource":{"maxLength":64,"type":"string","description":"Class name the action is provided for"},"action":{"maxLength":32,"type":"string","description":"Action name (create, update, delete, etc.)"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"Photo":{"type":"object","readOnly":true,"properties":{"slug":{"type":"string","description":"Slug"},"title":{"type":"string","description":"Title"},"type":{"type":"string","description":"Multimedia content type","enum":["text","picture","video"]},"timestamp":{"type":"integer","description":"Body timestamp for identifing version"},"copyrightHolder":{"type":"string","description":"Copyright holder"},"validFrom":{"type":"string","description":"Date and time of creation","format":"datetime"},"author":{"type":"string","description":"Author name"},"located":{"type":"string","description":"Localization that the event happened"},"keywords":{"type":"string","description":"Keywords"},"body":{"type":"string","description":"HTML text body"}}},"RelatedDocument":{"type":"object","readOnly":true,"properties":{"slug":{"type":"string","description":"Slug"},"title":{"type":"string","description":"Title"}}},"ErrorResponse":{"type":"object","readOnly":true,"properties":{"code":{"type":"integer"},"message":{"maxLength":128,"type":"string"}}},"Infobox":{"required":["name","text"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"design":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"name":{"maxLength":64,"type":"string","description":"Name"},"text":{"type":"string","description":"Text"}}},"InstagramEmbed":{"type":"object","description":"https://developers.facebook.com/docs/instagram/oembed","readOnly":true,"properties":{"version":{"type":"string","description":"E.g. 1.0"},"author_name":{"type":"string","description":"E.g. diegoquinteiro"},"provider_name":{"type":"string","description":"Instagram"},"provider_url":{"type":"string","description":"E.g. https://www.instagram.com"},"type":{"type":"string","description":"E.g. rich"},"width":{"type":"integer","description":"E.g. 658"},"html":{"type":"string","description":"E.g. <blockquote class=\"instagram-media\" data-instgrm-ca..."},"thumbnail_width":{"type":"integer","description":"E.g. 640"},"thumbnail_height":{"type":"integer","description":"E.g. 640"}}},"PinterestEmbed":{"type":"object","readOnly":true,"properties":{"provider_name":{"type":"string","description":"Pinterest"},"url":{"type":"string","description":"Requested URL"},"json":{"type":"string","description":"JSON data"}}},"SuccessResponse":{"type":"object","readOnly":true,"properties":{"id":{"oneOf":[{"type":"integer"},{"type":"string"}],"description":"Unique object identifier"}}},"SelectedProject":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Project ID"}}},"FacebookEmbed":{"type":"object","description":"https://developers.facebook.com/docs/plugins/oembed/","readOnly":true,"properties":{"version":{"type":"string","description":"E.g. 1.0"},"provider_url":{"type":"string","description":"E.g. https://www.facebook.com"},"provider_name":{"type":"string","description":"Facebook"},"type":{"type":"string","description":"E.g. rich"},"width":{"type":"integer","description":"E.g. 500"},"height":{"type":"integer","description":"E.g. 400"},"html":{"type":"string","description":"E.g. <div id=\"fb-root\"></div><script async=\"1\" defer=."}}},"XEmbed":{"type":"object","readOnly":true,"properties":{"version":{"type":"string","description":"E.g. 1.0"},"provider_url":{"type":"string","description":"E.g. https://www.facebook.com"},"provider_name":{"type":"string","description":"Twitter or X"},"author_url":{"type":"string","description":"E.g. https://twitter.com/kalousekm"},"author_name":{"type":"string","description":"E.g. Miroslav Kalousek"},"url":{"type":"string","description":"E.g. https://twitter.com/kalousekm/status/1859703530824794554"},"type":{"type":"string","description":"E.g. rich"},"width":{"type":"integer","description":"E.g. 500"},"height":{"type":"integer","description":"E.g. 400"},"html":{"type":"string","description":"E.g. <div id=\"fb-root\"></div><script async=\"1\" defer=."}}},"File":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"parent":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"folder":{"description":"Folder the file belongs to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Folder"}]},"owner":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"licence":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Licence"}]},"tags":{"type":"array","description":"List of tag IDs the file is connected to","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]}},"authors":{"type":"array","description":"List of authors","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]}},"children":{"type":"array","description":"List of child","readOnly":true,"items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]}},"name":{"maxLength":128,"type":"string","description":"Name; can be different from the real filename"},"code":{"maxLength":256,"type":"string","description":"Code used for file identification","readOnly":true},"contentType":{"maxLength":32,"type":"string","description":"Content type according to RFC 7231","readOnly":true},"title":{"maxLength":512,"type":"string","description":"The title can be shown as an image description for instance"},"size":{"type":"integer","description":"File size","readOnly":true},"variant":{"maxLength":32,"pattern":"^([a-z0-9_])+$","type":"string","description":"File variant"},"absoluteUrl":{"readOnly":true,"description":"Absolute path/paths to the file (assiciative array variant name to url)","oneOf":[{"type":"string","maxLength":512},{"type":"object","properties":{"original":{"type":"string","maxLength":512}}}]},"uploaded":{"type":"boolean","description":"Information on whether the file is successfully uploaded","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"FileStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"authors":{"type":"array","description":"List of authors","items":{"$ref":"#/components/schemas/AuthorStrip"}},"title":{"maxLength":512,"type":"string","description":"The title can be shown as an image description for instance"},"absoluteUrl":{"readOnly":true,"description":"Absolute path/paths to the file (assiciative array variant name to url)","oneOf":[{"type":"string","maxLength":512},{"type":"object","properties":{"original":{"type":"string","maxLength":512}}}]}}},"FileIngest":{"type":"object","properties":{"programme":{"maxLength":16,"type":"string","description":"Programme product ID"},"season":{"maxLength":16,"type":"string","description":"Season product ID"},"episode":{"maxLength":16,"type":"string","description":"Episode product ID"},"channels":{"type":"array","description":"List of channels","items":{"maxLength":16,"type":"string","description":"Channel ID","enum":["PRIMA","PRIMA_LOVE","PRIMA_COOL","PRIMA_ZOOM","PRIMA_MAX","PRIMA_KRIMI","CNN_PRIMA_NEWS","PLAYZONE"]}},"videoType":{"maxLength":32,"type":"string","description":"Video type","enum":["Sestřihy","Reportáže","BONUS","Rozhovory","Medailonky","Recepty","Upoutávky","Návody","Testy","EPISODE"]},"title":{"maxLength":128,"type":"string","description":"Title"},"episodeTitle":{"maxLength":128,"type":"string","description":"Episode title"},"annotation":{"maxLength":512,"type":"string","description":"Annotation"},"synopsis":{"maxLength":512,"type":"string","description":"Synopsis"},"authors":{"type":"array","description":"List of authors","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]}},"tags":{"type":"array","description":"List of tag IDs the file is connected to","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]}},"logo":{"type":"boolean","description":"Add project watermark?"},"validFrom":{"type":"string","description":"Date and time of publication from","format":"datetime"},"validTo":{"type":"string","description":"Date and time of publication end","format":"datetime"}}},"FileUsage":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"file":{"description":"The file","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"type":{"maxLength":32,"type":"string","enum":["quiz-competition","quiz-standard","quiz-survey","author","category","content","content-gallery","content-asset-image","content-asset-gallery"]},"quiz":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Quiz"}]},"author":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]},"category":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}]},"content":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"FileImageVariantGroup":{"type":"object","readOnly":true,"properties":{"name":{"type":"string","maxLength":64,"description":"Group name"},"variants":{"type":"array","items":{"$ref":"#/components/schemas/FileImageVariant"}}}},"FileImageVariant":{"type":"object","readOnly":true,"properties":{"name":{"type":"string","maxLength":64,"description":"Variant name"},"code":{"type":"string","maxLength":32,"description":"Variant code (used for API calls)"},"width":{"type":"integer","description":"Image width in px"},"height":{"type":"integer","description":"Image height in px"},"ratio":{"type":"string","maxLength":8,"enum":["169","11","21","31"],"description":"Image ratio when it is group image"}}},"Folder":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"parent":{"description":"The folder ID of the parent folder","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Folder"}]},"owner":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"name":{"type":"string","description":"Name"},"options":{"type":"array","description":"Additional options","items":{"maxLength":32,"type":"string"}}}},"Gallery":{"required":["title","views"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"views":{"type":"array","description":"List of view IDs the gallery is connected to","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/View"}]}},"active":{"type":"boolean","description":"Information on whether the gallery revision is active","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"HomepageStrip":{"type":"array","items":{"$ref":"#/components/schemas/QueueStrip"}},"Horoscope":{"type":"object","required":["content","type","sign","date"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"content":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"type":{"type":"string","maxLength":16,"description":"The horoscope type","enum":["daily","weekly","monthly","yearly","partner","chinese","erotic","characteristics","ascendent"]},"sign":{"type":"string","maxLength":16,"description":"The sign of the zodiac","enum":["aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces","buffalo","dog","dragon","goat","hare","horse","monkey","rat","rooster","snake","swine","tiger"]},"sign2":{"type":"string","maxLength":16,"nullable":true,"description":"The sign of the zodiac (partner)","enum":["aries","taurus","gemini","cancer","leo","virgo","libra","scorpio","sagittarius","capricorn","aquarius","pisces"]},"date":{"type":"string","nullable":true,"description":"Date of the horoscope","format":"date"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"Licence":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":32,"type":"string","description":"Name"},"description":{"maxLength":512,"type":"string","description":"Description"},"data":{"type":"object","properties":{},"description":"Additional data"}}},"Project":{"required":["domain","name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string","description":"Name (only for internal purposes)"},"code":{"maxLength":32,"type":"string","description":"Code"},"description":{"maxLength":512,"type":"string","description":"Description (only for internal purposes)"},"domain":{"maxLength":32,"type":"string","description":"Domain name dedicated to the project"},"options":{"type":"array","description":"List of active options","items":{"maxLength":32,"type":"string","enum":["cms","video-embed","vcms","people","strip","creator","recipes","magazines","maintenance","basic_cms","custom_menu","homepage","info_main","info_live_video","basic_configuration","frontend_homepage","frontend_custom_menu","section_people","section_consumer_videos","section_ticker","section_footer","section_queues","section_cna","section_recipe","section_magazine"]}},"config":{"type":"object","properties":{"layout":{"type":"object","properties":{"appId":{"type":"string","description":"UUID of layout app"}}},"contentFooter":{"type":"object"},"filters":{"type":"array","items":{"type":"object"}},"cms":{"type":"object","properties":{"detectDesign":{"type":"boolean","description":"Enable detect design feature before store the article"},"summary":{"type":"boolean","description":"Display summary in the article form with autocomplete feature"}}}}},"active":{"type":"boolean","description":"Information on whether the project is active"}}},"Question":{"required":["quiz","text"],"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier","readOnly":true},"quiz":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Quiz"}]},"answers":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Answer"}]}},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"type":{"maxLength":32,"type":"string","enum":["select-one-from-many","select-many-from-many","select-one-from-many-images","select-many-from-many-images","input-text-32","input-text-64","input-text-128","input-text-256","input-text-512","input-text-email","input-text-number","input-text-integer"]},"text":{"maxLength":512,"type":"string","description":"Text"},"sorting":{"minimum":0,"type":"integer","description":"Number defining the order"},"options":{"type":"array","description":"Additional options","items":{"maxLength":32,"type":"string"}}}},"ProgrammeStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"projectCode":{"type":"string","maxLength":32},"title":{"maxLength":256,"type":"string","description":"Current title"},"leadParagraph":{"type":"string","description":"Current lead paragraph"},"absoluteUrl":{"type":"string","maxLength":512},"previewUrl":{"type":"string","maxLength":512,"description":"Video preview URL"},"external":{"type":"boolean","description":"Is programme on the different domain?"},"genres":{"type":"array","items":{"type":"string","maxLength":32}},"authors":{"type":"array","description":"List of authors","items":{"type":"string","maxLength":64}},"image":{"type":"object","description":"Main image","properties":{"variant":{"type":"string","description":"Absolute URL to the image with the given variant"}}},"validFrom":{"type":"string","description":"Date and time of content launch","format":"date-time"}}},"Route":{"required":["url"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"url":{"maxLength":512,"type":"string","description":"Url without domain name"},"alias":{"maxLength":512,"type":"string","description":"Url alias"},"hash":{"maxLength":64,"type":"string","description":"Url hash (only for internal purpose)","readOnly":true},"urlOut":{"maxLength":512,"type":"string","description":"Absolute url including protocol"},"redirect":{"type":"integer","description":"HTTP redirection code"},"content":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"category":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}]},"tag":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]},"author":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]},"recipeIngredient":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/RecipeIngredient"}]},"reserved":{"type":"boolean","description":"Is the route reserved for the internal purpose?"},"canonical":{"type":"boolean","description":"Is the route canonical?"},"note":{"maxLength":32,"type":"string","description":"Note"},"lastUpdateAt":{"type":"string","description":"Date and time of last update","format":"datetime","readOnly":true}}},"Recipe":{"type":"object","required":["title","text","portions","time","items"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"text":{"type":"string","description":"Recipe content"},"portions":{"type":"integer","minimum":1,"maximum":16,"description":"Number of portions"},"time":{"type":"integer","minimum":1,"maximum":300,"description":"Preparation time in minutes"},"calories":{"type":"integer","minimum":1,"maximum":16384,"description":"Number of calories in kcal"},"cuisine":{"type":"string","maxLength":32,"enum":["belgian","french","hungarian","greek","swiss","african","brazilian","indian","moroccan","gypsy","syrian","alsatian","italian","mexican","russian","thai","american","czech","israeli","german","scandinavian","english","turkish","croatian","japanese","norwegian","slovak","ukrainian","arabic","chinese","southern","oriental","spanish","vietnamese","asian","australian","filipino","caribbean","polish","mediterranean","jewish","balkan","finnish","creole","austrian","swedish"]},"items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/RecipeItem"}]}},"active":{"type":"boolean","description":"Information on whether the article revision is active","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"RecipeItem":{"type":"object","required":["ingredient","quantity","sorting"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"ingredient":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/RecipeIngredient"}]},"section":{"type":"string","maxLength":128,"description":"Section name"},"quantity":{"type":"string","maxLength":128,"description":"Quantity including unit (kg, ml, etc.)"},"description":{"type":"string","maxLength":128,"nullable":true,"description":"Additional description"},"sorting":{"type":"integer","minimum":0,"maximum":1024,"description":"Number defining the order"}}},"RecipeIngredient":{"type":"object","required":["title"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}],"description":"Main image"},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true},"routes":{"type":"array","description":"Related routes","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Route"}]}},"leadParagraph":{"maxLength":512,"type":"string","description":"Lead paragraph"},"text":{"type":"string","description":"Text"},"keywords":{"maxLength":128,"type":"string","description":"Keywords"},"description":{"maxLength":512,"type":"string","description":"Description"},"secondCase":{"type":"string","maxLength":256,"description":"Second case of name","nullable":true}}},"RelatedContent":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"content":{"type":"object","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"video":{"$ref":"#/components/schemas/Video"},"programme":{"type":"string","maxLength":256,"description":"Programme ID"},"url":{"type":"string","maxLength":256,"format":"uri","description":"Absolute URL to the content"}}},"Result":{"type":"object","properties":{"question":{"type":"integer","description":"Unique question identifier"},"answer":{"type":"integer","description":"Unique answer identifier"},"result":{"type":"integer","description":"The answer counter"}}},"SpecialTag":{"required":["code","name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string","description":"Name"},"code":{"maxLength":32,"type":"string","description":"Code (used for CSS/JS)"},"options":{"type":"array","description":"Additional options","items":{"maxLength":32,"type":"string"}}}},"Staff":{"required":["email","name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"author":{"description":"The author ID the staff member is connected to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Author"}]},"permissions":{"type":"array","items":{"$ref":"#/components/schemas/Permission"}},"name":{"maxLength":64,"type":"string","description":"An administrator’s name; only for internal purposes"},"email":{"maxLength":64,"type":"string","description":"An email address; used for authentication and communicating with staff","format":"email"},"supervisor":{"type":"boolean","description":"Information on whether the staff is supervisor"},"active":{"type":"boolean","description":"Information on whether the staff is active"}}},"Sorting":{"type":"object","properties":{"ancestor":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier"},"sorting":{"type":"integer","description":"Sorting value"}}},"descendant":{"type":"object","properties":{"id":{"type":"integer","description":"Unique identifier"},"sorting":{"type":"integer","description":"Sorting value"}}}}},"SortingValue":{"type":"integer","description":"Sorting value"},"TextRequest":{"required":["projectId","text"],"type":"object","properties":{"projectId":{"type":"integer","description":"Project ID"},"text":{"type":"string","description":"HTML text included assets"}}},"TextResponse":{"type":"object","properties":{"text":{"type":"string","description":"HTML text"}}},"Ticker":{"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"category":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Category"}]},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"route":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Route"}]},"tickerWeb":{"type":"string","maxLength":256,"description":"Ticker (only for web)"},"tickerHbbTV":{"type":"string","maxLength":256,"description":"Ticker (only for HbbTV)"},"tickerTV":{"type":"string","maxLength":256,"description":"Ticker (only for TV)"},"title":{"type":"string","maxLength":256,"description":"Title (only for HbbTV)"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph (only for HbbTV)"},"teaser":{"type":"boolean","description":"Will be displayed as teaser (only for TV)"},"teaserTime":{"type":"string","pattern":"^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$","description":"Teaser time in 24h pattern (only for TV)"},"teaserLabel":{"type":"string","maxLength":128,"description":"Teaser label (only for TV)"},"breakingNews":{"type":"boolean","description":"Will be displayed as breaking news"},"importantNews":{"type":"boolean","description":"Will be displayed as important message (only for HbbTV)"},"logoRight":{"type":"boolean","description":"Move logo on the right side (only for HbbTV)"},"push":{"type":"boolean","description":"Force displaying the message (only for HbbTV)"},"channels":{"type":"array","items":{"type":"string","maxLength":64},"description":"Define exact channel (only for HbbTV)"},"limit":{"type":"integer","maximum":1024,"minimum":1,"description":"How many times the message will be displayed on the one device (only for HbbTV)"},"duration":{"type":"integer","maximum":300,"minimum":1,"description":"How many seconds the message will be displayed (only for HbbTV)"},"validFrom":{"type":"string","description":"Date and time of publication from","format":"datetime"},"validTo":{"type":"string","description":"Date and time of publication end","format":"datetime"},"web":{"type":"boolean","description":"Is published on web platform?"},"hbbTV":{"type":"boolean","description":"Is published on HbbTV platform?"},"tv":{"type":"boolean","description":"Is published on television platform?"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"UnifyRequest":{"type":"object","properties":{"target":{"type":"integer","description":"Target ID"},"source":{"type":"array","description":"Source IDs which will be unify to target and then deleted","items":{"type":"integer"}}}},"UploadResponse":{"type":"object","properties":{"id":{"type":"integer","description":"File ID"},"hash":{"type":"string","description":"128 characters length hash"}}},"Permission":{"required":["project","role","staff"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"staff":{"description":"The staff ID the permission is connected to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]},"project":{"description":"The project ID the permission is connected to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"role":{"maxLength":32,"type":"string","description":"User role for the given project","enum":["ROLE_ADMINISTRATOR","ROLE_EDITOR"]}}},"Quiz":{"required":["title"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"project":{"readOnly":true,"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"content":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Content"}]},"questions":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Question"}]}},"type":{"maxLength":32,"type":"string","description":"Type","enum":["quiz-competition","quiz-standard","quiz-survey"]},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)"},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks"},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"prizes":{"maxLength":1024,"type":"string","description":"Prizes, separated by new line"},"rules":{"maxLength":4096,"type":"string","description":"Quiz rules (in HTML)"},"conclusion":{"maxLength":4096,"type":"string","description":"Information after quiz is sent (in HTML)"},"congratulation":{"maxLength":4096,"type":"string","description":"Page with winners (in HTML)"},"authPrima":{"type":"boolean","description":"Is authentication required for filling/sending the Quiz?"},"authEmail":{"type":"boolean","description":"Is authentication required for filling/sending the Quiz?"},"oneAnswer":{"type":"boolean","description":"The user can vote only once"},"oneAnswerPerDay":{"type":"boolean","description":"The user can vote only once a day"},"address":{"type":"boolean","description":"Is the address required?"},"phone":{"type":"boolean","description":"Is the phone required?"},"numberOfAnswers":{"type":"integer","minimum":0,"maximum":64,"description":"Number of possible answers"},"hideResults":{"type":"boolean","description":"Temporarily hide the survey results"},"displayLabels":{"type":"boolean","description":"Display images labels (valid for images quizzes)"},"customClass":{"type":"string","maxLength":64,"description":"Configure quiz displaying"},"name":{"maxLength":32,"type":"string","description":"Name"},"result":{"type":"object","properties":{},"description":"Custom results"},"active":{"type":"boolean","description":"Information on whether the quiz is active"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"Tag":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"maxLength":64,"type":"string","description":"Name"},"nameWithCount":{"maxLength":128,"type":"string","readOnly":true,"description":"Name with number of uses"},"routes":{"type":"array","description":"Related routes","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Route"}]}},"absoluteUrl":{"maxLength":512,"type":"string","readOnly":true,"description":"Absolute URL for selected project"},"strength":{"maximum":10,"minimum":1,"type":"integer","description":"Tag strength is used for tag prioritization and search optimization"},"note":{"maxLength":64,"type":"string","description":"Note"},"keywords":{"maxLength":128,"type":"string","description":"Keywords"},"description":{"maxLength":512,"type":"string","description":"Description"},"count":{"type":"integer","readOnly":true,"description":"Number of uses"},"options":{"type":"array","description":"Additional options used for tag customization","items":{"maxLength":32,"type":"string"}}}},"Token":{"type":"object","properties":{"token":{"maxLength":64,"type":"string","description":"Temporary token"},"expireAfter":{"type":"integer","description":"Number of seconds token expires"}}},"OmnyProgram":{"type":"object","readOnly":true,"properties":{"id":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":256},"slug":{"type":"string","maxLength":256},"description":{"type":"string","maxLength":4096},"publisher":{"type":"string","maxLength":256},"image":{"type":"string","maxLength":512,"description":"Link to the image"},"category":{"type":"string","maxLength":256}}},"OmnyClip":{"type":"object","readOnly":true,"properties":{"id":{"type":"string","maxLength":64},"programId":{"type":"string","maxLength":64},"title":{"type":"string","maxLength":256},"slug":{"type":"string","maxLength":256},"description":{"type":"string","maxLength":4096},"tags":{"type":"array","items":{"type":"string","maxLength":64}},"image":{"type":"string","maxLength":512,"description":"Link to the image"},"duration":{"type":"number","description":"Duration in seconds"},"url":{"type":"string","description":"Link to the clip"},"publishedAt":{"type":"string","description":"Date and time of publication","format":"datetime"}}},"Passwords":{"required":["current","new"],"type":"object","properties":{"current":{"maxLength":64,"type":"string","description":"Current password as a plane text"},"new":{"maxLength":64,"type":"string","description":"New password as a plane text"}}},"Person":{"type":"object","required":["name"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"name":{"type":"string","maxLength":64,"description":"Firstname and surname"},"degreeBeforeName":{"type":"string","maxLength":16,"description":"Degree before name"},"degreeAfterName":{"type":"string","maxLength":16,"description":"Degree after name"},"salutation":{"type":"string","maxLength":64,"description":"Ie. Dear Mr. John Dow"},"job":{"type":"string","maxLength":64,"description":"I.e. engineer"},"email":{"type":"string","format":"email","maxLength":64,"description":"An email address; used for sending notifications"},"emailSecondary":{"type":"string","format":"email","maxLength":64,"description":"An email address"},"phone":{"type":"string","maxLength":32,"pattern":"^\\+[1-9]\\d{1,14}$","description":"Phone number according to E.164 recommendation"},"phoneSecondary":{"type":"string","maxLength":32,"pattern":"^\\+[1-9]\\d{1,14}$","description":"Phone number according to E.164 recommendation"},"address":{"type":"string","maxLength":128,"description":"Address"},"organization":{"type":"string","maxLength":64},"noteGray":{"type":"string"},"noteGreen":{"type":"string"},"noteRed":{"type":"string"},"photo":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}],"description":"The person’s public photo"},"tags":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Tag"}]},"description":"The tags that are connected to"},"documents":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"description":"List of files the person is connected to"},"private":{"type":"boolean","description":"Is a person private? Only small group of information will be shown to a viewer"},"updatedAt":{"type":"string","description":"Date and time of update","format":"datetime","readOnly":true},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"Lock":{"type":"object","required":["type","objectId"],"properties":{"type":{"maxLength":16,"type":"string","description":"Lock type","enum":["content","configuration"]},"objectId":{"type":"string","maxLength":64,"description":"Unique identifier according to the type"},"staff":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique staff identifier"},"name":{"type":"string","description":"Name"},"email":{"type":"string","description":"Email"}}},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"LostPassword":{"required":["email"],"type":"object","properties":{"email":{"maxLength":64,"type":"string","description":"Email","format":"email"}}},"List":{"type":"object","properties":{"key":{"maxLength":32,"type":"string","description":"Key"},"value":{"maxLength":256,"type":"string","description":"Key"}}},"LiveArticle":{"required":["name"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"project":{"description":"The project ID the live article is connected to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"name":{"maxLength":128,"type":"string","description":"Name"},"design":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"owners":{"type":"array","description":"List of owners","items":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Staff"}]}},"active":{"type":"boolean","description":"Information on whether the live article is active"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"LiveArticleItem":{"required":["liveArticle","text"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"liveArticle":{"description":"The live article ID the live article item is connected to","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/LiveArticle"}]},"design":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Design"}]},"subject":{"maxLength":256,"type":"string","description":"Subject"},"text":{"type":"string","description":"HTML text"},"options":{"type":"object","properties":{},"description":"Additional options"},"updatedAt":{"type":"string","description":"Date and time of update (shown)","format":"datetime"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"LostPasswordChange":{"required":["email","password","token"],"type":"object","properties":{"email":{"maxLength":64,"type":"string","description":"Email (from an URL request)","format":"email"},"password":{"maxLength":64,"minLength":8,"type":"string","description":"Password as a plane text"},"token":{"maxLength":64,"type":"string","description":"Token (from an URL request)"}}},"TUSFile":{"required":["ID","MetaData","Offset","Size"],"type":"object","properties":{"ID":{"maxLength":32,"type":"string","description":"TUS ID"},"Size":{"type":"integer","description":"Filesize (in bytes)"},"SizeIsDeferred":{"type":"boolean","description":"Is size deferred?"},"Offset":{"type":"integer","description":"Offset of uploaded data (in bytes)"},"MetaData":{"type":"object","properties":{},"description":"Metadata about the file"},"IsPartial":{"type":"boolean","description":"Is partial?"},"IsFinal":{"type":"boolean","description":"Is final?"},"PartialUploads":{"type":"string","description":"Partial uploads"}}},"View":{"required":["type"],"type":"object","properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"image":{"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"video":{"$ref":"#/components/schemas/Video"},"title":{"maxLength":512,"type":"string","description":"Title; overrides the file title if it exists"},"text":{"type":"string","description":"Content"},"type":{"maxLength":16,"type":"string","description":"How the images are displayed on the front-end"},"sorting":{"minimum":0,"type":"integer","description":"Number defining the order"}}},"InfoStrip":{"type":"object","readOnly":true,"properties":{"title":{"type":"string","maxLength":128},"image":{"$ref":"#/components/schemas/FileStrip"},"cta":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":32},"link":{"type":"string","description":"CTA link","maxLength":512,"format":"uri"}}}},"timeline":{"type":"array","items":{"type":"object","properties":{"time":{"type":"string","format":"datetime"},"title":{"type":"string","maxLength":256},"image":{"$ref":"#/components/schemas/FileStrip"},"link":{"type":"string","maxLength":512,"format":"uri"}}}},"contents":{"type":"array","items":{"$ref":"#/components/schemas/ContentStrip"}},"customClass":{"type":"string","maxLength":64}}},"InfoLiveVideoStrip":{"type":"object","readOnly":true,"properties":{"title":{"type":"string","maxLength":128,"description":"Title"},"video":{"$ref":"#/components/schemas/Video"},"absoluteUrl":{"type":"string","maxLength":512,"format":"uri","description":"Link to the content"},"active":{"type":"boolean","description":"Is the live video active?"}}},"Magazine":{"type":"object","required":["image","title","leadParagraph","text","publishedAt"],"properties":{"id":{"type":"integer","description":"Unique object identifier","readOnly":true},"project":{"readOnly":true,"oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/Project"}]},"image":{"description":"Cover page image","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"image2":{"description":"Detail image","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"magazine":{"description":"Magazine in PDF format","oneOf":[{"$ref":"#/components/schemas/Id"},{"$ref":"#/components/schemas/File"}]},"title":{"maxLength":256,"type":"string","description":"Title"},"titleSEO":{"maxLength":256,"type":"string","description":"Title (dedicated title for SEO reason)","nullable":true},"titleSN":{"maxLength":256,"type":"string","description":"Title for social networks","nullable":true},"slug":{"maxLength":256,"type":"string","readOnly":true},"leadParagraph":{"maxLength":1024,"type":"string","description":"Lead paragraph"},"text":{"type":"string","description":"Article content"},"tag":{"maxLength":64,"type":"string","nullable":true,"description":"Main tag"},"video":{"$ref":"#/components/schemas/Video"},"active":{"type":"boolean","description":"Information on whether the magazine is visible"},"publishedAt":{"type":"string","description":"Date and time of publication","format":"date"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime","readOnly":true}}},"MenuStrip":{"type":"object","readOnly":true,"properties":{"title":{"type":"string","maxLength":256},"type":{"type":"string","maxLength":16,"enum":["content","category","tag","link"]},"absoluteUrl":{"type":"string","maxLength":512,"format":"uri"},"out":{"type":"boolean","description":"Is absoluteUrl leads out? (Means new tab should be opened)"},"image":{"type":"string","maxLength":512,"format":"uri"},"customClass":{"type":"string","maxLength":64,"description":"Category menu custom class to customize design"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"},"related":{"type":"array","items":{"$ref":"#/components/schemas/MenuStripWithoutRelated"}}}},"MenuStripWithoutRelated":{"type":"object","readOnly":true,"properties":{"title":{"type":"string","maxLength":256},"type":{"type":"string","maxLength":16,"enum":["content","category","tag","link"]},"absoluteUrl":{"type":"string","maxLength":512,"format":"uri"},"out":{"type":"boolean","description":"Is absoluteUrl leads out? (Means new tab should be opened)"},"image":{"type":"string","maxLength":512,"format":"uri"},"createdAt":{"type":"string","description":"Date and time of creation","format":"datetime"}}},"Info":{"type":"object","required":["title","cta","contents"],"properties":{"title":{"type":"string","maxLength":128,"description":"Title"},"image":{"$ref":"#/components/schemas/Id"},"cta":{"type":"array","items":{"type":"object","required":["label","link"],"properties":{"label":{"type":"string","maxLength":32},"link":{"type":"string","description":"CTA link","maxLength":512,"format":"uri"}}}},"timelineLiveArticle":{"$ref":"#/components/schemas/Id"},"timelineContents":{"type":"array","description":"Content IDs","items":{"$ref":"#/components/schemas/Id"}},"contents":{"type":"array","description":"Content IDs","items":{"$ref":"#/components/schemas/Id"}},"customClass":{"type":"string","maxLength":64,"description":"Custom class"}}},"InfoLiveVideo":{"type":"object","required":["video","active"],"properties":{"title":{"type":"string","nullable":true,"maxLength":128,"description":"Title"},"video":{"$ref":"#/components/schemas/Video"},"content":{"$ref":"#/components/schemas/Id"},"link":{"type":"string","maxLength":512,"format":"uri","description":"Link to the content"},"active":{"type":"boolean","description":"Is the live video active?"}}},"ContentLists":{"type":"array","items":{"$ref":"#/components/schemas/ContentList"}},"ContentList":{"type":"object","required":["name","code","items"],"properties":{"name":{"type":"string","maxLength":32,"description":"Name"},"code":{"type":"string","maxLength":32,"description":"Code (i.e. top, footer, etc.)"},"items":{"type":"array","items":{"$ref":"#/components/schemas/ContentListItem"}}}},"ContentListItem":{"type":"object","required":["title","type","id"],"properties":{"title":{"type":"string","maxLength":256,"description":"Title used on frontend"},"type":{"type":"string","maxLength":32,"enum":["category","content","tag","link"]},"id":{"oneOf":[{"type":"integer","minimum":1,"description":"Category ID, content ID or tag ID"},{"type":"string","maxLength":256,"format":"uri","description":"URL to the content"}]},"out":{"type":"boolean","description":"Is the link, content or category lead out?"}}},"Queues":{"type":"array","items":{"$ref":"#/components/schemas/Queue"}},"Queue":{"type":"object","required":["index","type","name","title","source","active","disabled"],"properties":{"index":{"type":"integer","minimum":1,"description":"Unique identifier; used to order queues"},"type":{"type":"string","maxLength":32,"description":"Type of list, determines the design","enum":["head","topic","list","video"]},"name":{"type":"string","maxLength":32,"description":"Internal name"},"title":{"type":"string","maxLength":256,"description":"Title used on the frontend"},"source":{"type":"string","maxLength":32,"description":"Data source","enum":["content","video","programme","category"]},"sourceId":{"type":"integer","nullable":true,"minimum":1,"description":"Category or programme ID"},"sourceIndex":{"type":"integer","nullable":true,"minimum":1,"description":"The source queue index"},"code":{"type":"string","maxLength":32,"description":"Code (i.e. top, footer, etc.)"},"numberOfItems":{"type":"integer","minimum":0,"maximum":24,"description":"Number of items in the list"},"linkNext":{"type":"string","format":"uri","description":"Link to display more"},"options":{"type":"array","items":{"$ref":"#/components/schemas/Option"}},"active":{"type":"boolean","description":"Is this front active?"},"disableItems":{"type":"boolean","description":"If disabled, the item is not clickable in the UI. The purpose is the front should be empty."},"items":{"type":"array","items":{"$ref":"#/components/schemas/QueueItem"}}}},"QueueItem":{"type":"object","required":["index","type","id"],"properties":{"index":{"type":"integer","minimum":1,"description":"Unique identifier; used to order items"},"type":{"type":"string","maxLength":32,"enum":["content","video","programme","category"]},"title":{"type":"string","maxLength":256,"description":"Custom title"},"id":{"type":"integer","minimum":1,"description":"Content ID, category ID, video NID or programme NID"},"image":{"type":"integer","minimum":1,"description":"Custom image; file ID"},"locked":{"type":"boolean","description":"Is the item locked on that position?"},"related":{"type":"array","items":{"$ref":"#/components/schemas/QueueItemBrief"}}}},"QueueItemBrief":{"type":"object","required":["index","type","id"],"properties":{"index":{"type":"integer","minimum":1,"description":"Unique identifier; used to order items"},"type":{"type":"string","maxLength":32,"enum":["content","video","programme","category"]},"title":{"type":"string","maxLength":256,"description":"Custom title"},"id":{"type":"integer","minimum":1,"description":"Content ID, category ID, video NID or programme NID"},"image":{"type":"integer","minimum":1,"description":"Custom image; file ID"}}},"QueueStrip":{"type":"object","properties":{"type":{"type":"string","maxLength":32,"description":"Type of list, determines the design","enum":["head","topic","list","video"]},"title":{"type":"string","maxLength":256,"description":"Title used on the frontend"},"source":{"type":"string","maxLength":32,"description":"Data source","enum":["content","video","programme","category"]},"category":{"type":"integer","nullable":true,"minimum":1,"description":"Category ID (for automatic queue)"},"programme":{"type":"integer","nullable":true,"minimum":1,"description":"Programme ID (for automatic queue)"},"code":{"type":"string","maxLength":32,"description":"Code (i.e. top, footer, etc.)"},"customClass":{"type":"string","maxLength":32},"numberOfItems":{"type":"integer","minimum":0,"maximum":24,"description":"Number of items in the list"},"image":{"$ref":"#/components/schemas/FileStrip"},"linkNext":{"type":"string","format":"uri","description":"Link to display more"},"items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/ContentStrip"},{"$ref":"#/components/schemas/VideoStrip"},{"$ref":"#/components/schemas/ProgrammeStrip"},{"$ref":"#/components/schemas/CategoryStrip"}]}}}},"Option":{"oneOf":[{"$ref":"#/components/schemas/FirstLargeOption"},{"$ref":"#/components/schemas/CustomClassOption"},{"$ref":"#/components/schemas/ImageOption"}]},"FirstLargeOption":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","default":"first-large"},"value":{"type":"boolean","description":"Highlight the first item from the list?"}}},"CustomClassOption":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","default":"custom-class"},"value":{"type":"string","maxLength":64,"description":"Custom classes"}}},"ImageOption":{"type":"object","required":["key","value"],"properties":{"key":{"type":"string","default":"image"},"value":{"type":"integer","description":"Image ID"}}},"Video":{"type":"object","required":["type","id"],"properties":{"type":{"maxLength":32,"type":"string","enum":["video","youtube","vimeo","facebook","rtmp"]},"id":{"type":"string","maxLength":512,"description":"Video NID, hash or link according to the type"}}},"VideoStrip":{"type":"object","readOnly":true,"properties":{"id":{"type":"integer","description":"Unique object identifier"},"projectCode":{"type":"string","maxLength":32},"title":{"maxLength":256,"type":"string","description":"Current title"},"leadParagraph":{"type":"string","description":"Current lead paragraph"},"webUrl":{"type":"string","maxLength":512},"previewUrl":{"type":"string","maxLength":512,"description":"Video preview URL"},"external":{"type":"boolean","description":"Is video on the different domain?"},"genres":{"type":"array","items":{"type":"string","maxLength":32}},"authors":{"type":"array","description":"List of authors","items":{"type":"string","maxLength":64}},"image":{"type":"object","description":"Main image","properties":{"variant":{"type":"string","description":"Absolute URL to the image with the given variant"}}},"video":{"$ref":"#/components/schemas/Video"},"length":{"type":"integer","description":"Video length in seconds"},"year":{"type":"integer","description":"Year of creation"},"countries":{"type":"array","nullable":true,"items":{"type":"string"}},"validFrom":{"type":"string","description":"Date and time of content launch","format":"date-time"}}},"VideoJWT":{"type":"object","readOnly":true,"properties":{"token":{"type":"string","maxLength":1024},"expireAt":{"type":"string","format":"datetime"}}}},"securitySchemes":{"ROLE_SUPERVISOR":{"type":"apiKey","description":"Authentication and authorization for users who are supervisors","name":"X-Token","in":"header"},"ROLE_ADMINISTRATOR":{"type":"apiKey","description":"Authentication and authorization for users who are project administrators","name":"X-Token","in":"header"},"ROLE_EDITOR":{"type":"apiKey","description":"Authentication and authorization for users who are project editors","name":"X-Token","in":"header"},"ROLE_PR":{"type":"apiKey","description":"Authentication and authorization for users who are PR","name":"X-Token","in":"header"},"ROLE_NONE":{"type":"apiKey","description":"Authentication for users who does not selected a project","name":"X-Token","in":"header"},"ROLE_ANONYMOUS":{"type":"apiKey","description":"Not authenticated users","name":"X-Token","in":"header"},"ROLE_APPLICATION":{"type":"apiKey","description":"Authentication and authorization for external applications","name":"X-Api-Key","in":"header"}}}}