From a4a1a78946dc7b754d52e22e0b5613e7b8a0d240 Mon Sep 17 00:00:00 2001 From: Anxo Rodriguez Date: Mon, 5 Aug 2024 13:22:25 +0100 Subject: [PATCH] Add solver information --- .../network/content-types/network/schema.json | 6 + .../solver/content-types/solver/schema.json | 56 + src/api/solver/controllers/solver.ts | 7 + .../solver/documentation/1.0.0/solver.json | 507 ++ src/api/solver/routes/solver.ts | 7 + src/api/solver/services/solver.ts | 7 + .../1.0.0/full_documentation.json | 5280 ++++++++++++----- 7 files changed, 4340 insertions(+), 1530 deletions(-) create mode 100644 src/api/solver/content-types/solver/schema.json create mode 100644 src/api/solver/controllers/solver.ts create mode 100644 src/api/solver/documentation/1.0.0/solver.json create mode 100644 src/api/solver/routes/solver.ts create mode 100644 src/api/solver/services/solver.ts diff --git a/src/api/network/content-types/network/schema.json b/src/api/network/content-types/network/schema.json index edfe131..0837f82 100644 --- a/src/api/network/content-types/network/schema.json +++ b/src/api/network/content-types/network/schema.json @@ -18,6 +18,12 @@ }, "chainId": { "type": "integer" + }, + "solvers": { + "type": "relation", + "relation": "manyToMany", + "target": "api::solver.solver", + "mappedBy": "networks" } } } diff --git a/src/api/solver/content-types/solver/schema.json b/src/api/solver/content-types/solver/schema.json new file mode 100644 index 0000000..302ae5c --- /dev/null +++ b/src/api/solver/content-types/solver/schema.json @@ -0,0 +1,56 @@ +{ + "kind": "collectionType", + "collectionName": "solvers", + "info": { + "singularName": "solver", + "pluralName": "solvers", + "displayName": "Solver" + }, + "options": { + "draftAndPublish": true + }, + "pluginOptions": {}, + "attributes": { + "name": { + "type": "string", + "required": true + }, + "address": { + "type": "string", + "regex": "^(0x)?[0-9a-fA-F]{40}$", + "required": true + }, + "payoutAddress": { + "type": "string", + "regex": "^(0x)?[0-9a-fA-F]{40}$" + }, + "networks": { + "type": "relation", + "relation": "manyToMany", + "target": "api::network.network", + "inversedBy": "solvers" + }, + "active": { + "type": "boolean", + "default": true, + "required": true + }, + "image": { + "allowedTypes": [ + "images" + ], + "type": "media", + "multiple": false + }, + "organization": { + "type": "string" + }, + "website": { + "type": "string", + "regex": "^https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9()]{1,6}\\b([-a-zA-Z0-9()@:%_\\+.~#?&//=]*)" + }, + "description": { + "type": "string" + } + } +} diff --git a/src/api/solver/controllers/solver.ts b/src/api/solver/controllers/solver.ts new file mode 100644 index 0000000..2606485 --- /dev/null +++ b/src/api/solver/controllers/solver.ts @@ -0,0 +1,7 @@ +/** + * solver controller + */ + +import { factories } from '@strapi/strapi' + +export default factories.createCoreController('api::solver.solver'); diff --git a/src/api/solver/documentation/1.0.0/solver.json b/src/api/solver/documentation/1.0.0/solver.json new file mode 100644 index 0000000..3a243a3 --- /dev/null +++ b/src/api/solver/documentation/1.0.0/solver.json @@ -0,0 +1,507 @@ +{ + "/solvers": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverListResponse" + } + } + } + }, + "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": [ + "Solver" + ], + "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" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } + } + ], + "operationId": "get/solvers" + }, + "post": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverResponse" + } + } + } + }, + "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": [ + "Solver" + ], + "parameters": [], + "operationId": "post/solvers", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverRequest" + } + } + } + } + } + }, + "/solvers/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverResponse" + } + } + } + }, + "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": [ + "Solver" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/solvers/{id}" + }, + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverResponse" + } + } + } + }, + "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": [ + "Solver" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/solvers/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SolverRequest" + } + } + } + } + }, + "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": [ + "Solver" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/solvers/{id}" + } + } +} diff --git a/src/api/solver/routes/solver.ts b/src/api/solver/routes/solver.ts new file mode 100644 index 0000000..73fc9d8 --- /dev/null +++ b/src/api/solver/routes/solver.ts @@ -0,0 +1,7 @@ +/** + * solver router + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreRouter('api::solver.solver'); diff --git a/src/api/solver/services/solver.ts b/src/api/solver/services/solver.ts new file mode 100644 index 0000000..39759f8 --- /dev/null +++ b/src/api/solver/services/solver.ts @@ -0,0 +1,7 @@ +/** + * solver service + */ + +import { factories } from '@strapi/strapi'; + +export default factories.createCoreService('api::solver.solver'); 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 d2cc507..4bc7e43 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-08-05T12:09:28.368Z" + "x-generation-date": "2024-08-05T12:22:10.973Z" }, "x-strapi-config": { "path": "/documentation", @@ -11713,6 +11713,20 @@ }, "chainId": { "type": "integer" + }, + "solvers": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "example": "string or id" + } } } } @@ -11776,101 +11790,85 @@ "chainId": { "type": "integer" }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "publishedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { + "solvers": { "type": "object", "properties": { "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": { - "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": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "code": { - "type": "string" - }, - "description": { - "type": "string" - }, - "users": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "address": { + "type": "string" + }, + "payoutAddress": { + "type": "string" + }, + "networks": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "chainId": { + "type": "integer" + }, + "solvers": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } } - } - }, - "permissions": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { "type": "object", "properties": { "id": { @@ -11879,103 +11877,634 @@ "attributes": { "type": "object", "properties": { - "action": { + "firstname": { "type": "string" }, - "subject": { + "lastname": { "type": "string" }, - "properties": {}, - "conditions": {}, - "role": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } + "username": { + "type": "string" }, - "createdAt": { + "email": { "type": "string", - "format": "date-time" + "format": "email" }, - "updatedAt": { - "type": "string", - "format": "date-time" + "resetPasswordToken": { + "type": "string" }, - "createdBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } + "registrationToken": { + "type": "string" }, - "updatedBy": { + "isActive": { + "type": "boolean" + }, + "roles": { "type": "object", "properties": { "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } - } - } - } - } - } - } - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "users": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "permissions": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "properties": {}, + "conditions": {}, + "role": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "blocked": { + "type": "boolean" + }, + "preferedLanguage": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "active": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "pathId": { + "type": "integer" + }, + "parent": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "children": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "files": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "path": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } } }, "updatedBy": { @@ -12000,51 +12529,58 @@ } } } - } - }, - "blocked": { - "type": "boolean" - }, - "preferedLanguage": { - "type": "string" - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + }, + "organization": { + "type": "string" + }, + "website": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } - } - }, - "updatedBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } @@ -12056,6 +12592,35 @@ } } }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, "updatedBy": { "type": "object", "properties": { @@ -16204,16 +16769,221 @@ "__component": { "type": "string" }, - "title": { - "type": "string" - }, - "emailPlaceholder": { - "type": "string" - }, - "submitButton": { - "$ref": "#/components/schemas/LinksButtonComponent" - }, - "location": { + "title": { + "type": "string" + }, + "emailPlaceholder": { + "type": "string" + }, + "submitButton": { + "$ref": "#/components/schemas/LinksButtonComponent" + }, + "location": { + "type": "string" + }, + "description": { + "type": "string" + } + } + }, + "ElementsFeatureComponent": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "title": { + "type": "string" + }, + "description": { + "type": "string" + }, + "media": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "showLink": { + "type": "boolean" + }, + "newTab": { + "type": "boolean" + }, + "url": { + "type": "string" + }, + "text": { + "type": "string" + } + } + }, + "SectionsFeaturesComponent": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "__component": { + "type": "string" + }, + "heading": { + "type": "string" + }, + "description": { + "type": "string" + }, + "feature": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ElementsFeatureComponent" + } + } + } + }, + "SectionsHeadingComponent": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "__component": { + "type": "string" + }, + "heading": { "type": "string" }, "description": { @@ -16221,19 +16991,93 @@ } } }, - "ElementsFeatureComponent": { + "ProductFeatureRequest": { + "type": "object", + "required": [ + "data" + ], + "properties": { + "data": { + "required": [ + "name" + ], + "type": "object", + "properties": { + "name": { + "type": "string" + } + } + } + } + }, + "ProductFeatureListResponseDataItem": { "type": "object", "properties": { "id": { "type": "number" }, - "title": { - "type": "string" + "attributes": { + "$ref": "#/components/schemas/ProductFeature" + } + } + }, + "ProductFeatureListResponse": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ProductFeatureListResponseDataItem" + } }, - "description": { + "meta": { + "type": "object", + "properties": { + "pagination": { + "type": "object", + "properties": { + "page": { + "type": "integer" + }, + "pageSize": { + "type": "integer", + "minimum": 25 + }, + "pageCount": { + "type": "integer", + "maximum": 1 + }, + "total": { + "type": "integer" + } + } + } + } + } + } + }, + "ProductFeature": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { "type": "string" }, - "media": { + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { "type": "object", "properties": { "data": { @@ -16245,46 +17089,29 @@ "attributes": { "type": "object", "properties": { - "name": { - "type": "string" - }, - "alternativeText": { - "type": "string" - }, - "caption": { - "type": "string" - }, - "width": { - "type": "integer" - }, - "height": { - "type": "integer" - }, - "formats": {}, - "hash": { + "firstname": { "type": "string" }, - "ext": { + "lastname": { "type": "string" }, - "mime": { + "username": { "type": "string" }, - "size": { - "type": "number", - "format": "float" + "email": { + "type": "string", + "format": "email" }, - "url": { + "resetPasswordToken": { "type": "string" }, - "previewUrl": { + "registrationToken": { "type": "string" }, - "provider": { - "type": "string" + "isActive": { + "type": "boolean" }, - "provider_metadata": {}, - "related": { + "roles": { "type": "object", "properties": { "data": { @@ -16297,31 +17124,177 @@ }, "attributes": { "type": "object", - "properties": {} + "properties": { + "name": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "users": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "permissions": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "properties": {}, + "conditions": {}, + "role": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } } } } } } }, - "folder": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } + "blocked": { + "type": "boolean" }, - "folderPath": { + "preferedLanguage": { "type": "string" }, "createdAt": { @@ -16372,61 +17345,48 @@ } } }, - "showLink": { - "type": "boolean" - }, - "newTab": { - "type": "boolean" - }, - "url": { - "type": "string" - }, - "text": { - "type": "string" + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } } } }, - "SectionsFeaturesComponent": { + "ProductFeatureResponseDataObject": { "type": "object", "properties": { "id": { "type": "number" }, - "__component": { - "type": "string" - }, - "heading": { - "type": "string" - }, - "description": { - "type": "string" - }, - "feature": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ElementsFeatureComponent" - } + "attributes": { + "$ref": "#/components/schemas/ProductFeature" } } }, - "SectionsHeadingComponent": { + "ProductFeatureResponse": { "type": "object", "properties": { - "id": { - "type": "number" - }, - "__component": { - "type": "string" - }, - "heading": { - "type": "string" + "data": { + "$ref": "#/components/schemas/ProductFeatureResponseDataObject" }, - "description": { - "type": "string" + "meta": { + "type": "object" } } }, - "ProductFeatureRequest": { + "SolverRequest": { "type": "object", "required": [ "data" @@ -16434,35 +17394,80 @@ "properties": { "data": { "required": [ - "name" + "name", + "address", + "active" ], "type": "object", "properties": { "name": { "type": "string" + }, + "address": { + "type": "string" + }, + "payoutAddress": { + "type": "string" + }, + "networks": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "example": "string or id" + } + }, + "active": { + "type": "boolean" + }, + "image": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], + "example": "string or id" + }, + "organization": { + "type": "string" + }, + "website": { + "type": "string" + }, + "description": { + "type": "string" } } } } }, - "ProductFeatureListResponseDataItem": { + "SolverListResponseDataItem": { "type": "object", "properties": { "id": { "type": "number" }, "attributes": { - "$ref": "#/components/schemas/ProductFeature" + "$ref": "#/components/schemas/Solver" } } }, - "ProductFeatureListResponse": { + "SolverListResponse": { "type": "object", "properties": { "data": { "type": "array", "items": { - "$ref": "#/components/schemas/ProductFeatureListResponseDataItem" + "$ref": "#/components/schemas/SolverListResponseDataItem" } }, "meta": { @@ -16491,110 +17496,93 @@ } } }, - "ProductFeature": { + "Solver": { "type": "object", "required": [ - "name" + "name", + "address", + "active" ], "properties": { "name": { "type": "string" }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" + "address": { + "type": "string" }, - "publishedAt": { - "type": "string", - "format": "date-time" + "payoutAddress": { + "type": "string" }, - "createdBy": { + "networks": { "type": "object", "properties": { "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": { - "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": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "code": { - "type": "string" - }, - "description": { - "type": "string" - }, - "users": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "chainId": { + "type": "integer" + }, + "solvers": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "address": { + "type": "string" + }, + "payoutAddress": { + "type": "string" + }, + "networks": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } } - } - }, - "permissions": { - "type": "object", - "properties": { - "data": { - "type": "array", - "items": { + }, + "active": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "data": { "type": "object", "properties": { "id": { @@ -16603,15 +17591,66 @@ "attributes": { "type": "object", "properties": { - "action": { + "name": { "type": "string" }, - "subject": { + "alternativeText": { "type": "string" }, - "properties": {}, - "conditions": {}, - "role": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { "type": "object", "properties": { "data": { @@ -16622,12 +17661,497 @@ }, "attributes": { "type": "object", - "properties": {} + "properties": { + "name": { + "type": "string" + }, + "pathId": { + "type": "integer" + }, + "parent": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "children": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "files": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "folderPath": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "code": { + "type": "string" + }, + "description": { + "type": "string" + }, + "users": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "permissions": { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "action": { + "type": "string" + }, + "subject": { + "type": "string" + }, + "properties": {}, + "conditions": {}, + "role": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "blocked": { + "type": "boolean" + }, + "preferedLanguage": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + } + } + } + } + } + }, + "path": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } } } } } }, + "folderPath": { + "type": "string" + }, "createdAt": { "type": "string", "format": "date-time" @@ -16675,45 +18199,58 @@ } } } - } - }, - "createdAt": { - "type": "string", - "format": "date-time" - }, - "updatedAt": { - "type": "string", - "format": "date-time" - }, - "createdBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + }, + "organization": { + "type": "string" + }, + "website": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } - } - }, - "updatedBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } } } } @@ -16724,12 +18261,152 @@ } } } + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } } + } + } + } + } + } + } + }, + "active": { + "type": "boolean" + }, + "image": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": { + "name": { + "type": "string" }, - "blocked": { - "type": "boolean" + "alternativeText": { + "type": "string" }, - "preferedLanguage": { + "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": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + }, + "folder": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, + "folderPath": { "type": "string" }, "createdAt": { @@ -16780,6 +18457,44 @@ } } }, + "organization": { + "type": "string" + }, + "website": { + "type": "string" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" + }, + "publishedAt": { + "type": "string", + "format": "date-time" + }, + "createdBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + }, "updatedBy": { "type": "object", "properties": { @@ -16799,22 +18514,22 @@ } } }, - "ProductFeatureResponseDataObject": { + "SolverResponseDataObject": { "type": "object", "properties": { "id": { "type": "number" }, "attributes": { - "$ref": "#/components/schemas/ProductFeature" + "$ref": "#/components/schemas/Solver" } } }, - "ProductFeatureResponse": { + "SolverResponse": { "type": "object", "properties": { "data": { - "$ref": "#/components/schemas/ProductFeatureResponseDataObject" + "$ref": "#/components/schemas/SolverResponseDataObject" }, "meta": { "type": "object" @@ -19135,256 +20850,761 @@ } } }, - "updatedBy": { - "type": "object", - "properties": { - "data": { - "type": "object", - "properties": { - "id": { - "type": "number" - }, - "attributes": { - "type": "object", - "properties": {} - } - } - } - } + "updatedBy": { + "type": "object", + "properties": { + "data": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "type": "object", + "properties": {} + } + } + } + } + } + } + }, + "TelegramSubscriptionResponseDataObject": { + "type": "object", + "properties": { + "id": { + "type": "number" + }, + "attributes": { + "$ref": "#/components/schemas/TelegramSubscription" + } + } + }, + "TelegramSubscriptionResponse": { + "type": "object", + "properties": { + "data": { + "$ref": "#/components/schemas/TelegramSubscriptionResponseDataObject" + }, + "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" } } }, - "TelegramSubscriptionResponseDataObject": { + "Users-Permissions-Role": { "type": "object", "properties": { "id": { "type": "number" }, - "attributes": { - "$ref": "#/components/schemas/TelegramSubscription" + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "type": { + "type": "string" + }, + "createdAt": { + "type": "string", + "format": "date-time" + }, + "updatedAt": { + "type": "string", + "format": "date-time" } } }, - "TelegramSubscriptionResponse": { + "Users-Permissions-User": { "type": "object", "properties": { - "data": { - "$ref": "#/components/schemas/TelegramSubscriptionResponseDataObject" + "id": { + "type": "number", + "example": 1 }, - "meta": { - "type": "object" + "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" } } }, - "UploadFile": { + "Users-Permissions-UserRegistration": { + "type": "object", "properties": { - "id": { - "type": "number" + "jwt": { + "type": "string", + "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" }, - "name": { - "type": "string" + "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 + } + } + } + } + } + } + } + } + } + } + }, + "paths": { + "/articles": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArticleListResponse" + } + } + } }, - "alternativeText": { - "type": "string" + "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" + } }, - "caption": { - "type": "string" + { + "name": "pagination[withCount]", + "in": "query", + "description": "Return page/pageSize (default: true)", + "deprecated": false, + "required": false, + "schema": { + "type": "boolean" + } }, - "width": { - "type": "number", - "format": "integer" + { + "name": "pagination[page]", + "in": "query", + "description": "Page number (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } }, - "height": { - "type": "number", - "format": "integer" + { + "name": "pagination[pageSize]", + "in": "query", + "description": "Page size (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } }, - "formats": { - "type": "number" + { + "name": "pagination[start]", + "in": "query", + "description": "Offset value (default: 0)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } }, - "hash": { - "type": "string" + { + "name": "pagination[limit]", + "in": "query", + "description": "Number of entities to return (default: 25)", + "deprecated": false, + "required": false, + "schema": { + "type": "integer" + } }, - "ext": { - "type": "string" + { + "name": "fields", + "in": "query", + "description": "Fields to return (ex: title,author)", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } }, - "mime": { - "type": "string" + { + "name": "populate", + "in": "query", + "description": "Relations to return", + "deprecated": false, + "required": false, + "schema": { + "type": "string" + } }, - "size": { - "type": "number", - "format": "double" + { + "name": "filters", + "in": "query", + "description": "Filters to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "object" + }, + "style": "deepObject" }, - "url": { - "type": "string" + { + "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" + } + } + } }, - "previewUrl": { - "type": "string" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "provider": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "provider_metadata": { - "type": "object" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "createdAt": { - "type": "string", - "format": "date-time" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "updatedAt": { - "type": "string", - "format": "date-time" + "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" + } + } } } - }, - "Users-Permissions-Role": { - "type": "object", - "properties": { - "id": { - "type": "number" + } + }, + "/articles/{id}": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArticleResponse" + } + } + } }, - "name": { - "type": "string" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "description": { - "type": "string" + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "type": { - "type": "string" + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "createdAt": { - "type": "string", - "format": "date-time" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "updatedAt": { - "type": "string", - "format": "date-time" + "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}" }, - "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" + "put": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ArticleResponse" + } + } + } }, - "provider": { - "type": "string", - "example": "local" + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "confirmed": { - "type": "boolean", - "example": true + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "blocked": { - "type": "boolean", - "example": false + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "createdAt": { - "type": "string", - "format": "date-time", - "example": "2022-06-02T08:32:06.258Z" + "404": { + "description": "Not Found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } }, - "updatedAt": { - "type": "string", - "format": "date-time", - "example": "2022-06-02T08:32:06.267Z" + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } + } } - } - }, - "Users-Permissions-UserRegistration": { - "type": "object", - "properties": { - "jwt": { - "type": "string", - "example": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" - }, - "user": { - "$ref": "#/components/schemas/Users-Permissions-User" + }, + "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" + } + } } } }, - "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" - } - } + "delete": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "type": "integer", + "format": "int64" } } } - } - } - } - }, - "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" + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" } } - }, - "example": { - "name": "foo", - "description": "role foo", - "permissions": { - "api::content-type.content-type": { - "controllers": { - "controllerA": { - "find": { - "enabled": true - } - } - } + } + }, + "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}" } - } - }, - "paths": { - "/articles": { + }, + "/authors": { "get": { "responses": { "200": { @@ -19392,7 +21612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleListResponse" + "$ref": "#/components/schemas/AuthorListResponse" } } } @@ -19449,7 +21669,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -19554,7 +21774,7 @@ } } ], - "operationId": "get/articles" + "operationId": "get/authors" }, "post": { "responses": { @@ -19563,7 +21783,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleResponse" + "$ref": "#/components/schemas/AuthorResponse" } } } @@ -19620,23 +21840,23 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [], - "operationId": "post/articles", + "operationId": "post/authors", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleRequest" + "$ref": "#/components/schemas/AuthorRequest" } } } } } }, - "/articles/{id}": { + "/authors/{id}": { "get": { "responses": { "200": { @@ -19644,7 +21864,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleResponse" + "$ref": "#/components/schemas/AuthorResponse" } } } @@ -19701,7 +21921,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -19715,7 +21935,7 @@ } } ], - "operationId": "get/articles/{id}" + "operationId": "get/authors/{id}" }, "put": { "responses": { @@ -19724,7 +21944,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleResponse" + "$ref": "#/components/schemas/AuthorResponse" } } } @@ -19781,7 +22001,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -19795,13 +22015,13 @@ } } ], - "operationId": "put/articles/{id}", + "operationId": "put/authors/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ArticleRequest" + "$ref": "#/components/schemas/AuthorRequest" } } } @@ -19872,7 +22092,7 @@ } }, "tags": [ - "Article" + "Author" ], "parameters": [ { @@ -19886,10 +22106,10 @@ } } ], - "operationId": "delete/articles/{id}" + "operationId": "delete/authors/{id}" } }, - "/authors": { + "/categories": { "get": { "responses": { "200": { @@ -19897,7 +22117,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorListResponse" + "$ref": "#/components/schemas/CategoryListResponse" } } } @@ -19954,7 +22174,7 @@ } }, "tags": [ - "Author" + "Category" ], "parameters": [ { @@ -20059,7 +22279,7 @@ } } ], - "operationId": "get/authors" + "operationId": "get/categories" }, "post": { "responses": { @@ -20068,7 +22288,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -20125,23 +22345,23 @@ } }, "tags": [ - "Author" + "Category" ], "parameters": [], - "operationId": "post/authors", + "operationId": "post/categories", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorRequest" + "$ref": "#/components/schemas/CategoryRequest" } } } } } }, - "/authors/{id}": { + "/categories/{id}": { "get": { "responses": { "200": { @@ -20149,7 +22369,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -20206,7 +22426,7 @@ } }, "tags": [ - "Author" + "Category" ], "parameters": [ { @@ -20220,7 +22440,7 @@ } } ], - "operationId": "get/authors/{id}" + "operationId": "get/categories/{id}" }, "put": { "responses": { @@ -20229,7 +22449,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorResponse" + "$ref": "#/components/schemas/CategoryResponse" } } } @@ -20286,7 +22506,7 @@ } }, "tags": [ - "Author" + "Category" ], "parameters": [ { @@ -20300,13 +22520,13 @@ } } ], - "operationId": "put/authors/{id}", + "operationId": "put/categories/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuthorRequest" + "$ref": "#/components/schemas/CategoryRequest" } } } @@ -20377,7 +22597,7 @@ } }, "tags": [ - "Author" + "Category" ], "parameters": [ { @@ -20391,10 +22611,10 @@ } } ], - "operationId": "delete/authors/{id}" + "operationId": "delete/categories/{id}" } }, - "/categories": { + "/faq-categories": { "get": { "responses": { "200": { @@ -20402,7 +22622,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryListResponse" + "$ref": "#/components/schemas/FaqCategoryListResponse" } } } @@ -20459,7 +22679,7 @@ } }, "tags": [ - "Category" + "Faq-category" ], "parameters": [ { @@ -20564,7 +22784,7 @@ } } ], - "operationId": "get/categories" + "operationId": "get/faq-categories" }, "post": { "responses": { @@ -20573,7 +22793,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -20630,23 +22850,23 @@ } }, "tags": [ - "Category" + "Faq-category" ], "parameters": [], - "operationId": "post/categories", + "operationId": "post/faq-categories", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryRequest" + "$ref": "#/components/schemas/FaqCategoryRequest" } } } } } }, - "/categories/{id}": { + "/faq-categories/{id}": { "get": { "responses": { "200": { @@ -20654,7 +22874,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -20711,7 +22931,7 @@ } }, "tags": [ - "Category" + "Faq-category" ], "parameters": [ { @@ -20725,7 +22945,7 @@ } } ], - "operationId": "get/categories/{id}" + "operationId": "get/faq-categories/{id}" }, "put": { "responses": { @@ -20734,7 +22954,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryResponse" + "$ref": "#/components/schemas/FaqCategoryResponse" } } } @@ -20791,7 +23011,7 @@ } }, "tags": [ - "Category" + "Faq-category" ], "parameters": [ { @@ -20805,13 +23025,13 @@ } } ], - "operationId": "put/categories/{id}", + "operationId": "put/faq-categories/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CategoryRequest" + "$ref": "#/components/schemas/FaqCategoryRequest" } } } @@ -20882,7 +23102,7 @@ } }, "tags": [ - "Category" + "Faq-category" ], "parameters": [ { @@ -20896,10 +23116,10 @@ } } ], - "operationId": "delete/categories/{id}" + "operationId": "delete/faq-categories/{id}" } }, - "/faq-categories": { + "/faq-questions": { "get": { "responses": { "200": { @@ -20907,7 +23127,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryListResponse" + "$ref": "#/components/schemas/FaqQuestionListResponse" } } } @@ -20964,7 +23184,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -21069,7 +23289,7 @@ } } ], - "operationId": "get/faq-categories" + "operationId": "get/faq-questions" }, "post": { "responses": { @@ -21078,7 +23298,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -21135,23 +23355,23 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [], - "operationId": "post/faq-categories", + "operationId": "post/faq-questions", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryRequest" + "$ref": "#/components/schemas/FaqQuestionRequest" } } } } } }, - "/faq-categories/{id}": { + "/faq-questions/{id}": { "get": { "responses": { "200": { @@ -21159,7 +23379,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -21216,7 +23436,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -21230,7 +23450,7 @@ } } ], - "operationId": "get/faq-categories/{id}" + "operationId": "get/faq-questions/{id}" }, "put": { "responses": { @@ -21239,7 +23459,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryResponse" + "$ref": "#/components/schemas/FaqQuestionResponse" } } } @@ -21296,7 +23516,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -21310,13 +23530,13 @@ } } ], - "operationId": "put/faq-categories/{id}", + "operationId": "put/faq-questions/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqCategoryRequest" + "$ref": "#/components/schemas/FaqQuestionRequest" } } } @@ -21387,7 +23607,7 @@ } }, "tags": [ - "Faq-category" + "Faq-question" ], "parameters": [ { @@ -21401,10 +23621,10 @@ } } ], - "operationId": "delete/faq-categories/{id}" + "operationId": "delete/faq-questions/{id}" } }, - "/faq-questions": { + "/global": { "get": { "responses": { "200": { @@ -21412,7 +23632,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionListResponse" + "$ref": "#/components/schemas/GlobalResponse" } } } @@ -21469,7 +23689,7 @@ } }, "tags": [ - "Faq-question" + "Global" ], "parameters": [ { @@ -21568,103 +23788,22 @@ "in": "query", "description": "Locale to apply", "deprecated": false, - "required": false, - "schema": { - "type": "string" - } - } - ], - "operationId": "get/faq-questions" - }, - "post": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" - } - } - } - }, - "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" - } - } + "required": false, + "schema": { + "type": "string" } } - }, - "tags": [ - "Faq-question" ], - "parameters": [], - "operationId": "post/faq-questions", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FaqQuestionRequest" - } - } - } - } - } - }, - "/faq-questions/{id}": { - "get": { + "operationId": "get/global" + }, + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" + "$ref": "#/components/schemas/GlobalResponse" } } } @@ -21721,30 +23860,30 @@ } }, "tags": [ - "Faq-question" + "Global" ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" + "parameters": [], + "operationId": "put/global", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalRequest" + } } } - ], - "operationId": "get/faq-questions/{id}" + } }, - "put": { + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/FaqQuestionResponse" + "type": "integer", + "format": "int64" } } } @@ -21801,41 +23940,21 @@ } }, "tags": [ - "Faq-question" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } + "Global" ], - "operationId": "put/faq-questions/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/FaqQuestionRequest" - } - } - } - } - }, - "delete": { + "parameters": [], + "operationId": "delete/global" + } + }, + "/global/localizations": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/GlobalLocalizationResponse" } } } @@ -21892,24 +24011,23 @@ } }, "tags": [ - "Faq-question" + "Global" ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" + "parameters": [], + "operationId": "post/global/localizations", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GlobalLocalizationRequest" + } } } - ], - "operationId": "delete/faq-questions/{id}" + } } }, - "/global": { + "/lead-form-submissions": { "get": { "responses": { "200": { @@ -21917,7 +24035,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalResponse" + "$ref": "#/components/schemas/LeadFormSubmissionListResponse" } } } @@ -21974,7 +24092,7 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], "parameters": [ { @@ -22079,16 +24197,16 @@ } } ], - "operationId": "get/global" + "operationId": "get/lead-form-submissions" }, - "put": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalResponse" + "$ref": "#/components/schemas/LeadFormSubmissionResponse" } } } @@ -22145,30 +24263,31 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], "parameters": [], - "operationId": "put/global", + "operationId": "post/lead-form-submissions", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalRequest" + "$ref": "#/components/schemas/LeadFormSubmissionRequest" } } } } - }, - "delete": { + } + }, + "/lead-form-submissions/{id}": { + "get": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/LeadFormSubmissionResponse" } } } @@ -22225,21 +24344,30 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], - "parameters": [], - "operationId": "delete/global" - } - }, - "/global/localizations": { - "post": { + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "get/lead-form-submissions/{id}" + }, + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalLocalizationResponse" + "$ref": "#/components/schemas/LeadFormSubmissionResponse" } } } @@ -22296,23 +24424,115 @@ } }, "tags": [ - "Global" + "Lead-form-submission" ], - "parameters": [], - "operationId": "post/global/localizations", + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "put/lead-form-submissions/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GlobalLocalizationRequest" + "$ref": "#/components/schemas/LeadFormSubmissionRequest" + } + } + } + } + }, + "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": [ + "Lead-form-submission" + ], + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } } - } + ], + "operationId": "delete/lead-form-submissions/{id}" } }, - "/lead-form-submissions": { + "/networks": { "get": { "responses": { "200": { @@ -22320,7 +24540,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionListResponse" + "$ref": "#/components/schemas/NetworkListResponse" } } } @@ -22377,7 +24597,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -22482,7 +24702,7 @@ } } ], - "operationId": "get/lead-form-submissions" + "operationId": "get/networks" }, "post": { "responses": { @@ -22491,7 +24711,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -22548,23 +24768,23 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [], - "operationId": "post/lead-form-submissions", + "operationId": "post/networks", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionRequest" + "$ref": "#/components/schemas/NetworkRequest" } } } } } }, - "/lead-form-submissions/{id}": { + "/networks/{id}": { "get": { "responses": { "200": { @@ -22572,7 +24792,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -22629,7 +24849,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -22643,7 +24863,7 @@ } } ], - "operationId": "get/lead-form-submissions/{id}" + "operationId": "get/networks/{id}" }, "put": { "responses": { @@ -22652,7 +24872,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionResponse" + "$ref": "#/components/schemas/NetworkResponse" } } } @@ -22709,7 +24929,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -22723,13 +24943,13 @@ } } ], - "operationId": "put/lead-form-submissions/{id}", + "operationId": "put/networks/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/LeadFormSubmissionRequest" + "$ref": "#/components/schemas/NetworkRequest" } } } @@ -22800,7 +25020,7 @@ } }, "tags": [ - "Lead-form-submission" + "Network" ], "parameters": [ { @@ -22814,10 +25034,10 @@ } } ], - "operationId": "delete/lead-form-submissions/{id}" + "operationId": "delete/networks/{id}" } }, - "/networks": { + "/notifications": { "get": { "responses": { "200": { @@ -22825,7 +25045,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkListResponse" + "$ref": "#/components/schemas/NotificationListResponse" } } } @@ -22882,7 +25102,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -22987,7 +25207,7 @@ } } ], - "operationId": "get/networks" + "operationId": "get/notifications" }, "post": { "responses": { @@ -22996,7 +25216,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -23053,23 +25273,23 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [], - "operationId": "post/networks", + "operationId": "post/notifications", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkRequest" + "$ref": "#/components/schemas/NotificationRequest" } } } } } }, - "/networks/{id}": { + "/notifications/{id}": { "get": { "responses": { "200": { @@ -23077,7 +25297,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -23134,7 +25354,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -23148,7 +25368,7 @@ } } ], - "operationId": "get/networks/{id}" + "operationId": "get/notifications/{id}" }, "put": { "responses": { @@ -23157,7 +25377,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkResponse" + "$ref": "#/components/schemas/NotificationResponse" } } } @@ -23214,7 +25434,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -23228,13 +25448,13 @@ } } ], - "operationId": "put/networks/{id}", + "operationId": "put/notifications/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NetworkRequest" + "$ref": "#/components/schemas/NotificationRequest" } } } @@ -23305,7 +25525,7 @@ } }, "tags": [ - "Network" + "Notification" ], "parameters": [ { @@ -23313,188 +25533,17 @@ "in": "path", "description": "", "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "delete/networks/{id}" - } - }, - "/notifications": { - "get": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationListResponse" - } - } - } - }, - "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": [ - "Notification" - ], - "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" - }, - "style": "deepObject" - }, - { - "name": "locale", - "in": "query", - "description": "Locale to apply", - "deprecated": false, - "required": false, + "required": true, "schema": { - "type": "string" + "type": "number" } } ], - "operationId": "get/notifications" - }, - "post": { + "operationId": "delete/notifications/{id}" + } + }, + "/notification-list/{account}": { + "get": { "responses": { "200": { "description": "OK", @@ -23560,21 +25609,22 @@ "tags": [ "Notification" ], - "parameters": [], - "operationId": "post/notifications", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } + "parameters": [ + { + "name": "account", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" } } - } + ], + "operationId": "get/notification-list/{account}" } }, - "/notifications/{id}": { + "/accounts/{account}/notifications": { "get": { "responses": { "200": { @@ -23643,7 +25693,7 @@ ], "parameters": [ { - "name": "id", + "name": "account", "in": "path", "description": "", "deprecated": false, @@ -23653,9 +25703,11 @@ } } ], - "operationId": "get/notifications/{id}" - }, - "put": { + "operationId": "get/accounts/{account}/notifications" + } + }, + "/push-notifications": { + "get": { "responses": { "200": { "description": "OK", @@ -23721,39 +25773,190 @@ "tags": [ "Notification" ], + "parameters": [], + "operationId": "get/push-notifications" + } + }, + "/notification-templates": { + "get": { + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationTemplateListResponse" + } + } + } + }, + "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": [ + "Notification-template" + ], "parameters": [ { - "name": "id", - "in": "path", - "description": "", + "name": "sort", + "in": "query", + "description": "Sort by attributes ascending (asc) or descending (desc)", "deprecated": false, - "required": true, + "required": false, "schema": { - "type": "number" + "type": "string" } - } - ], - "operationId": "put/notifications/{id}", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationRequest" - } + }, + { + "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" + }, + "style": "deepObject" + }, + { + "name": "locale", + "in": "query", + "description": "Locale to apply", + "deprecated": false, + "required": false, + "schema": { + "type": "string" } } - } + ], + "operationId": "get/notification-templates" }, - "delete": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -23810,24 +26013,23 @@ } }, "tags": [ - "Notification" + "Notification-template" ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" + "parameters": [], + "operationId": "post/notification-templates", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationTemplateRequest" + } } - } - ], - "operationId": "delete/notifications/{id}" + } + } } }, - "/notification-list/{account}": { + "/notification-templates/{id}": { "get": { "responses": { "200": { @@ -23835,7 +26037,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -23892,11 +26094,11 @@ } }, "tags": [ - "Notification" + "Notification-template" ], "parameters": [ { - "name": "account", + "name": "id", "in": "path", "description": "", "deprecated": false, @@ -23906,18 +26108,16 @@ } } ], - "operationId": "get/notification-list/{account}" - } - }, - "/accounts/{account}/notifications": { - "get": { + "operationId": "get/notification-templates/{id}" + }, + "put": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "$ref": "#/components/schemas/NotificationTemplateResponse" } } } @@ -23974,11 +26174,11 @@ } }, "tags": [ - "Notification" + "Notification-template" ], "parameters": [ { - "name": "account", + "name": "id", "in": "path", "description": "", "deprecated": false, @@ -23988,18 +26188,27 @@ } } ], - "operationId": "get/accounts/{account}/notifications" - } - }, - "/push-notifications": { - "get": { + "operationId": "put/notification-templates/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotificationTemplateRequest" + } + } + } + } + }, + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationResponse" + "type": "integer", + "format": "int64" } } } @@ -24056,13 +26265,24 @@ } }, "tags": [ - "Notification" + "Notification-template" ], - "parameters": [], - "operationId": "get/push-notifications" + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "delete/notification-templates/{id}" } }, - "/notification-templates": { + "/notifications-consumer": { "get": { "responses": { "200": { @@ -24070,7 +26290,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateListResponse" + "$ref": "#/components/schemas/NotificationsConsumerResponse" } } } @@ -24127,7 +26347,7 @@ } }, "tags": [ - "Notification-template" + "Notifications-consumer" ], "parameters": [ { @@ -24232,168 +26452,7 @@ } } ], - "operationId": "get/notification-templates" - }, - "post": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" - } - } - } - }, - "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": [ - "Notification-template" - ], - "parameters": [], - "operationId": "post/notification-templates", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationTemplateRequest" - } - } - } - } - } - }, - "/notification-templates/{id}": { - "get": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" - } - } - } - }, - "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": [ - "Notification-template" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "get/notification-templates/{id}" + "operationId": "get/notifications-consumer" }, "put": { "responses": { @@ -24402,7 +26461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateResponse" + "$ref": "#/components/schemas/NotificationsConsumerResponse" } } } @@ -24447,39 +26506,28 @@ } } }, - "500": { - "description": "Internal Server Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Error" - } - } - } - } - }, - "tags": [ - "Notification-template" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" + "500": { + "description": "Internal Server Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Error" + } + } } } + }, + "tags": [ + "Notifications-consumer" ], - "operationId": "put/notification-templates/{id}", + "parameters": [], + "operationId": "put/notifications-consumer", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationTemplateRequest" + "$ref": "#/components/schemas/NotificationsConsumerRequest" } } } @@ -24550,24 +26598,13 @@ } }, "tags": [ - "Notification-template" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } + "Notifications-consumer" ], - "operationId": "delete/notification-templates/{id}" + "parameters": [], + "operationId": "delete/notifications-consumer" } }, - "/notifications-consumer": { + "/pages": { "get": { "responses": { "200": { @@ -24575,7 +26612,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationsConsumerResponse" + "$ref": "#/components/schemas/PageListResponse" } } } @@ -24632,7 +26669,7 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], "parameters": [ { @@ -24727,26 +26764,278 @@ "style": "deepObject" }, { - "name": "locale", - "in": "query", - "description": "Locale to apply", + "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": false, + "required": true, "schema": { - "type": "string" + "type": "number" } } ], - "operationId": "get/notifications-consumer" + "operationId": "put/pages/{id}", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageRequest" + } + } + } + } }, - "put": { + "delete": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/NotificationsConsumerResponse" + "type": "integer", + "format": "int64" } } } @@ -24803,30 +27092,32 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], - "parameters": [], - "operationId": "put/notifications-consumer", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/NotificationsConsumerRequest" - } + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" } } - } - }, - "delete": { + ], + "operationId": "delete/pages/{id}" + } + }, + "/pages/{id}/localizations": { + "post": { "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "type": "integer", - "format": "int64" + "$ref": "#/components/schemas/PageLocalizationResponse" } } } @@ -24883,13 +27174,34 @@ } }, "tags": [ - "Notifications-consumer" + "Page" ], - "parameters": [], - "operationId": "delete/notifications-consumer" + "parameters": [ + { + "name": "id", + "in": "path", + "description": "", + "deprecated": false, + "required": true, + "schema": { + "type": "number" + } + } + ], + "operationId": "post/pages/{id}/localizations", + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/PageLocalizationRequest" + } + } + } + } } }, - "/pages": { + "/product-features": { "get": { "responses": { "200": { @@ -24897,7 +27209,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageListResponse" + "$ref": "#/components/schemas/ProductFeatureListResponse" } } } @@ -24954,7 +27266,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -25059,7 +27371,7 @@ } } ], - "operationId": "get/pages" + "operationId": "get/product-features" }, "post": { "responses": { @@ -25068,7 +27380,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -25125,23 +27437,23 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [], - "operationId": "post/pages", + "operationId": "post/product-features", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageRequest" + "$ref": "#/components/schemas/ProductFeatureRequest" } } } } } }, - "/pages/{id}": { + "/product-features/{id}": { "get": { "responses": { "200": { @@ -25149,7 +27461,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -25206,7 +27518,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -25220,7 +27532,7 @@ } } ], - "operationId": "get/pages/{id}" + "operationId": "get/product-features/{id}" }, "put": { "responses": { @@ -25229,7 +27541,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageResponse" + "$ref": "#/components/schemas/ProductFeatureResponse" } } } @@ -25286,7 +27598,7 @@ } }, "tags": [ - "Page" + "Product-feature" ], "parameters": [ { @@ -25300,13 +27612,13 @@ } } ], - "operationId": "put/pages/{id}", + "operationId": "put/product-features/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/PageRequest" + "$ref": "#/components/schemas/ProductFeatureRequest" } } } @@ -25377,89 +27689,7 @@ } }, "tags": [ - "Page" - ], - "parameters": [ - { - "name": "id", - "in": "path", - "description": "", - "deprecated": false, - "required": true, - "schema": { - "type": "number" - } - } - ], - "operationId": "delete/pages/{id}" - } - }, - "/pages/{id}/localizations": { - "post": { - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageLocalizationResponse" - } - } - } - }, - "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" + "Product-feature" ], "parameters": [ { @@ -25473,20 +27703,10 @@ } } ], - "operationId": "post/pages/{id}/localizations", - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PageLocalizationRequest" - } - } - } - } + "operationId": "delete/product-features/{id}" } }, - "/product-features": { + "/solvers": { "get": { "responses": { "200": { @@ -25494,7 +27714,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureListResponse" + "$ref": "#/components/schemas/SolverListResponse" } } } @@ -25551,7 +27771,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -25656,7 +27876,7 @@ } } ], - "operationId": "get/product-features" + "operationId": "get/solvers" }, "post": { "responses": { @@ -25665,7 +27885,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -25722,23 +27942,23 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [], - "operationId": "post/product-features", + "operationId": "post/solvers", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureRequest" + "$ref": "#/components/schemas/SolverRequest" } } } } } }, - "/product-features/{id}": { + "/solvers/{id}": { "get": { "responses": { "200": { @@ -25746,7 +27966,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -25803,7 +28023,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -25817,7 +28037,7 @@ } } ], - "operationId": "get/product-features/{id}" + "operationId": "get/solvers/{id}" }, "put": { "responses": { @@ -25826,7 +28046,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureResponse" + "$ref": "#/components/schemas/SolverResponse" } } } @@ -25883,7 +28103,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -25897,13 +28117,13 @@ } } ], - "operationId": "put/product-features/{id}", + "operationId": "put/solvers/{id}", "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/ProductFeatureRequest" + "$ref": "#/components/schemas/SolverRequest" } } } @@ -25974,7 +28194,7 @@ } }, "tags": [ - "Product-feature" + "Solver" ], "parameters": [ { @@ -25988,7 +28208,7 @@ } } ], - "operationId": "delete/product-features/{id}" + "operationId": "delete/solvers/{id}" } }, "/tags": {