diff --git a/src/api/article/controllers/article.ts b/src/api/article/controllers/article.ts index f87024d..bb15417 100644 --- a/src/api/article/controllers/article.ts +++ b/src/api/article/controllers/article.ts @@ -4,4 +4,25 @@ import { factories } from '@strapi/strapi' -export default factories.createCoreController('api::article.article'); +export default factories.createCoreController('api::article.article', ({ strapi }) => ({ + async distinctYears(ctx) { + try { + const years = await strapi.service('api::article.article').getDistinctYears(); + ctx.body = years; + } catch (err) { + ctx.throw(500, err); + } + }, + + async findByYear(ctx) { + try { + const { year } = ctx.params; + const { page = '1', pageSize = '10' } = ctx.query as { page?: string, pageSize?: string }; + + const result = await strapi.service('api::article.article').findByYear(year, parseInt(page), parseInt(pageSize)); + ctx.body = result; + } catch (err) { + ctx.throw(500, err); + } + }, +})); diff --git a/src/api/article/routes/article.ts b/src/api/article/routes/article.ts index 5c36ce3..21da406 100644 --- a/src/api/article/routes/article.ts +++ b/src/api/article/routes/article.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::article.article'); +export default factories.createCoreRouter('api::article.article', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + }, +}); diff --git a/src/api/article/routes/extend-article.ts b/src/api/article/routes/extend-article.ts new file mode 100644 index 0000000..151cb44 --- /dev/null +++ b/src/api/article/routes/extend-article.ts @@ -0,0 +1,20 @@ +export default { + routes: [ + { + method: 'GET', + path: '/custom/articles/distinct-years', + handler: 'api::article.article.distinctYears', + config: { + auth: false, + }, + }, + { + method: 'GET', + path: '/custom/articles/year/:year', + handler: 'api::article.article.findByYear', + config: { + auth: false, + }, + }, + ] +}; \ No newline at end of file diff --git a/src/api/article/services/article.ts b/src/api/article/services/article.ts index 29e9d27..05cc88d 100644 --- a/src/api/article/services/article.ts +++ b/src/api/article/services/article.ts @@ -3,5 +3,57 @@ */ import { factories } from '@strapi/strapi'; +import { parseISO, getYear } from 'date-fns'; -export default factories.createCoreService('api::article.article'); +export default factories.createCoreService('api::article.article', ({strapi}) => ({ + async getDistinctYears() { + const articles = await strapi.query("api::article.article").findMany({ + select: ['date'], + }); + + const years = articles + .map(article => getYear(parseISO(article.date + ""))) + .filter((year, index, self) => self.indexOf(year) === index) + .sort((a, b) => b - a); + + return years; + }, + + async findByYear(year:string, page = 1, pageSize = 10) { + const startOfYear = new Date(`${year}-01-01T00:00:00.000Z`); + const endOfYear = new Date(`${year}-12-31T23:59:59.999Z`); + + const articles = await strapi.query("api::article.article").findMany({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + limit: pageSize, + offset: (page - 1) * pageSize, + orderBy: { date: 'desc' }, + }); + + const totalArticles = await strapi.query("api::article.article").count({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + }); + + return { + data: articles, + meta: { + pagination: { + page, + pageSize, + pageCount: Math.ceil(totalArticles / pageSize), + total: totalArticles, + }, + }, + }; + }, +})); diff --git a/src/api/collection-lookup/content-types/collection-lookup/schema.json b/src/api/collection-lookup/content-types/collection-lookup/schema.json index 5302923..46fb3a8 100644 --- a/src/api/collection-lookup/content-types/collection-lookup/schema.json +++ b/src/api/collection-lookup/content-types/collection-lookup/schema.json @@ -20,7 +20,12 @@ "type": "uid", "required": true }, - "imageItem": { + "image_item": { + "type": "boolean", + "default": false, + "required": true + }, + "date_list": { "type": "boolean", "default": false, "required": true diff --git a/src/api/collection-lookup/routes/collection-lookup.ts b/src/api/collection-lookup/routes/collection-lookup.ts index dc73214..67d0812 100644 --- a/src/api/collection-lookup/routes/collection-lookup.ts +++ b/src/api/collection-lookup/routes/collection-lookup.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::collection-lookup.collection-lookup'); +export default factories.createCoreRouter('api::collection-lookup.collection-lookup', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + } +}); diff --git a/src/api/event/controllers/event.ts b/src/api/event/controllers/event.ts index 9725955..804b65c 100644 --- a/src/api/event/controllers/event.ts +++ b/src/api/event/controllers/event.ts @@ -4,4 +4,25 @@ import { factories } from '@strapi/strapi' -export default factories.createCoreController('api::event.event'); +export default factories.createCoreController('api::event.event', ({ strapi }) => ({ + async distinctYears(ctx) { + try { + const years = await strapi.service('api::event.event').getDistinctYears(); + ctx.body = years; + } catch (err) { + ctx.throw(500, err); + } + }, + + async findByYear(ctx) { + try { + const { year } = ctx.params; + const { page = '1', pageSize = '10' } = ctx.query as { page?: string, pageSize?: string }; + + const result = await strapi.service('api::event.event').findByYear(year, parseInt(page), parseInt(pageSize)); + ctx.body = result; + } catch (err) { + ctx.throw(500, err); + } + }, +})); diff --git a/src/api/event/routes/event.ts b/src/api/event/routes/event.ts index bea7eaa..c94599f 100644 --- a/src/api/event/routes/event.ts +++ b/src/api/event/routes/event.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::event.event'); +export default factories.createCoreRouter('api::event.event', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + } +}); diff --git a/src/api/event/routes/extend-event.ts b/src/api/event/routes/extend-event.ts new file mode 100644 index 0000000..57e896b --- /dev/null +++ b/src/api/event/routes/extend-event.ts @@ -0,0 +1,20 @@ +export default { + routes: [ + { + method: 'GET', + path: '/custom/events/distinct-years', + handler: 'api::event.event.distinctYears', + config: { + auth: false, + }, + }, + { + method: 'GET', + path: '/custom/events/year/:year', + handler: 'api::event.event.findByYear', + config: { + auth: false, + }, + }, + ] +}; \ No newline at end of file diff --git a/src/api/event/services/event.ts b/src/api/event/services/event.ts index 8fe1b33..62879ae 100644 --- a/src/api/event/services/event.ts +++ b/src/api/event/services/event.ts @@ -3,5 +3,57 @@ */ import { factories } from '@strapi/strapi'; +import { parseISO, getYear } from 'date-fns'; -export default factories.createCoreService('api::event.event'); +export default factories.createCoreService('api::event.event', ({strapi}) => ({ + async getDistinctYears() { + const articles = await strapi.query("api::event.event").findMany({ + select: ['date'], + }); + + const years = articles + .map(article => getYear(parseISO(article.date + ""))) + .filter((year, index, self) => self.indexOf(year) === index) + .sort((a, b) => b - a); + + return years; + }, + + async findByYear(year:string, page = 1, pageSize = 10) { + const startOfYear = new Date(`${year}-01-01T00:00:00.000Z`); + const endOfYear = new Date(`${year}-12-31T23:59:59.999Z`); + + const articles = await strapi.query("api::event.event").findMany({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + limit: pageSize, + offset: (page - 1) * pageSize, + orderBy: { date: 'desc' }, + }); + + const totalArticles = await strapi.query("api::event.event").count({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + }); + + return { + data: articles, + meta: { + pagination: { + page, + pageSize, + pageCount: Math.ceil(totalArticles / pageSize), + total: totalArticles, + }, + }, + }; + }, +})); diff --git a/src/api/global/routes/global.ts b/src/api/global/routes/global.ts index 64d4aad..8215001 100644 --- a/src/api/global/routes/global.ts +++ b/src/api/global/routes/global.ts @@ -4,4 +4,10 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::global.global'); +export default factories.createCoreRouter('api::global.global', { + config: { + find: { + auth: false + }, + } +}); diff --git a/src/api/homepage/routes/homepage.ts b/src/api/homepage/routes/homepage.ts index 14e14f2..d7627b2 100644 --- a/src/api/homepage/routes/homepage.ts +++ b/src/api/homepage/routes/homepage.ts @@ -4,4 +4,10 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::homepage.homepage'); +export default factories.createCoreRouter('api::homepage.homepage', { + config: { + find: { + auth: false + }, + } +}); diff --git a/src/api/operation/controllers/operation.ts b/src/api/operation/controllers/operation.ts index 7e91c2e..d28cad5 100644 --- a/src/api/operation/controllers/operation.ts +++ b/src/api/operation/controllers/operation.ts @@ -4,4 +4,25 @@ import { factories } from '@strapi/strapi' -export default factories.createCoreController('api::operation.operation'); +export default factories.createCoreController('api::operation.operation', ({ strapi }) => ({ + async distinctYears(ctx) { + try { + const years = await strapi.service('api::operation.operation').getDistinctYears(); + ctx.body = years; + } catch (err) { + ctx.throw(500, err); + } + }, + + async findByYear(ctx) { + try { + const { year } = ctx.params; + const { page = '1', pageSize = '10' } = ctx.query as { page?: string, pageSize?: string }; + + const result = await strapi.service('api::operation.operation').findByYear(year, parseInt(page), parseInt(pageSize)); + ctx.body = result; + } catch (err) { + ctx.throw(500, err); + } + }, +})); diff --git a/src/api/operation/routes/extend-operation.ts b/src/api/operation/routes/extend-operation.ts new file mode 100644 index 0000000..1e827aa --- /dev/null +++ b/src/api/operation/routes/extend-operation.ts @@ -0,0 +1,20 @@ +export default { + routes: [ + { + method: 'GET', + path: '/custom/operations/distinct-years', + handler: 'api::operation.operation.distinctYears', + config: { + auth: false, + }, + }, + { + method: 'GET', + path: '/custom/operations/year/:year', + handler: 'api::operation.operation.findByYear', + config: { + auth: false, + }, + }, + ] +}; \ No newline at end of file diff --git a/src/api/operation/routes/operation.ts b/src/api/operation/routes/operation.ts index 20295e3..ef3301d 100644 --- a/src/api/operation/routes/operation.ts +++ b/src/api/operation/routes/operation.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::operation.operation'); +export default factories.createCoreRouter('api::operation.operation', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + } +}); diff --git a/src/api/operation/services/operation.ts b/src/api/operation/services/operation.ts index 2da59a2..6c65ac4 100644 --- a/src/api/operation/services/operation.ts +++ b/src/api/operation/services/operation.ts @@ -3,5 +3,57 @@ */ import { factories } from '@strapi/strapi'; +import { parseISO, getYear } from 'date-fns'; -export default factories.createCoreService('api::operation.operation'); +export default factories.createCoreService('api::operation.operation', ({strapi}) => ({ + async getDistinctYears() { + const articles = await strapi.query("api::operation.operation").findMany({ + select: ['date'], + }); + + const years = articles + .map(article => getYear(parseISO(article.date + ""))) + .filter((year, index, self) => self.indexOf(year) === index) + .sort((a, b) => b - a); + + return years; + }, + + async findByYear(year:string, page = 1, pageSize = 10) { + const startOfYear = new Date(`${year}-01-01T00:00:00.000Z`); + const endOfYear = new Date(`${year}-12-31T23:59:59.999Z`); + + const articles = await strapi.query("api::operation.operation").findMany({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + limit: pageSize, + offset: (page - 1) * pageSize, + orderBy: { date: 'desc' }, + }); + + const totalArticles = await strapi.query("api::operation.operation").count({ + filters: { + date: { + $gte: startOfYear, + $lte: endOfYear, + }, + }, + }); + + return { + data: articles, + meta: { + pagination: { + page, + pageSize, + pageCount: Math.ceil(totalArticles / pageSize), + total: totalArticles, + }, + }, + }; + }, +})); diff --git a/src/api/page/routes/page.ts b/src/api/page/routes/page.ts index 8e5ddfc..d773133 100644 --- a/src/api/page/routes/page.ts +++ b/src/api/page/routes/page.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::page.page'); +export default factories.createCoreRouter('api::page.page', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + } +}); diff --git a/src/api/vehicle/routes/vehicle.ts b/src/api/vehicle/routes/vehicle.ts index 7fe170b..6763393 100644 --- a/src/api/vehicle/routes/vehicle.ts +++ b/src/api/vehicle/routes/vehicle.ts @@ -4,4 +4,13 @@ import { factories } from '@strapi/strapi'; -export default factories.createCoreRouter('api::vehicle.vehicle'); +export default factories.createCoreRouter('api::vehicle.vehicle', { + config: { + find: { + auth: false + }, + findOne: { + auth: false + }, + } +}); diff --git a/src/extensions/documentation/documentation/1.0.0/full_documentation.json b/src/extensions/documentation/documentation/1.0.0/full_documentation.json index b2b7b98..138e416 100644 --- a/src/extensions/documentation/documentation/1.0.0/full_documentation.json +++ b/src/extensions/documentation/documentation/1.0.0/full_documentation.json @@ -14,7 +14,7 @@ "name": "Apache 2.0", "url": "https://www.apache.org/licenses/LICENSE-2.0.html" }, - "x-generation-date": "2024-11-03T14:29:07.198Z" + "x-generation-date": "2024-11-04T10:41:27.532Z" }, "x-strapi-config": { "plugins": [ @@ -6443,7 +6443,8 @@ "required": [ "reference", "collection", - "imageItem" + "image_item", + "date_list" ], "type": "object", "properties": { @@ -6453,7 +6454,10 @@ "collection": { "type": "string" }, - "imageItem": { + "image_item": { + "type": "boolean" + }, + "date_list": { "type": "boolean" }, "locale": { @@ -6517,7 +6521,8 @@ "required": [ "reference", "collection", - "imageItem" + "image_item", + "date_list" ], "properties": { "id": { @@ -6532,7 +6537,10 @@ "collection": { "type": "string" }, - "imageItem": { + "image_item": { + "type": "boolean" + }, + "date_list": { "type": "boolean" }, "createdAt": { @@ -6841,7 +6849,10 @@ "collection": { "type": "string" }, - "imageItem": { + "image_item": { + "type": "boolean" + }, + "date_list": { "type": "boolean" }, "createdAt": { diff --git a/src/extensions/documentation/public/index.html b/src/extensions/documentation/public/index.html index d40ba56..2c763bf 100644 --- a/src/extensions/documentation/public/index.html +++ b/src/extensions/documentation/public/index.html @@ -46,7 +46,7 @@ window.onload = function() { const ui = SwaggerUIBundle({ url: "https://petstore.swagger.io/v2/swagger.json", - spec: {"openapi":"3.0.0","info":{"version":"1.0.0","title":"DOCUMENTATION","description":"","termsOfService":"YOUR_TERMS_OF_SERVICE_URL","contact":{"name":"TEAM","email":"contact-email@something.io","url":"mywebsite.io"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"x-generation-date":"2024-11-01T10:19:23.797Z"},"x-strapi-config":{"plugins":["upload","users-permissions"]},"servers":[{"url":"http://localhost:1337/api","description":"Development server"}],"externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html"},"security":[{"bearerAuth":[]}],"paths":{"/articles":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/articles"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[],"operationId":"post/articles","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleRequest"}}}}}},"/articles/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/articles/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/articles/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/articles/{id}"}},"/events":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/events"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[],"operationId":"post/events","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRequest"}}}}}},"/events/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/events/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/events/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/events/{id}"}},"/global":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/global"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[],"operationId":"put/global","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[],"operationId":"delete/global"}},"/homepage":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/homepage"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[],"operationId":"put/homepage","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[],"operationId":"delete/homepage"}},"/operations":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/operations"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[],"operationId":"post/operations","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationRequest"}}}}}},"/operations/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/operations/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/operations/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/operations/{id}"}},"/pages":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/pages"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[],"operationId":"post/pages","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRequest"}}}}}},"/pages/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/pages/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/pages/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/pages/{id}"}},"/upload":{"post":{"description":"Upload files","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}},"summary":"","tags":["Upload - File"],"requestBody":{"description":"Upload files","required":true,"content":{"multipart/form-data":{"schema":{"required":["files"],"type":"object","properties":{"path":{"type":"string","description":"The folder where the file(s) will be uploaded to (only supported on strapi-provider-upload-aws-s3)."},"refId":{"type":"string","description":"The ID of the entry which the file(s) will be linked to"},"ref":{"type":"string","description":"The unique ID (uid) of the model which the file(s) will be linked to (api::restaurant.restaurant)."},"field":{"type":"string","description":"The field of the entry which the file(s) will be precisely linked to."},"files":{"type":"array","items":{"type":"string","format":"binary"}}}}}}}}},"/upload?id={id}":{"post":{"parameters":[{"name":"id","in":"query","description":"File id","required":true,"schema":{"type":"string"}}],"description":"Upload file information","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}},"summary":"","tags":["Upload - File"],"requestBody":{"description":"Upload files","required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"fileInfo":{"type":"object","properties":{"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"}}},"files":{"type":"string","format":"binary"}}}}}}}},"/upload/files":{"get":{"tags":["Upload - File"],"responses":{"200":{"description":"Get a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}}}},"/upload/files/{id}":{"get":{"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"tags":["Upload - File"],"responses":{"200":{"description":"Get a specific file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFile"}}}}}},"delete":{"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"tags":["Upload - File"],"responses":{"200":{"description":"Delete a file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFile"}}}}}}},"/connect/{provider}":{"get":{"parameters":[{"name":"provider","in":"path","required":true,"description":"Provider name","schema":{"type":"string","pattern":".*"}}],"tags":["Users-Permissions - Auth"],"summary":"Login with a provider","description":"Redirects to provider login before being redirect to /auth/{provider}/callback","responses":{"301":{"description":"Redirect response"},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/local":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Local login","description":"Returns a jwt token and user info","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string"},"password":{"type":"string"}}},"example":{"identifier":"foobar","password":"Test1234"}}},"required":true},"responses":{"200":{"description":"Connection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/local/register":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Register a user","description":"Returns a jwt token and user info","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foobar","email":"foo.bar@strapi.io","password":"Test1234"}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/{provider}/callback":{"get":{"tags":["Users-Permissions - Auth"],"summary":"Default Callback from provider auth","parameters":[{"name":"provider","in":"path","required":true,"description":"Provider name","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/forgot-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Send rest password email","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}},"example":{"email":"foo.bar@strapi.io"}}}},"responses":{"200":{"description":"Returns ok","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/reset-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Rest user password","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"},"code":{"type":"string"}}},"example":{"password":"Test1234","passwordConfirmation":"Test1234","code":"zertyoaizndoianzodianzdonaizdoinaozdnia"}}}},"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/change-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Update user's own password","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password","currentPassword","passwordConfirmation"],"properties":{"password":{"type":"string"},"currentPassword":{"type":"string"},"passwordConfirmation":{"type":"string"}}}}}},"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/email-confirmation":{"get":{"tags":["Users-Permissions - Auth"],"summary":"Confirm user email","parameters":[{"in":"query","name":"confirmation","schema":{"type":"string"},"description":"confirmation token received by email"}],"responses":{"301":{"description":"Redirects to the configure email confirmation redirect url"},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/send-email-confirmation":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Send confirmation email","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}}}}},"responses":{"200":{"description":"Returns email and boolean to confirm email was sent","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"sent":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/permissions":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get default generated permissions","responses":{"200":{"description":"Returns the permissions tree","content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"$ref":"#/components/schemas/Users-Permissions-PermissionsTree"}}},"example":{"permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":false,"policy":""},"findOne":{"enabled":false,"policy":""},"create":{"enabled":false,"policy":""}},"controllerB":{"find":{"enabled":false,"policy":""},"findOne":{"enabled":false,"policy":""},"create":{"enabled":false,"policy":""}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"List roles","responses":{"200":{"description":"Returns list of roles","content":{"application/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-Role"},{"type":"object","properties":{"nb_users":{"type":"number"}}}]}}}},"example":{"roles":[{"id":1,"name":"Public","description":"Default role given to unauthenticated user.","type":"public","createdAt":"2022-05-19T17:35:35.097Z","updatedAt":"2022-05-31T16:05:36.603Z","nb_users":0}]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Users-Permissions - Users & Roles"],"summary":"Create a role","requestBody":{"$ref":"#/components/requestBodies/Users-Permissions-RoleRequest"},"responses":{"200":{"description":"Returns ok if the role was create","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles/{id}":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get a role","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"role Id"}],"responses":{"200":{"description":"Returns the role","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}},"example":{"role":{"id":1,"name":"Public","description":"Default role given to unauthenticated user.","type":"public","createdAt":"2022-05-19T17:35:35.097Z","updatedAt":"2022-05-31T16:05:36.603Z","permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":true}}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles/{role}":{"put":{"tags":["Users-Permissions - Users & Roles"],"summary":"Update a role","parameters":[{"in":"path","name":"role","required":true,"schema":{"type":"string"},"description":"role Id"}],"requestBody":{"$ref":"#/components/requestBodies/Users-Permissions-RoleRequest"},"responses":{"200":{"description":"Returns ok if the role was udpated","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Users-Permissions - Users & Roles"],"summary":"Delete a role","parameters":[{"in":"path","name":"role","required":true,"schema":{"type":"string"},"description":"role Id"}],"responses":{"200":{"description":"Returns ok if the role was delete","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get list of users","responses":{"200":{"description":"Returns an array of users","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Users-Permissions-User"}},"example":[{"id":9,"username":"foao@strapi.io","email":"foao@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-06-01T18:32:35.211Z","updatedAt":"2022-06-01T18:32:35.217Z"}]}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Users-Permissions - Users & Roles"],"summary":"Create a user","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["username","email","password"],"properties":{"email":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foo","email":"foo@strapi.io","password":"foo-password"}}}},"responses":{"201":{"description":"Returns created user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"},{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z","role":{"id":1,"name":"X","description":"Default role given to authenticated user.","type":"authenticated","createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-06-04T07:11:59.551Z"}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/{id}":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"responses":{"200":{"description":"Returns a user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-User"},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Users-Permissions - Users & Roles"],"summary":"Update a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["username","email","password"],"properties":{"email":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foo","email":"foo@strapi.io","password":"foo-password"}}}},"responses":{"200":{"description":"Returns updated user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"},{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z","role":{"id":1,"name":"X","description":"Default role given to authenticated user.","type":"authenticated","createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-06-04T07:11:59.551Z"}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Users-Permissions - Users & Roles"],"summary":"Delete a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"responses":{"200":{"description":"Returns deleted user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/me":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get authenticated user info","responses":{"200":{"description":"Returns user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-User"},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/count":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get user count","responses":{"200":{"description":"Returns a number","content":{"application/json":{"schema":{"type":"number"},"example":1}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"data":{"nullable":true,"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}}]},"error":{"type":"object","properties":{"status":{"type":"integer"},"name":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}}}},"ArticleRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","image","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"},"attachment":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}},"date":{"type":"string","format":"date"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"ArticleListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Article"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Article":{"type":"object","required":["title","description","slug","image","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"ArticleResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Article"},"meta":{"type":"object"}}},"EventRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"EventListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Event":{"type":"object","required":["title","description","slug","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"EventResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"},"meta":{"type":"object"}}},"GlobalRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["navbar"],"type":"object","properties":{"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"GlobalListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Global"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Global":{"type":"object","required":["navbar"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"GlobalResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Global"},"meta":{"type":"object"}}},"ItemsNavbarSubItemsComponent":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"URL":{"type":"string"},"page":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}},"ItemsNavbarItemsComponent":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"URL":{"type":"string"},"default_active_child":{"type":"string"},"page":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"navbar_sub_items":{"type":"array","items":{"$ref":"#/components/schemas/ItemsNavbarSubItemsComponent"}}}},"GlobalNavbarComponent":{"type":"object","properties":{"id":{"type":"number"},"logo":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"navbar_items":{"type":"array","items":{"$ref":"#/components/schemas/ItemsNavbarItemsComponent"}}}},"SharedLinkComponent":{"type":"object","properties":{"id":{"type":"number"},"text":{"type":"string"},"URL":{"type":"string"},"target":{"type":"string","enum":["_blank","_self","_parent","_top"]}}},"GlobalFooterComponent":{"type":"object","properties":{"id":{"type":"number"},"copyright":{"type":"string"},"designed_developed_by":{"type":"string"},"links":{"type":"array","items":{"$ref":"#/components/schemas/SharedLinkComponent"}}}},"SharedHeroComponent":{"type":"object","properties":{"id":{"type":"number"},"banner":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"titel":{"type":"string"}}},"DynamicZoneGalleryComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.gallery"]},"images":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}},"DynamicZoneFullTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.full-text"]},"text":{}}},"DynamicZoneFullImageComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.full-image"]},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}},"DynamicZoneEmphasiseArticleComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.emphasise-article"]},"articles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"titel":{"type":"string"},"description":{"type":"string"}}},"DynamicZoneDualColumnTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.dual-column-text"]},"left_side":{},"right_side":{}}},"DynamicZoneColumnImageTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.column-image-text"]},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"text":{},"image_left":{"type":"boolean"}}},"SharedListComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["shared.list"]},"list":{"type":"string","enum":["articles","events","operations"]},"enable_detail":{"type":"boolean"}}},"HomepageRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["backdrop"],"type":"object","properties":{"backdrop":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"HomepageListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Homepage"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Homepage":{"type":"object","required":["backdrop"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"backdrop":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"backdrop":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"HomepageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Homepage"},"meta":{"type":"object"}}},"OperationRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}},"date":{"type":"string","format":"date-time"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"OperationListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Operation"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Operation":{"type":"object","required":["title","description","slug","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"OperationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Operation"},"meta":{"type":"object"}}},"PageRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["identifier","slug","Hero"],"type":"object","properties":{"identifier":{"type":"string"},"slug":{"type":"string"},"Hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"PageListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Page"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Page":{"type":"object","required":["identifier","slug","Hero"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"identifier":{"type":"string"},"slug":{"type":"string"},"Hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"identifier":{"type":"string"},"slug":{"type":"string"},"Hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"PageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Page"},"meta":{"type":"object"}}},"UploadFile":{"properties":{"id":{"type":"number"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"number","format":"integer"},"height":{"type":"number","format":"integer"},"formats":{"type":"number"},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"double"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{"type":"object"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Users-Permissions-Role":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Users-Permissions-User":{"type":"object","properties":{"id":{"type":"number","example":1},"username":{"type":"string","example":"foo.bar"},"email":{"type":"string","example":"foo.bar@strapi.io"},"provider":{"type":"string","example":"local"},"confirmed":{"type":"boolean","example":true},"blocked":{"type":"boolean","example":false},"createdAt":{"type":"string","format":"date-time","example":"2022-06-02T08:32:06.258Z"},"updatedAt":{"type":"string","format":"date-time","example":"2022-06-02T08:32:06.267Z"}}},"Users-Permissions-UserRegistration":{"type":"object","properties":{"jwt":{"type":"string","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},"user":{"$ref":"#/components/schemas/Users-Permissions-User"}}},"Users-Permissions-PermissionsTree":{"type":"object","additionalProperties":{"type":"object","description":"every api","properties":{"controllers":{"description":"every controller of the api","type":"object","additionalProperties":{"type":"object","additionalProperties":{"description":"every action of every controller","type":"object","properties":{"enabled":{"type":"boolean"},"policy":{"type":"string"}}}}}}}}},"requestBodies":{"Users-Permissions-RoleRequest":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"$ref":"#/components/schemas/Users-Permissions-PermissionsTree"}}},"example":{"name":"foo","description":"role foo","permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":true}}}}}}}}}}},"tags":[{"name":"Users-Permissions - Auth","description":"Authentication endpoints","externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html"}},{"name":"Users-Permissions - Users & Roles","description":"Users, roles, and permissions endpoints","externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html"}}]}, + spec: {"openapi":"3.0.0","info":{"version":"1.0.0","title":"DOCUMENTATION","description":"","termsOfService":"YOUR_TERMS_OF_SERVICE_URL","contact":{"name":"TEAM","email":"contact-email@something.io","url":"mywebsite.io"},"license":{"name":"Apache 2.0","url":"https://www.apache.org/licenses/LICENSE-2.0.html"},"x-generation-date":"2024-11-04T10:41:27.532Z"},"x-strapi-config":{"plugins":["upload","users-permissions"]},"servers":[{"url":"http://localhost:1337/api","description":"Development server"}],"externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html"},"security":[{"bearerAuth":[]}],"paths":{"/articles":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/articles"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[],"operationId":"post/articles","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleRequest"}}}}}},"/articles/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/articles/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/articles/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ArticleRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Article"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/articles/{id}"}},"/collection-lookups":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Collection-lookup"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/collection-lookups"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Collection-lookup"],"parameters":[],"operationId":"post/collection-lookups","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupRequest"}}}}}},"/collection-lookups/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Collection-lookup"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/collection-lookups/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Collection-lookup"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/collection-lookups/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionLookupRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Collection-lookup"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/collection-lookups/{id}"}},"/events":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/events"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[],"operationId":"post/events","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRequest"}}}}}},"/events/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/events/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/events/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Event"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/events/{id}"}},"/global":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/global"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[],"operationId":"put/global","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GlobalRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Global"],"parameters":[],"operationId":"delete/global"}},"/homepage":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/homepage"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[],"operationId":"put/homepage","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HomepageRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Homepage"],"parameters":[],"operationId":"delete/homepage"}},"/operations":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/operations"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[],"operationId":"post/operations","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationRequest"}}}}}},"/operations/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/operations/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/operations/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Operation"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/operations/{id}"}},"/pages":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/pages"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[],"operationId":"post/pages","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRequest"}}}}}},"/pages/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/pages/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/pages/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Page"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/pages/{id}"}},"/vehicles":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleListResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Vehicle"],"parameters":[{"name":"sort","in":"query","description":"Sort by attributes ascending (asc) or descending (desc)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"pagination[withCount]","in":"query","description":"Return page/pageSize (default: true)","deprecated":false,"required":false,"schema":{"type":"boolean"}},{"name":"pagination[page]","in":"query","description":"Page number (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[pageSize]","in":"query","description":"Page size (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[start]","in":"query","description":"Offset value (default: 0)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"pagination[limit]","in":"query","description":"Number of entities to return (default: 25)","deprecated":false,"required":false,"schema":{"type":"integer"}},{"name":"fields","in":"query","description":"Fields to return (ex: title,author)","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"populate","in":"query","description":"Relations to return","deprecated":false,"required":false,"schema":{"type":"string"}},{"name":"filters","in":"query","description":"Filters to apply","deprecated":false,"required":false,"schema":{"type":"object","additionalProperties":true},"style":"deepObject"},{"name":"locale","in":"query","description":"Locale to apply","deprecated":false,"required":false,"schema":{"type":"string"}}],"operationId":"get/vehicles"},"post":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Vehicle"],"parameters":[],"operationId":"post/vehicles","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleRequest"}}}}}},"/vehicles/{id}":{"get":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Vehicle"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"get/vehicles/{id}"},"put":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleResponse"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Vehicle"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"put/vehicles/{id}","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleRequest"}}}}},"delete":{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"integer","format":"int64"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Internal Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"tags":["Vehicle"],"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"number"}}],"operationId":"delete/vehicles/{id}"}},"/upload":{"post":{"description":"Upload files","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}},"summary":"","tags":["Upload - File"],"requestBody":{"description":"Upload files","required":true,"content":{"multipart/form-data":{"schema":{"required":["files"],"type":"object","properties":{"path":{"type":"string","description":"The folder where the file(s) will be uploaded to (only supported on strapi-provider-upload-aws-s3)."},"refId":{"type":"string","description":"The ID of the entry which the file(s) will be linked to"},"ref":{"type":"string","description":"The unique ID (uid) of the model which the file(s) will be linked to (api::restaurant.restaurant)."},"field":{"type":"string","description":"The field of the entry which the file(s) will be precisely linked to."},"files":{"type":"array","items":{"type":"string","format":"binary"}}}}}}}}},"/upload?id={id}":{"post":{"parameters":[{"name":"id","in":"query","description":"File id","required":true,"schema":{"type":"string"}}],"description":"Upload file information","responses":{"200":{"description":"response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}},"summary":"","tags":["Upload - File"],"requestBody":{"description":"Upload files","required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"fileInfo":{"type":"object","properties":{"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"}}},"files":{"type":"string","format":"binary"}}}}}}}},"/upload/files":{"get":{"tags":["Upload - File"],"responses":{"200":{"description":"Get a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}}}}}}},"/upload/files/{id}":{"get":{"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"tags":["Upload - File"],"responses":{"200":{"description":"Get a specific file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFile"}}}}}},"delete":{"parameters":[{"name":"id","in":"path","description":"","deprecated":false,"required":true,"schema":{"type":"string"}}],"tags":["Upload - File"],"responses":{"200":{"description":"Delete a file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadFile"}}}}}}},"/connect/{provider}":{"get":{"parameters":[{"name":"provider","in":"path","required":true,"description":"Provider name","schema":{"type":"string","pattern":".*"}}],"tags":["Users-Permissions - Auth"],"summary":"Login with a provider","description":"Redirects to provider login before being redirect to /auth/{provider}/callback","responses":{"301":{"description":"Redirect response"},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/local":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Local login","description":"Returns a jwt token and user info","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"identifier":{"type":"string"},"password":{"type":"string"}}},"example":{"identifier":"foobar","password":"Test1234"}}},"required":true},"responses":{"200":{"description":"Connection","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/local/register":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Register a user","description":"Returns a jwt token and user info","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"username":{"type":"string"},"email":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foobar","email":"foo.bar@strapi.io","password":"Test1234"}}},"required":true},"responses":{"200":{"description":"Successful registration","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/{provider}/callback":{"get":{"tags":["Users-Permissions - Auth"],"summary":"Default Callback from provider auth","parameters":[{"name":"provider","in":"path","required":true,"description":"Provider name","schema":{"type":"string"}}],"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/forgot-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Send rest password email","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}},"example":{"email":"foo.bar@strapi.io"}}}},"responses":{"200":{"description":"Returns ok","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/reset-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Rest user password","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"password":{"type":"string"},"passwordConfirmation":{"type":"string"},"code":{"type":"string"}}},"example":{"password":"Test1234","passwordConfirmation":"Test1234","code":"zertyoaizndoianzodianzdonaizdoinaozdnia"}}}},"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/change-password":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Update user's own password","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["password","currentPassword","passwordConfirmation"],"properties":{"password":{"type":"string"},"currentPassword":{"type":"string"},"passwordConfirmation":{"type":"string"}}}}}},"responses":{"200":{"description":"Returns a jwt token and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-UserRegistration"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/email-confirmation":{"get":{"tags":["Users-Permissions - Auth"],"summary":"Confirm user email","parameters":[{"in":"query","name":"confirmation","schema":{"type":"string"},"description":"confirmation token received by email"}],"responses":{"301":{"description":"Redirects to the configure email confirmation redirect url"},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/auth/send-email-confirmation":{"post":{"tags":["Users-Permissions - Auth"],"summary":"Send confirmation email","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"}}}}}},"responses":{"200":{"description":"Returns email and boolean to confirm email was sent","content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"sent":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/permissions":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get default generated permissions","responses":{"200":{"description":"Returns the permissions tree","content":{"application/json":{"schema":{"type":"object","properties":{"permissions":{"$ref":"#/components/schemas/Users-Permissions-PermissionsTree"}}},"example":{"permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":false,"policy":""},"findOne":{"enabled":false,"policy":""},"create":{"enabled":false,"policy":""}},"controllerB":{"find":{"enabled":false,"policy":""},"findOne":{"enabled":false,"policy":""},"create":{"enabled":false,"policy":""}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"List roles","responses":{"200":{"description":"Returns list of roles","content":{"application/json":{"schema":{"type":"object","properties":{"roles":{"type":"array","items":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-Role"},{"type":"object","properties":{"nb_users":{"type":"number"}}}]}}}},"example":{"roles":[{"id":1,"name":"Public","description":"Default role given to unauthenticated user.","type":"public","createdAt":"2022-05-19T17:35:35.097Z","updatedAt":"2022-05-31T16:05:36.603Z","nb_users":0}]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Users-Permissions - Users & Roles"],"summary":"Create a role","requestBody":{"$ref":"#/components/requestBodies/Users-Permissions-RoleRequest"},"responses":{"200":{"description":"Returns ok if the role was create","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles/{id}":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get a role","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"role Id"}],"responses":{"200":{"description":"Returns the role","content":{"application/json":{"schema":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}},"example":{"role":{"id":1,"name":"Public","description":"Default role given to unauthenticated user.","type":"public","createdAt":"2022-05-19T17:35:35.097Z","updatedAt":"2022-05-31T16:05:36.603Z","permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":true}}}}}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users-permissions/roles/{role}":{"put":{"tags":["Users-Permissions - Users & Roles"],"summary":"Update a role","parameters":[{"in":"path","name":"role","required":true,"schema":{"type":"string"},"description":"role Id"}],"requestBody":{"$ref":"#/components/requestBodies/Users-Permissions-RoleRequest"},"responses":{"200":{"description":"Returns ok if the role was udpated","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Users-Permissions - Users & Roles"],"summary":"Delete a role","parameters":[{"in":"path","name":"role","required":true,"schema":{"type":"string"},"description":"role Id"}],"responses":{"200":{"description":"Returns ok if the role was delete","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"string","enum":[true]}}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get list of users","responses":{"200":{"description":"Returns an array of users","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Users-Permissions-User"}},"example":[{"id":9,"username":"foao@strapi.io","email":"foao@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-06-01T18:32:35.211Z","updatedAt":"2022-06-01T18:32:35.217Z"}]}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"post":{"tags":["Users-Permissions - Users & Roles"],"summary":"Create a user","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["username","email","password"],"properties":{"email":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foo","email":"foo@strapi.io","password":"foo-password"}}}},"responses":{"201":{"description":"Returns created user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"},{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z","role":{"id":1,"name":"X","description":"Default role given to authenticated user.","type":"authenticated","createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-06-04T07:11:59.551Z"}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/{id}":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"responses":{"200":{"description":"Returns a user","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-User"},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"put":{"tags":["Users-Permissions - Users & Roles"],"summary":"Update a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["username","email","password"],"properties":{"email":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"}}},"example":{"username":"foo","email":"foo@strapi.io","password":"foo-password"}}}},"responses":{"200":{"description":"Returns updated user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"},{"type":"object","properties":{"role":{"$ref":"#/components/schemas/Users-Permissions-Role"}}}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z","role":{"id":1,"name":"X","description":"Default role given to authenticated user.","type":"authenticated","createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-06-04T07:11:59.551Z"}}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}},"delete":{"tags":["Users-Permissions - Users & Roles"],"summary":"Delete a user","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"},"description":"user Id"}],"responses":{"200":{"description":"Returns deleted user info","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Users-Permissions-User"}]},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/me":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get authenticated user info","responses":{"200":{"description":"Returns user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Users-Permissions-User"},"example":{"id":1,"username":"foo","email":"foo@strapi.io","provider":"local","confirmed":false,"blocked":false,"createdAt":"2022-05-19T17:35:35.096Z","updatedAt":"2022-05-19T17:35:35.096Z"}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/users/count":{"get":{"tags":["Users-Permissions - Users & Roles"],"summary":"Get user count","responses":{"200":{"description":"Returns a number","content":{"application/json":{"schema":{"type":"number"},"example":1}}},"default":{"description":"Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"data":{"nullable":true,"oneOf":[{"type":"object"},{"type":"array","items":{"type":"object"}}]},"error":{"type":"object","properties":{"status":{"type":"integer"},"name":{"type":"string"},"message":{"type":"string"},"details":{"type":"object"}}}}},"ArticleRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","image","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"},"attachment":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}},"date":{"type":"string","format":"date"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"ArticleListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Article"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Article":{"type":"object","required":["title","description","slug","image","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"ArticleResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Article"},"meta":{"type":"object"}}},"CollectionLookupRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["reference","collection","image_item","date_list"],"type":"object","properties":{"reference":{"type":"string"},"collection":{"type":"string"},"image_item":{"type":"boolean"},"date_list":{"type":"boolean"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"CollectionLookupListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CollectionLookup"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"CollectionLookup":{"type":"object","required":["reference","collection","image_item","date_list"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"reference":{"type":"string"},"collection":{"type":"string"},"image_item":{"type":"boolean"},"date_list":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"reference":{"type":"string"},"collection":{"type":"string"},"image_item":{"type":"boolean"},"date_list":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"CollectionLookupResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CollectionLookup"},"meta":{"type":"object"}}},"EventRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"EventListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Event":{"type":"object","required":["title","description","slug","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"date":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"EventResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Event"},"meta":{"type":"object"}}},"GlobalRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["navbar"],"type":"object","properties":{"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"GlobalListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Global"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Global":{"type":"object","required":["navbar"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"navbar":{"$ref":"#/components/schemas/GlobalNavbarComponent"},"footer":{"$ref":"#/components/schemas/GlobalFooterComponent"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"GlobalResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Global"},"meta":{"type":"object"}}},"ItemsNavbarSubItemsComponent":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"URL":{"type":"string"},"page":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}},"ItemsNavbarItemsComponent":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"URL":{"type":"string"},"default_active_child":{"type":"string"},"page":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"navbar_sub_items":{"type":"array","items":{"$ref":"#/components/schemas/ItemsNavbarSubItemsComponent"}}}},"GlobalNavbarComponent":{"type":"object","properties":{"id":{"type":"number"},"logo":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"navbar_items":{"type":"array","items":{"$ref":"#/components/schemas/ItemsNavbarItemsComponent"}}}},"SharedLinkComponent":{"type":"object","properties":{"id":{"type":"number"},"text":{"type":"string"},"URL":{"type":"string"},"target":{"type":"string","enum":["_blank","_self","_parent","_top"]}}},"GlobalFooterComponent":{"type":"object","properties":{"id":{"type":"number"},"copyright":{"type":"string"},"designed_developed_by":{"type":"string"},"links":{"type":"array","items":{"$ref":"#/components/schemas/SharedLinkComponent"}}}},"SharedHeroComponent":{"type":"object","properties":{"id":{"type":"number"},"banner":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"title":{"type":"string"}}},"DynamicZoneGalleryComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.gallery"]},"images":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"DynamicZoneFullTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.full-text"]},"text":{}}},"DynamicZoneFullImageComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.full-image"]},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}},"DynamicZoneEmphasiseArticleComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.emphasise-article"]},"articles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"titel":{"type":"string"},"description":{"type":"string"}}},"DynamicZoneDualColumnTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.dual-column-text"]},"left_side":{},"right_side":{}}},"DynamicZoneColumnImageTextComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["dynamic-zone.column-image-text"]},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"text":{},"image_left":{"type":"boolean"}}},"SharedListComponent":{"type":"object","properties":{"id":{"type":"number"},"__component":{"type":"string","enum":["shared.list"]},"enable_detail":{"type":"boolean"},"lookup":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}},"HomepageRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["backdrop"],"type":"object","properties":{"backdrop":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"HomepageListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Homepage"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Homepage":{"type":"object","required":["backdrop"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"backdrop":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"backdrop":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"HomepageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Homepage"},"meta":{"type":"object"}}},"OperationRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","date"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}},"date":{"type":"string","format":"date-time"},"content":{},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"OperationListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Operation"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Operation":{"type":"object","required":["title","description","slug","date"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date-time"},"content":{},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"date":{"type":"string","format":"date-time"},"content":{},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"OperationResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Operation"},"meta":{"type":"object"}}},"PageRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["identifier","slug"],"type":"object","properties":{"identifier":{"type":"string"},"slug":{"type":"string"},"hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"PageListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Page"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Page":{"type":"object","required":["identifier","slug"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"identifier":{"type":"string"},"slug":{"type":"string"},"hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"identifier":{"type":"string"},"slug":{"type":"string"},"hero":{"$ref":"#/components/schemas/SharedHeroComponent"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/DynamicZoneGalleryComponent"},{"$ref":"#/components/schemas/DynamicZoneFullTextComponent"},{"$ref":"#/components/schemas/DynamicZoneFullImageComponent"},{"$ref":"#/components/schemas/DynamicZoneEmphasiseArticleComponent"},{"$ref":"#/components/schemas/DynamicZoneDualColumnTextComponent"},{"$ref":"#/components/schemas/DynamicZoneColumnImageTextComponent"},{"$ref":"#/components/schemas/SharedListComponent"}]},"discriminator":{"propertyName":"__component","mapping":{"dynamic-zone.gallery":"#/components/schemas/DynamicZoneGalleryComponent","dynamic-zone.full-text":"#/components/schemas/DynamicZoneFullTextComponent","dynamic-zone.full-image":"#/components/schemas/DynamicZoneFullImageComponent","dynamic-zone.emphasise-article":"#/components/schemas/DynamicZoneEmphasiseArticleComponent","dynamic-zone.dual-column-text":"#/components/schemas/DynamicZoneDualColumnTextComponent","dynamic-zone.column-image-text":"#/components/schemas/DynamicZoneColumnImageTextComponent","shared.list":"#/components/schemas/SharedListComponent"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"PageResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Page"},"meta":{"type":"object"}}},"VehicleRequest":{"type":"object","required":["data"],"properties":{"data":{"required":["title","description","slug","image"],"type":"object","properties":{"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"},"attachment":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"oneOf":[{"type":"integer"},{"type":"string"}],"example":"string or id"}}}}}},"VehicleListResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Vehicle"}},"meta":{"type":"object","properties":{"pagination":{"type":"object","properties":{"page":{"type":"integer"},"pageSize":{"type":"integer","minimum":25},"pageCount":{"type":"integer","maximum":1},"total":{"type":"integer"}}}}}}},"Vehicle":{"type":"object","required":["title","description","slug","image"],"properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"pathId":{"type":"integer"},"parent":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"children":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"files":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"firstname":{"type":"string"},"lastname":{"type":"string"},"username":{"type":"string"},"email":{"type":"string","format":"email"},"resetPasswordToken":{"type":"string"},"registrationToken":{"type":"string"},"isActive":{"type":"boolean"},"roles":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"code":{"type":"string"},"description":{"type":"string"},"users":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"permissions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"action":{"type":"string"},"actionParameters":{},"subject":{"type":"string"},"properties":{},"conditions":{},"role":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"blocked":{"type":"boolean"},"preferedLanguage":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"path":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"slug":{"type":"string"},"content":{},"image":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}},"attachment":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"integer"},"height":{"type":"integer"},"formats":{},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"float"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{},"related":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}},"folder":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"folderPath":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"publishedAt":{"type":"string","format":"date-time"},"createdBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"updatedBy":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}},"locale":{"type":"string"},"localizations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"number"},"documentId":{"type":"string"}}}}}}}}},"VehicleResponse":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/Vehicle"},"meta":{"type":"object"}}},"UploadFile":{"properties":{"id":{"type":"number"},"name":{"type":"string"},"alternativeText":{"type":"string"},"caption":{"type":"string"},"width":{"type":"number","format":"integer"},"height":{"type":"number","format":"integer"},"formats":{"type":"number"},"hash":{"type":"string"},"ext":{"type":"string"},"mime":{"type":"string"},"size":{"type":"number","format":"double"},"url":{"type":"string"},"previewUrl":{"type":"string"},"provider":{"type":"string"},"provider_metadata":{"type":"object"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Users-Permissions-Role":{"type":"object","properties":{"id":{"type":"number"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}}},"Users-Permissions-User":{"type":"object","properties":{"id":{"type":"number","example":1},"username":{"type":"string","example":"foo.bar"},"email":{"type":"string","example":"foo.bar@strapi.io"},"provider":{"type":"string","example":"local"},"confirmed":{"type":"boolean","example":true},"blocked":{"type":"boolean","example":false},"createdAt":{"type":"string","format":"date-time","example":"2022-06-02T08:32:06.258Z"},"updatedAt":{"type":"string","format":"date-time","example":"2022-06-02T08:32:06.267Z"}}},"Users-Permissions-UserRegistration":{"type":"object","properties":{"jwt":{"type":"string","example":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c"},"user":{"$ref":"#/components/schemas/Users-Permissions-User"}}},"Users-Permissions-PermissionsTree":{"type":"object","additionalProperties":{"type":"object","description":"every api","properties":{"controllers":{"description":"every controller of the api","type":"object","additionalProperties":{"type":"object","additionalProperties":{"description":"every action of every controller","type":"object","properties":{"enabled":{"type":"boolean"},"policy":{"type":"string"}}}}}}}}},"requestBodies":{"Users-Permissions-RoleRequest":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string"},"permissions":{"$ref":"#/components/schemas/Users-Permissions-PermissionsTree"}}},"example":{"name":"foo","description":"role foo","permissions":{"api::content-type.content-type":{"controllers":{"controllerA":{"find":{"enabled":true}}}}}}}}}}},"tags":[{"name":"Users-Permissions - Auth","description":"Authentication endpoints","externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html"}},{"name":"Users-Permissions - Users & Roles","description":"Users, roles, and permissions endpoints","externalDocs":{"description":"Find out more","url":"https://docs.strapi.io/developer-docs/latest/plugins/users-permissions.html"}}]}, dom_id: '#swagger-ui', docExpansion: "none", deepLinking: true, diff --git a/types/generated/contentTypes.d.ts b/types/generated/contentTypes.d.ts index ee00a61..702c763 100644 --- a/types/generated/contentTypes.d.ts +++ b/types/generated/contentTypes.d.ts @@ -421,7 +421,10 @@ export interface ApiCollectionLookupCollectionLookup createdAt: Schema.Attribute.DateTime; createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> & Schema.Attribute.Private; - imageItem: Schema.Attribute.Boolean & + date_list: Schema.Attribute.Boolean & + Schema.Attribute.Required & + Schema.Attribute.DefaultTo; + image_item: Schema.Attribute.Boolean & Schema.Attribute.Required & Schema.Attribute.DefaultTo; locale: Schema.Attribute.String & Schema.Attribute.Private;