diff --git a/CLAUDE.md b/CLAUDE.md index 483a37f8..82f761aa 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -9,7 +9,7 @@ Run specs using `./test` make sure to run specs using a subagent. You can also r Make sure to write thorough tests. Reference existing models in the lib folder if you want to see ORM internals. There are some extentions to the ORM in this project in ./lib/placeos-models/base/* if you need to understand why something isn't working. -Make sure to create and maintain a PLAN.md file to keep track of progress. +Make sure to create and maintain a new plan file for each task to keep track of progress. ## 1. Plan Node Default - Enter plan mode for ANY non-trivial task (3+ steps or architectural decisions) diff --git a/OPENAPI_DOC.yml b/OPENAPI_DOC.yml index ffe647e4..603dc73c 100644 --- a/OPENAPI_DOC.yml +++ b/OPENAPI_DOC.yml @@ -89,6 +89,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -107,12 +113,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -164,6 +164,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -182,12 +188,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -239,6 +239,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -257,12 +263,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -319,6 +319,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -337,12 +343,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -389,6 +389,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -407,12 +413,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -469,6 +469,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -487,12 +493,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -546,6 +546,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -564,12 +570,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -681,6 +681,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -699,12 +705,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -756,6 +756,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -774,12 +780,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -838,156 +838,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - put: - summary: updates an alert - tags: - - Alerts - operationId: PlaceOS::Api::Alerts_update - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Alert' - required: true - parameters: - - name: id - in: path - required: true - schema: - type: string - responses: - 200: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Alert' - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - delete: - summary: removes an alert - tags: - - Alerts - operationId: PlaceOS::Api::Alerts_destroy - parameters: - - name: id - in: path - required: true - schema: - type: string - responses: - 202: - description: Accepted - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 408: description: Request Timeout content: @@ -1006,23 +862,17 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - patch: + put: summary: updates an alert tags: - Alerts - operationId: PlaceOS::Api::Alerts_update{2} + operationId: PlaceOS::Api::Alerts_update requestBody: content: application/json: @@ -1068,6 +918,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1086,12 +942,156 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + delete: + summary: removes an alert + tags: + - Alerts + operationId: PlaceOS::Api::Alerts_destroy + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 202: + description: Accepted + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + patch: + summary: updates an alert + tags: + - Alerts + operationId: PlaceOS::Api::Alerts_update{2} + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Alert' + required: true + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Alert' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -1183,6 +1183,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1201,12 +1207,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1258,6 +1258,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1276,12 +1282,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1333,6 +1333,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1351,12 +1357,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1413,6 +1413,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1431,12 +1437,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1483,6 +1483,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1501,12 +1507,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1563,6 +1563,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1581,12 +1587,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1633,6 +1633,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1651,12 +1657,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1749,6 +1749,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1767,12 +1773,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1824,6 +1824,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1842,12 +1848,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1899,6 +1899,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1917,12 +1923,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -1979,6 +1979,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -1997,12 +2003,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2049,6 +2049,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2067,12 +2073,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2129,6 +2129,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2147,12 +2153,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2236,6 +2236,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2254,12 +2260,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2311,6 +2311,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2329,12 +2335,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2386,6 +2386,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2404,12 +2410,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2466,6 +2466,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2484,12 +2490,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2536,6 +2536,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2554,12 +2560,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2616,6 +2616,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2634,12 +2640,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2751,6 +2751,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2769,12 +2775,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2826,6 +2826,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2844,12 +2850,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2901,6 +2901,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2919,12 +2925,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -2981,6 +2981,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -2999,12 +3005,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3051,6 +3051,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3069,12 +3075,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3131,6 +3131,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3149,12 +3155,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3305,6 +3305,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3323,12 +3329,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3380,6 +3380,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3398,12 +3404,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3455,6 +3455,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3473,12 +3479,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3535,6 +3535,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3553,12 +3559,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3605,6 +3605,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3623,12 +3629,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3685,6 +3685,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3703,12 +3709,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3763,6 +3763,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3781,12 +3787,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3840,6 +3840,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3858,12 +3864,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3911,6 +3911,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -3929,12 +3935,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -3988,6 +3988,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4006,12 +4012,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4102,6 +4102,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4120,12 +4126,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4177,6 +4177,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4195,12 +4201,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4252,6 +4252,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4270,12 +4276,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4332,6 +4332,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4350,12 +4356,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4402,6 +4402,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4420,12 +4426,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4482,6 +4482,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4500,12 +4506,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4596,6 +4596,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4614,12 +4620,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4671,6 +4671,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4689,12 +4695,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4746,6 +4746,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4764,12 +4770,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4826,6 +4826,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4844,12 +4850,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4896,6 +4896,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4914,12 +4920,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -4976,6 +4976,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -4994,12 +5000,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5090,6 +5090,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5108,12 +5114,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5165,6 +5165,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5183,12 +5189,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5240,6 +5240,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5258,12 +5264,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5320,6 +5320,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5338,12 +5344,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5390,6 +5390,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5408,12 +5414,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5470,6 +5470,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5488,12 +5494,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5542,6 +5542,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5560,12 +5566,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5617,6 +5617,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5635,12 +5641,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5692,6 +5692,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5710,12 +5716,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5772,6 +5772,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5790,12 +5796,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5842,6 +5842,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5860,12 +5866,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -5922,6 +5922,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -5940,12 +5946,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6004,6 +6004,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6022,12 +6028,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6079,6 +6079,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6097,12 +6103,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6186,6 +6186,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6204,12 +6210,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6265,6 +6265,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6283,12 +6289,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6337,6 +6337,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6355,12 +6361,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6417,6 +6417,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6435,12 +6441,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6495,6 +6495,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6513,12 +6519,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6580,6 +6580,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6598,12 +6604,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6682,6 +6682,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6694,12 +6700,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6755,6 +6755,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6773,12 +6779,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6839,6 +6839,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6857,12 +6863,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6916,6 +6916,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -6934,12 +6940,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -6989,6 +6989,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7007,12 +7013,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7096,6 +7096,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7114,12 +7120,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7171,6 +7171,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7189,12 +7195,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7248,6 +7248,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7266,12 +7272,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7323,6 +7323,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7341,12 +7347,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7403,6 +7403,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7421,12 +7427,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7473,6 +7473,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7491,12 +7497,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7553,6 +7553,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7571,12 +7577,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7680,6 +7680,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7698,12 +7704,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7755,6 +7755,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7773,12 +7779,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7836,6 +7836,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7854,12 +7860,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7916,6 +7916,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -7934,12 +7940,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -7986,6 +7986,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8004,12 +8010,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8066,6 +8066,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8084,12 +8090,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8141,6 +8141,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8159,12 +8165,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8217,6 +8217,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8235,12 +8241,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8293,6 +8293,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8311,12 +8317,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8364,6 +8364,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8382,12 +8388,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8478,6 +8478,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8496,12 +8502,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8553,6 +8553,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8571,12 +8577,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8628,6 +8628,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8646,12 +8652,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8708,6 +8708,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8726,12 +8732,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8778,6 +8778,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8796,12 +8802,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8858,6 +8858,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8876,12 +8882,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -8948,6 +8948,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -8966,12 +8972,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9091,6 +9091,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9109,12 +9115,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9166,6 +9166,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9184,12 +9190,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9247,6 +9247,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9265,12 +9271,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9327,6 +9327,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9345,12 +9351,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9397,6 +9397,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9415,12 +9421,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9477,6 +9477,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9495,12 +9501,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9554,6 +9554,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9572,12 +9578,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9631,6 +9631,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9649,12 +9655,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9702,6 +9702,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9720,12 +9726,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9773,6 +9773,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9791,12 +9797,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9860,6 +9860,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9878,12 +9884,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -9936,6 +9936,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -9954,12 +9960,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10017,6 +10017,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10035,12 +10041,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10092,6 +10092,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10110,12 +10116,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10170,6 +10170,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10188,12 +10194,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10364,6 +10364,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10382,12 +10388,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10439,6 +10439,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10457,12 +10463,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10520,6 +10520,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10538,12 +10544,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10602,6 +10602,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10620,12 +10626,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10691,6 +10691,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10709,12 +10715,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10762,6 +10762,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10780,12 +10786,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10851,6 +10851,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10869,12 +10875,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -10928,6 +10928,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -10946,12 +10952,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11008,6 +11008,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11026,12 +11032,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11085,6 +11085,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11103,12 +11109,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11165,6 +11165,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11183,12 +11189,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11244,6 +11244,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11262,12 +11268,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11321,6 +11321,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11339,12 +11345,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11398,6 +11398,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11416,12 +11422,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11490,6 +11490,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11508,12 +11514,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11565,6 +11565,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11583,12 +11589,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11648,6 +11648,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11666,12 +11672,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11738,6 +11738,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11756,12 +11762,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11824,6 +11824,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11842,12 +11848,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11897,6 +11897,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11915,12 +11921,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -11963,6 +11963,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -11981,12 +11987,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12038,6 +12038,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12056,12 +12062,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12149,6 +12149,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12167,12 +12173,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12224,6 +12224,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12242,12 +12248,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12299,6 +12299,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12317,12 +12323,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12379,6 +12379,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12397,12 +12403,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12449,6 +12449,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12467,12 +12473,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12529,6 +12529,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12547,12 +12553,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12618,6 +12618,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12636,12 +12642,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12693,6 +12693,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12711,12 +12717,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12768,6 +12768,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12786,12 +12792,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12843,6 +12843,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12861,12 +12867,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12913,6 +12913,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -12931,12 +12937,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -12995,6 +12995,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13013,12 +13019,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13065,6 +13065,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13083,12 +13089,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13135,6 +13135,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13153,12 +13159,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13205,6 +13205,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13223,12 +13229,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13276,6 +13276,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13294,12 +13300,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13342,6 +13342,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13360,12 +13366,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13408,6 +13408,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13426,12 +13432,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13484,6 +13484,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13502,12 +13508,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13554,6 +13554,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13572,12 +13578,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13627,6 +13627,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13645,12 +13651,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13753,6 +13753,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -13771,12 +13777,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -13831,82 +13831,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/groups/{id}: - get: - summary: Show group details. Visible if sys_admin or a member. - tags: - - Groups - operationId: PlaceOS::Api::Groups_show - parameters: - - name: id - in: path - required: true - schema: - type: string - format: uuid - responses: - 200: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Group' - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 408: description: Request Timeout content: @@ -13925,29 +13855,18 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - put: - summary: Update the group (name / description / parent). + /api/engine/v2/groups/{id}: + get: + summary: Show group details. Visible if sys_admin or a member. tags: - Groups - operationId: PlaceOS::Api::Groups_update - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Group' - required: true + operationId: PlaceOS::Api::Groups_show parameters: - name: id in: path @@ -13988,6 +13907,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14006,12 +13931,87 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + put: + summary: Update the group (name / description / parent). + tags: + - Groups + operationId: PlaceOS::Api::Groups_update + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Group' + required: true + parameters: + - name: id + in: path + required: true + schema: + type: string + format: uuid + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Group' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -14059,6 +14059,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14077,12 +14083,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14140,6 +14140,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14158,12 +14164,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14218,6 +14218,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14236,12 +14242,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14330,6 +14330,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14348,12 +14354,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14405,6 +14405,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14423,12 +14429,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14517,6 +14517,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14535,12 +14541,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14597,6 +14597,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14615,12 +14621,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14672,6 +14672,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14690,12 +14696,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14742,6 +14742,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14760,12 +14766,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14821,6 +14821,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14839,12 +14845,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -14940,6 +14940,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -14958,12 +14964,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15014,6 +15014,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15032,12 +15038,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15094,6 +15094,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15112,12 +15118,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15179,6 +15179,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15197,12 +15203,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15254,6 +15254,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15272,12 +15278,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15339,6 +15339,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15357,12 +15363,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15453,6 +15453,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15471,12 +15477,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15527,6 +15527,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15545,12 +15551,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15607,6 +15607,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15625,12 +15631,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15692,6 +15692,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15710,12 +15716,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15767,6 +15767,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15785,12 +15791,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15852,6 +15852,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15870,12 +15876,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -15942,6 +15942,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -15960,12 +15966,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16029,6 +16029,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16047,12 +16053,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16113,6 +16113,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16131,12 +16137,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16191,6 +16191,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16209,12 +16215,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16275,6 +16275,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16293,12 +16299,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16372,6 +16372,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16390,12 +16396,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16468,6 +16468,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16486,12 +16492,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16537,6 +16537,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16555,12 +16561,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16631,6 +16631,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16649,12 +16655,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16696,6 +16696,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16714,12 +16720,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16767,6 +16767,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16785,12 +16791,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16882,6 +16882,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16900,12 +16906,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -16957,6 +16957,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -16975,12 +16981,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17032,6 +17032,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17050,12 +17056,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17112,6 +17112,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17130,12 +17136,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17182,6 +17182,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17200,12 +17206,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17262,6 +17262,516 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/emails: + get: + summary: list queued/processed mail, filtered via Elasticsearch + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_index + parameters: + - name: group_id + in: query + description: only mail whose zones are anchored to this group; non-support + callers need Read on the group + example: group-uuid + schema: + type: string + format: uuid + nullable: true + - name: zones + in: query + description: only mail referencing any of these zones + example: zone-1234,zone-5678 + schema: + type: array + items: + type: string + nullable: true + - name: source_service + in: query + description: only mail queued by this service + example: bookings + schema: + type: string + nullable: true + - name: source_reference + in: query + description: only mail with this external reference / correlation id + example: booking-1234 + schema: + type: string + nullable: true + - name: authority_id + in: query + description: filter by authority (system admin / support only; regular users + are scoped to their own authority) + example: authority-1234 + schema: + type: string + nullable: true + - name: user_id + in: query + description: only mail triggered by this user + example: user-1234 + schema: + type: string + nullable: true + - name: include_expired + in: query + description: include mail past its expiry (default false) + example: "true" + schema: + type: boolean + - name: include_rejected + in: query + description: include mail that has been rejected (default false) + example: "true" + schema: + type: boolean + - name: unsent_only + in: query + description: only mail that is neither sent nor rejected (default false) + example: "true" + schema: + type: boolean + - name: sent_after + in: query + description: mail sent at or after this time (also matches rejected time when + include_rejected=true) + schema: + type: string + format: date-time + nullable: true + - name: sent_before + in: query + description: mail sent at or before this time (also matches rejected time + when include_rejected=true) + schema: + type: string + format: date-time + nullable: true + - name: send_at_after + in: query + description: mail scheduled to send at or after this time + schema: + type: string + format: date-time + nullable: true + - name: q + in: query + description: returns results based on a [simple query string](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-simple-query-string-query.html) + schema: + type: string + - name: limit + in: query + description: the maximum number of results to return + example: "10000" + schema: + type: integer + format: UInt32 + - name: offset + in: query + description: deprecated, the starting offset of the result set. Used to implement + pagination + schema: + type: integer + format: UInt32 + - name: ref + in: query + description: a token for accessing the next page of results, provided in the + `Link` header + schema: + type: string + nullable: true + - name: fields + in: query + description: (Optional, comma separated array of strings) Array of fields + you wish to search. Accepts wildcard expresssions and boost relevance score + for matches for particular field using a caret ^ operator. + schema: + type: array + items: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/PlaceOS__Model__PendingMail' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/emails/{id}: + get: + summary: show the selected mail + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_show + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__PendingMail' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + delete: + summary: remove a queued/processed mail + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_destroy + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 202: + description: Accepted + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/emails/{id}/reject: + post: + summary: mark a mail as rejected (it will not be sent) + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_reject + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: rejected_reason + in: query + description: human readable reason the mail was rejected + example: recipient opted out + schema: + type: string + nullable: true + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__PendingMail' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/emails/{id}/sent: + post: + summary: mark a mail as sent + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_sent + parameters: + - name: id + in: path + required: true + schema: + type: string + - name: sent_by + in: query + description: the worker / service that sent the mail + example: mailer + schema: + type: string + nullable: true + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__PendingMail' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17280,12 +17790,79 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/emails/cleanup: + delete: + summary: delete all sent, rejected and expired mail for an authority (admin/support) + tags: + - PendingMails + operationId: PlaceOS::Api::PendingMails_cleanup + parameters: + - name: authority_id + in: query + description: authority to clean up (defaults to the caller's authority) + example: authority-1234 + schema: + type: string + nullable: true + responses: + 202: + description: Accepted + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -17358,6 +17935,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17376,12 +17959,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17481,6 +18058,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17499,12 +18082,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17569,6 +18146,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17587,12 +18170,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17676,6 +18253,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17694,12 +18277,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17751,6 +18328,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17769,12 +18352,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17826,6 +18403,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17844,12 +18427,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17906,6 +18483,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17924,12 +18507,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -17976,6 +18553,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -17994,12 +18577,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18056,6 +18633,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18074,12 +18657,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18131,6 +18708,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18149,12 +18732,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18205,6 +18782,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18223,89 +18806,83 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/repositories/{id}/drivers: + get: + summary: lists the drivers in a repository + tags: + - Repositories + operationId: PlaceOS::Api::Repositories_drivers + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/String' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/repositories/{id}/drivers: - get: - summary: lists the drivers in a repository - tags: - - Repositories - operationId: PlaceOS::Api::Repositories_drivers - parameters: - - name: id - in: path - required: true - schema: - type: string - responses: - 200: - description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/String' - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -18365,6 +18942,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18383,12 +18966,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18464,6 +19041,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18482,12 +19065,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18552,6 +19129,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18570,12 +19153,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18629,6 +19206,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18647,12 +19230,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18706,6 +19283,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18724,12 +19307,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18783,6 +19360,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18801,12 +19384,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18858,6 +19435,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18876,12 +19459,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -18949,6 +19526,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -18967,12 +19550,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19042,6 +19619,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19060,12 +19643,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19149,6 +19726,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19167,12 +19750,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19242,6 +19819,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19260,12 +19843,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19309,6 +19886,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19327,12 +19910,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19379,6 +19956,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19397,12 +19980,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19449,6 +20026,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19467,12 +20050,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19521,6 +20098,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19539,12 +20122,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19594,6 +20171,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19612,12 +20195,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19670,6 +20247,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19688,12 +20271,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19742,6 +20319,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19760,12 +20343,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19808,6 +20385,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19826,12 +20409,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19918,6 +20495,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -19936,12 +20519,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -19993,6 +20570,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20011,12 +20594,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20068,6 +20645,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20086,12 +20669,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20148,6 +20725,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20166,12 +20749,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20218,6 +20795,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20236,12 +20819,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20298,6 +20875,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20316,12 +20899,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20405,6 +20982,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20423,12 +21006,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20480,6 +21057,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20498,12 +21081,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20555,6 +21132,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20573,12 +21156,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20635,6 +21212,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20653,12 +21236,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20705,6 +21282,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20723,12 +21306,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20785,6 +21362,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20803,12 +21386,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20856,6 +21433,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20874,12 +21457,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -20927,6 +21504,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -20945,12 +21528,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21004,6 +21581,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21022,12 +21605,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21095,6 +21672,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21113,12 +21696,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21218,6 +21795,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21236,12 +21819,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21308,6 +21885,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21326,12 +21909,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21383,6 +21960,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21401,12 +21984,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21463,6 +22040,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21481,12 +22064,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21533,6 +22110,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21551,12 +22134,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21613,6 +22190,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21631,12 +22214,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21684,6 +22261,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21702,12 +22285,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21776,6 +22353,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21794,12 +22377,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21901,6 +22478,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -21919,12 +22502,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -21995,6 +22572,237 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/signage/playlists/{id}: + get: + summary: return the details of the requested media playlist + tags: + - Playlist + operationId: PlaceOS::Api::Playlist_show + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Playlist' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + put: + summary: update the details of a media playlist + tags: + - Playlist + operationId: PlaceOS::Api::Playlist_update + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Playlist' + required: true + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Playlist' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + delete: + summary: remove a media playlist from the library + tags: + - Playlist + operationId: PlaceOS::Api::Playlist_destroy + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 202: + description: Accepted + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22013,24 +22821,23 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/signage/playlists/{id}: - get: - summary: return the details of the requested media playlist + patch: + summary: update the details of a media playlist tags: - Playlist - operationId: PlaceOS::Api::Playlist_show + operationId: PlaceOS::Api::Playlist_update{2} + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Playlist' + required: true parameters: - name: id in: path @@ -22070,6 +22877,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22088,42 +22901,48 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - put: - summary: update the details of a media playlist + /api/engine/v2/signage/playlists/share: + post: + summary: Share one or more playlists into another signage group via + description: "Share one or more playlists into another signage group via\n`GroupPlaylist` + junctions. Existing junctions are preserved\n(no duplicates); the response + separates newly-created links\nfrom ones that were already in place.\n\nPermissions:\n- + sys_admin / support: any signage group in the caller's authority.\n- regular + user: must hold Share or Manage on the target group, and\n must have Read + on each playlist they're trying to share.\n\nAll playlists and the target + group must share the caller's\nauthority." tags: - Playlist - operationId: PlaceOS::Api::Playlist_update - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist' - required: true + operationId: PlaceOS::Api::Playlist_share parameters: - - name: id - in: path + - name: items + in: query + description: comma-separated playlist ids to share into the target group + required: true + schema: + type: array + items: + type: string + - name: to + in: query + description: target group id (must participate in the 'signage' subsystem) required: true schema: type: string + format: uuid responses: 200: description: OK content: application/json: schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist' + $ref: '#/components/schemas/NamedTuple_linked__Array_String___already_present__Array_String__' 409: description: Conflict content: @@ -22150,6 +22969,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22168,23 +22993,18 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - delete: - summary: remove a media playlist from the library + /api/engine/v2/signage/playlists/{id}/media: + get: + summary: get the current list of media for the playlist tags: - Playlist - operationId: PlaceOS::Api::Playlist_destroy + operationId: PlaceOS::Api::Playlist_media parameters: - name: id in: path @@ -22192,8 +23012,12 @@ paths: schema: type: string responses: - 202: - description: Accepted + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' 409: description: Conflict content: @@ -22220,6 +23044,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22238,28 +23068,22 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - patch: - summary: update the details of a media playlist + post: + summary: provide an update list of media for a playlist tags: - Playlist - operationId: PlaceOS::Api::Playlist_update{2} + operationId: PlaceOS::Api::Playlist_update_media requestBody: content: application/json: schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist' + $ref: '#/components/schemas/Array_String_' required: true parameters: - name: id @@ -22273,7 +23097,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist' + $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' 409: description: Conflict content: @@ -22300,6 +23124,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22318,54 +23148,38 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/signage/playlists/share: - post: - summary: Share one or more playlists into another signage group via - description: "Share one or more playlists into another signage group via\n`GroupPlaylist` - junctions. Existing junctions are preserved\n(no duplicates); the response - separates newly-created links\nfrom ones that were already in place.\n\nPermissions:\n- - sys_admin / support: any signage group in the caller's authority.\n- regular - user: must hold Share or Manage on the target group, and\n must have Read - on each playlist they're trying to share.\n\nAll playlists and the target - group must share the caller's\nauthority." + /api/engine/v2/signage/playlists/{id}/media/revisions: + get: + summary: returns the previous versions of a playlist tags: - Playlist - operationId: PlaceOS::Api::Playlist_share + operationId: PlaceOS::Api::Playlist_media_revisions parameters: - - name: items - in: query - description: comma-separated playlist ids to share into the target group + - name: id + in: path required: true schema: - type: array - items: - type: string - - name: to + type: string + - name: limit in: query - description: target group id (must participate in the 'signage' subsystem) - required: true schema: - type: string - format: uuid + type: integer + format: Int32 responses: 200: description: OK content: application/json: schema: - $ref: '#/components/schemas/NamedTuple_linked__Array_String___already_present__Array_String__' + type: array + items: + $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' 409: description: Conflict content: @@ -22392,6 +23206,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22410,24 +23230,18 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/signage/playlists/{id}/media: - get: - summary: get the current list of media for the playlist + /api/engine/v2/signage/playlists/{id}/media/approve: + post: + summary: approve a playlist for publication on displays tags: - Playlist - operationId: PlaceOS::Api::Playlist_media + operationId: PlaceOS::Api::Playlist_approve_media parameters: - name: id in: path @@ -22440,7 +23254,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' + $ref: '#/components/schemas/Bool' 409: description: Conflict content: @@ -22467,6 +23281,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22485,42 +23305,41 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - post: - summary: provide an update list of media for a playlist + /api/engine/v2/signage/playlists/approvers: + get: + summary: list the users who can approve playlists for a group (those with the + description: 'list the users who can approve playlists for a group (those with + the + + Approve or Manage permission), climbing to the nearest ancestor group + + that has approvers.' tags: - Playlist - operationId: PlaceOS::Api::Playlist_update_media - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/Array_String_' - required: true + operationId: PlaceOS::Api::Playlist_approvers parameters: - - name: id - in: path + - name: group_id + in: query + description: group to find approvers for required: true schema: type: string + format: uuid responses: 200: description: OK content: application/json: schema: - $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' + type: array + items: + $ref: '#/components/schemas/PlaceOS__Api__Playlist__Approver' 409: description: Conflict content: @@ -22547,6 +23366,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22565,44 +23390,53 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/signage/playlists/{id}/media/revisions: - get: - summary: returns the previous versions of a playlist + /api/engine/v2/signage/playlists/{id}/media/request_approval: + post: + summary: request approval for the current playlist's media. Notifies the group's + description: 'request approval for the current playlist''s media. Notifies the + group''s + + approvers (or a specific `approver_id`) by queuing a PendingMail for the + + signage mailer. Any member of the group (or a parent group) may request.' tags: - Playlist - operationId: PlaceOS::Api::Playlist_media_revisions + operationId: PlaceOS::Api::Playlist_request_approval + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Playlist__ApprovalMessage' + required: true parameters: - name: id in: path required: true schema: type: string - - name: limit + - name: group_id in: query + description: group whose approvers should be notified + required: true schema: - type: integer - format: Int32 + type: string + format: uuid + - name: approver_id + in: query + description: notify only this approver (must have approve or manage permission + in the group) + schema: + type: string + nullable: true responses: 200: description: OK - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/PlaceOS__Model__Playlist__Revision' 409: description: Conflict content: @@ -22629,81 +23463,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/signage/playlists/{id}/media/approve: - post: - summary: approve a playlist for publication on displays - tags: - - Playlist - operationId: PlaceOS::Api::Playlist_approve_media - parameters: - - name: id - in: path - required: true - schema: - type: string - responses: - 200: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/Bool' - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 408: description: Request Timeout content: @@ -22722,12 +23487,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -22818,6 +23577,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22836,12 +23601,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -22893,6 +23652,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22911,12 +23676,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -22968,6 +23727,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -22986,12 +23751,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23048,6 +23807,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23066,12 +23831,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23118,6 +23877,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23136,12 +23901,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23198,6 +23957,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23216,12 +23981,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23286,6 +24045,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23304,12 +24069,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23363,6 +24122,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23381,12 +24146,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23477,6 +24236,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23495,12 +24260,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23552,6 +24311,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23570,12 +24335,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23627,6 +24386,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23645,12 +24410,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23707,6 +24466,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23725,12 +24490,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23777,6 +24536,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23795,12 +24560,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -23857,6 +24616,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -23875,12 +24640,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24004,6 +24763,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24022,12 +24787,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24086,6 +24845,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24104,12 +24869,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24174,6 +24933,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24192,12 +24957,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24263,6 +25022,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24281,12 +25046,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24342,6 +25101,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24360,12 +25125,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24431,6 +25190,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24449,12 +25214,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24540,6 +25299,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24558,12 +25323,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24640,6 +25399,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24658,12 +25423,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24747,6 +25506,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24765,12 +25530,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24822,6 +25581,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24840,12 +25605,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24904,6 +25663,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -24922,12 +25687,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -24984,6 +25743,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25002,12 +25767,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25054,6 +25813,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25072,12 +25837,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25134,6 +25893,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25152,12 +25917,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25211,6 +25970,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25229,12 +25994,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25342,6 +26101,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25360,12 +26125,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25417,6 +26176,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25435,12 +26200,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25509,6 +26268,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25527,12 +26292,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25589,6 +26348,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25607,12 +26372,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25667,6 +26426,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25685,12 +26450,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25758,6 +26517,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25776,12 +26541,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25856,6 +26615,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25874,12 +26639,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -25933,6 +26692,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -25951,12 +26716,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26005,6 +26764,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26023,12 +26788,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26101,6 +26860,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26119,12 +26884,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26171,6 +26930,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26189,12 +26954,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26248,6 +27007,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26266,12 +27031,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26328,6 +27087,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26346,12 +27111,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26403,6 +27162,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26421,12 +27186,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26529,6 +27288,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26547,12 +27312,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26604,6 +27363,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26622,12 +27387,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26687,6 +27446,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26705,12 +27470,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26769,6 +27528,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26787,12 +27552,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26845,6 +27604,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26863,12 +27628,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -26927,6 +27686,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -26945,12 +27710,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27000,6 +27759,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27018,12 +27783,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27084,6 +27843,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27102,12 +27867,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27165,6 +27924,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27183,12 +27948,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27262,6 +28021,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27280,12 +28045,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27342,6 +28101,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27360,12 +28125,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27426,75 +28185,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - /api/engine/v2/webrtc/guest/exit: - post: - summary: Guest users should call this route when ending a call gracefully - description: 'Guest users should call this route when ending a call gracefully - - it will remove the authentication token and close any open websockets' - tags: - - WebRTC - operationId: PlaceOS::Api::WebRTC_guest_exit - parameters: [] - responses: - 200: - description: OK - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 408: description: Request Timeout content: @@ -27513,12 +28209,75 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + /api/engine/v2/webrtc/guest/exit: + post: + summary: Guest users should call this route when ending a call gracefully + description: 'Guest users should call this route when ending a call gracefully + + it will remove the authentication token and close any open websockets' + tags: + - WebRTC + operationId: PlaceOS::Api::WebRTC_guest_exit + parameters: [] + responses: + 200: + description: OK + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -27582,6 +28341,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27600,12 +28365,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27659,6 +28418,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27677,12 +28442,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27750,6 +28509,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27768,12 +28533,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27830,6 +28589,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27848,12 +28613,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -27937,6 +28696,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -27955,12 +28720,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28003,6 +28762,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28021,12 +28786,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28144,6 +28903,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28162,12 +28927,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28219,6 +28978,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28237,12 +29002,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28291,6 +29050,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28309,12 +29074,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28372,86 +29131,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 408: - description: Request Timeout - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 400: - description: Bad Request - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 422: - description: Unprocessable Entity - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 406: description: Not Acceptable content: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - 415: - description: Unsupported Media Type - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' - put: - summary: update the details of a zone - tags: - - Zones - operationId: PlaceOS::Api::Zones_update - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Zone' - required: true - parameters: - - name: id - in: path - required: true - schema: - type: string - responses: - 200: - description: OK - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Model__Zone' - 409: - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 401: - description: Unauthorized - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 503: - description: Service Unavailable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' - 403: - description: Forbidden - 404: - description: Not Found - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' 408: description: Request Timeout content: @@ -28470,12 +29155,86 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 415: + description: Unsupported Media Type + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + put: + summary: update the details of a zone + tags: + - Zones + operationId: PlaceOS::Api::Zones_update + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Zone' + required: true + parameters: + - name: id + in: path + required: true + schema: + type: string + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Model__Zone' + 409: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 401: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 503: + description: Service Unavailable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 403: + description: Forbidden + 404: + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' + 408: + description: Request Timeout + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 400: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' + 422: + description: Unprocessable Entity + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' 415: description: Unsupported Media Type content: @@ -28522,6 +29281,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28540,12 +29305,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28602,6 +29361,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28620,12 +29385,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28684,6 +29443,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28702,12 +29467,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28761,6 +29520,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28779,12 +29544,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -28857,6 +29616,12 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__CommonError' + 406: + description: Not Acceptable + content: + application/json: + schema: + $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 408: description: Request Timeout content: @@ -28875,12 +29640,6 @@ paths: application/json: schema: $ref: '#/components/schemas/PlaceOS__Api__Application__ParameterError' - 406: - description: Not Acceptable - content: - application/json: - schema: - $ref: '#/components/schemas/PlaceOS__Api__Application__ContentError' 415: description: Unsupported Media Type content: @@ -32047,9 +32806,6 @@ components: type: integer format: Int64 nullable: true - play_hours: - type: string - nullable: true play_at: type: integer format: Int64 @@ -32057,11 +32813,11 @@ components: play_cron: type: string nullable: true - play_at_period: + play_period: type: integer format: Int32 nullable: true - play_at_takeover: + play_takeover: type: boolean nullable: true id: @@ -32090,6 +32846,11 @@ components: description: type: string nullable: true + tags: + type: array + items: + type: string + nullable: true authority_id: type: string nullable: true @@ -34396,6 +35157,108 @@ components: type: integer format: Int64 nullable: true + PlaceOS__Model__PendingMail: + type: object + properties: + created_at: + type: string + format: date-time + nullable: true + updated_at: + type: string + format: date-time + nullable: true + id: + type: string + format: uuid + nullable: true + send_at: + type: string + format: date-time + nullable: true + expiry: + type: string + format: date-time + nullable: true + send_to: + type: array + items: + type: string + nullable: true + template: + type: array + items: + type: string + nullable: true + args: + type: object + additionalProperties: + anyOf: + - type: boolean + - type: number + format: Float64 + - type: integer + format: Int64 + - type: string + nullable: true + nullable: true + resource_attachments: + type: array + items: + type: string + nullable: true + attachments: + type: array + items: + type: string + nullable: true + cc: + type: array + items: + type: string + nullable: true + bcc: + type: array + items: + type: string + nullable: true + send_from: + type: string + nullable: true + reply_to: + type: string + nullable: true + zones: + type: array + items: + type: string + nullable: true + sent_at: + type: string + format: date-time + nullable: true + sent_by: + type: string + nullable: true + rejected_at: + type: string + format: date-time + nullable: true + rejected_reason: + type: string + nullable: true + source_service: + type: string + nullable: true + source_reference: + type: string + nullable: true + authority_id: + type: string + nullable: true + user_id: + type: string + nullable: true PlaceOS__Api__PublicEvents__TokenRequest: type: object properties: @@ -34627,6 +35490,11 @@ components: description: type: string nullable: true + tags: + type: array + items: + type: string + nullable: true authority_id: type: string nullable: true @@ -34781,9 +35649,6 @@ components: type: integer format: Int64 nullable: true - play_hours: - type: string - nullable: true play_at: type: integer format: Int64 @@ -34791,11 +35656,11 @@ components: play_cron: type: string nullable: true - play_at_period: + play_period: type: integer format: Int32 nullable: true - play_at_takeover: + play_takeover: type: boolean nullable: true id: @@ -34846,6 +35711,24 @@ components: id: type: string nullable: true + PlaceOS__Api__Playlist__Approver: + type: object + properties: + id: + type: string + name: + type: string + required: + - id + - name + PlaceOS__Api__Playlist__ApprovalMessage: + type: object + properties: + message: + type: string + required: + - message + description: JSON body for `request_approval` PlaceOS__Model__SignagePlugin: type: object properties: @@ -35873,9 +36756,6 @@ components: type: integer format: Int64 nullable: true - play_hours: - type: string - nullable: true play_at: type: integer format: Int64 @@ -35883,11 +36763,11 @@ components: play_cron: type: string nullable: true - play_at_period: + play_period: type: integer format: Int32 nullable: true - play_at_takeover: + play_takeover: type: boolean nullable: true id: @@ -35916,6 +36796,11 @@ components: description: type: string nullable: true + tags: + type: array + items: + type: string + nullable: true authority_id: type: string nullable: true @@ -38711,9 +39596,6 @@ components: type: integer format: Int64 nullable: true - play_hours: - type: string - nullable: true play_at: type: integer format: Int64 @@ -38721,11 +39603,11 @@ components: play_cron: type: string nullable: true - play_at_period: + play_period: type: integer format: Int32 nullable: true - play_at_takeover: + play_takeover: type: boolean nullable: true id: @@ -38754,6 +39636,11 @@ components: description: type: string nullable: true + tags: + type: array + items: + type: string + nullable: true authority_id: type: string nullable: true diff --git a/shard.lock b/shard.lock index f3cef449..59fb00fa 100644 --- a/shard.lock +++ b/shard.lock @@ -155,7 +155,7 @@ shards: neuroplastic: git: https://github.com/spider-gazelle/neuroplastic.git - version: 1.14.2 + version: 1.15.0 office365: git: https://github.com/placeos/office365.git @@ -211,7 +211,7 @@ shards: placeos-frontend-loader: git: https://github.com/placeos/frontend-loader.git - version: 2.7.1+git.commit.345a63e67404bfb094caf64a8f6ba729f180f7a8 + version: 2.7.1+git.commit.34bd617d1025e3effa8271011cc2f1cefd155b60 placeos-log-backend: git: https://github.com/place-labs/log-backend.git @@ -271,7 +271,7 @@ shards: search-ingest: git: https://github.com/placeos/search-ingest.git - version: 2.11.3+git.commit.ae604bfa94ce51e1eac4964e45eed7555ab67b45 + version: 2.11.3+git.commit.984a8c3ddc9f9cac7ae6f48d7162cdc010b4f22c secrets-env: # Overridden git: https://github.com/spider-gazelle/secrets-env.git diff --git a/spec/controllers/pending_mails_spec.cr b/spec/controllers/pending_mails_spec.cr new file mode 100644 index 00000000..3fc96faa --- /dev/null +++ b/spec/controllers/pending_mails_spec.cr @@ -0,0 +1,448 @@ +require "../helper" + +# Build + persist a pending mail, applying any attribute overrides. +def create_pending_mail( + authority : PlaceOS::Model::Authority? = nil, + user : PlaceOS::Model::User? = nil, + source_service : String? = nil, + source_reference : String? = nil, + zones : Array(String) = [] of String, + sent_at : Time? = nil, + rejected_at : Time? = nil, + expiry : Time? = nil, + send_at : Time? = nil, +) : PlaceOS::Model::PendingMail + mail = PlaceOS::Model::Generator.pending_mail(authority: authority, user: user) + mail.source_service = source_service + mail.source_reference = source_reference + mail.zones = zones + mail.sent_at = sent_at + mail.rejected_at = rejected_at + mail.expiry = expiry + mail.send_at = send_at + mail.save! + mail +end + +# A fresh authority with a unique domain (avoids the unique-domain constraint). +def other_authority : PlaceOS::Model::Authority + PlaceOS::Model::Generator.authority(domain: "http://other-#{random_name}.test").save! +end + +# GET the index with the supplied params, retrying until `block` holds +# (Elasticsearch indexing is asynchronous). +def pending_mail_index_ids(params : Hash(String, String), headers : HTTP::Headers, &block : Array(String) -> Bool) : Bool + path = "#{PlaceOS::Api::PendingMails.base_route.rstrip('/')}?#{HTTP::Params.encode(params)}" + until_expected("GET", path, headers) do |response| + next false unless response.success? + ids = Array(Hash(String, JSON::Any)).from_json(response.body).map(&.["id"].as_s) + block.call(ids) + end +end + +module PlaceOS::Api + describe PendingMails do + Spec.test_404(PendingMails.base_route, model_name: Model::PendingMail.table_name, headers: Spec::Authentication.headers) + + describe "index", tags: "search" do + it "filters by source_service" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + match = create_pending_mail(source_service: svc) + other = create_pending_mail(source_service: "svc-#{random_name}") + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc}, headers) do |ids| + ids.includes?(match.id.to_s) && !ids.includes?(other.id.to_s) + end.should be_true + + match.destroy + other.destroy + end + + it "filters by source_reference" do + headers = Spec::Authentication.headers + ref = "ref-#{random_name}" + match = create_pending_mail(source_reference: ref) + other = create_pending_mail(source_reference: "ref-#{random_name}") + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_reference" => ref}, headers) do |ids| + ids.includes?(match.id.to_s) && !ids.includes?(other.id.to_s) + end.should be_true + + match.destroy + other.destroy + end + + it "filters by user_id" do + headers = Spec::Authentication.headers + authority = Model::Authority.find_by_domain("localhost").not_nil! + svc = "svc-#{random_name}" + user = Model::Generator.user(authority).save! + match = create_pending_mail(source_service: svc, user: user) + other = create_pending_mail(source_service: svc) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc, "user_id" => user.id.to_s}, headers) do |ids| + ids.includes?(match.id.to_s) && !ids.includes?(other.id.to_s) + end.should be_true + + match.destroy + other.destroy + user.destroy + end + + it "filters by zones" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + zone = "zone-#{random_name}" + match = create_pending_mail(source_service: svc, zones: [zone]) + other = create_pending_mail(source_service: svc, zones: ["zone-#{random_name}"]) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc, "zones" => zone}, headers) do |ids| + ids.includes?(match.id.to_s) && !ids.includes?(other.id.to_s) + end.should be_true + + match.destroy + other.destroy + end + + it "excludes rejected mail by default and includes it on request" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + pending = create_pending_mail(source_service: svc) + rejected = create_pending_mail(source_service: svc, rejected_at: Time.utc) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc}, headers) do |ids| + ids.includes?(pending.id.to_s) && !ids.includes?(rejected.id.to_s) + end.should be_true + + pending_mail_index_ids({"source_service" => svc, "include_rejected" => "true"}, headers) do |ids| + ids.includes?(pending.id.to_s) && ids.includes?(rejected.id.to_s) + end.should be_true + + pending.destroy + rejected.destroy + end + + it "unsent_only returns mail that is neither sent nor rejected" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + pending = create_pending_mail(source_service: svc) + sent = create_pending_mail(source_service: svc, sent_at: Time.utc) + rejected = create_pending_mail(source_service: svc, rejected_at: Time.utc) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc, "unsent_only" => "true"}, headers) do |ids| + ids.includes?(pending.id.to_s) && !ids.includes?(sent.id.to_s) && !ids.includes?(rejected.id.to_s) + end.should be_true + + pending.destroy + sent.destroy + rejected.destroy + end + + it "excludes expired mail by default, keeping future and no-expiry mail" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + no_expiry = create_pending_mail(source_service: svc) + future = create_pending_mail(source_service: svc, expiry: Time.utc + 1.hour) + expired = create_pending_mail(source_service: svc, expiry: Time.utc - 1.hour) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc}, headers) do |ids| + ids.includes?(no_expiry.id.to_s) && ids.includes?(future.id.to_s) && !ids.includes?(expired.id.to_s) + end.should be_true + + pending_mail_index_ids({"source_service" => svc, "include_expired" => "true"}, headers) do |ids| + ids.includes?(no_expiry.id.to_s) && ids.includes?(future.id.to_s) && ids.includes?(expired.id.to_s) + end.should be_true + + no_expiry.destroy + future.destroy + expired.destroy + end + + it "filters by sent_after" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + old_mail = create_pending_mail(source_service: svc, sent_at: Time.utc - 10.days) + recent = create_pending_mail(source_service: svc, sent_at: Time.utc - 1.hour) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + cutoff = (Time.utc - 1.day).to_rfc3339 + pending_mail_index_ids({"source_service" => svc, "sent_after" => cutoff}, headers) do |ids| + ids.includes?(recent.id.to_s) && !ids.includes?(old_mail.id.to_s) + end.should be_true + + old_mail.destroy + recent.destroy + end + + it "sent window also matches rejected time when include_rejected is set" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + recently_rejected = create_pending_mail(source_service: svc, rejected_at: Time.utc - 1.hour) + old_rejected = create_pending_mail(source_service: svc, rejected_at: Time.utc - 10.days) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + cutoff = (Time.utc - 1.day).to_rfc3339 + pending_mail_index_ids({"source_service" => svc, "sent_after" => cutoff, "include_rejected" => "true"}, headers) do |ids| + ids.includes?(recently_rejected.id.to_s) && !ids.includes?(old_rejected.id.to_s) + end.should be_true + + recently_rejected.destroy + old_rejected.destroy + end + + it "filters by send_at_after" do + headers = Spec::Authentication.headers + svc = "svc-#{random_name}" + soon = create_pending_mail(source_service: svc, send_at: Time.utc + 1.hour) + later = create_pending_mail(source_service: svc, send_at: Time.utc + 10.days) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + cutoff = (Time.utc + 1.day).to_rfc3339 + pending_mail_index_ids({"source_service" => svc, "send_at_after" => cutoff}, headers) do |ids| + ids.includes?(later.id.to_s) && !ids.includes?(soon.id.to_s) + end.should be_true + + soon.destroy + later.destroy + end + + it "filters by group_id (zones anchored to the group)" do + clear_group_tables + headers = Spec::Authentication.headers + authority = Model::Authority.find_by_domain("localhost").not_nil! + svc = "svc-#{random_name}" + zone = Model::Generator.zone.save! + group = Model::Generator.group(authority: authority).save! + Model::Generator.group_zone(group: group, zone: zone, permissions: Model::Permissions::Read).save! + + match = create_pending_mail(source_service: svc, zones: [zone.id.as(String)]) + other = create_pending_mail(source_service: svc, zones: ["zone-#{random_name}"]) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc, "group_id" => group.id.to_s}, headers) do |ids| + ids.includes?(match.id.to_s) && !ids.includes?(other.id.to_s) + end.should be_true + + match.destroy + other.destroy + zone.destroy + end + + it "regular users only see their own authority and may not target another" do + local_auth = Model::Authority.find_by_domain("localhost").not_nil! + other_auth = other_authority + + svc = "svc-#{random_name}" + _, scoped_headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + mine = create_pending_mail(authority: local_auth, source_service: svc) + theirs = create_pending_mail(authority: other_auth, source_service: svc) + + sleep 1.second + refresh_elastic(Model::PendingMail.table_name) + + pending_mail_index_ids({"source_service" => svc}, scoped_headers) do |ids| + ids.includes?(mine.id.to_s) && !ids.includes?(theirs.id.to_s) + end.should be_true + + # explicitly targeting another authority is forbidden for non-support + path = "#{PendingMails.base_route.rstrip('/')}?#{HTTP::Params.encode({"authority_id" => other_auth.id.to_s})}" + client.get(path, headers: scoped_headers).status_code.should eq 403 + + mine.destroy + theirs.destroy + other_auth.destroy + end + end + + describe "show" do + it "returns the mail" do + mail = create_pending_mail + result = client.get("#{PendingMails.base_route}#{mail.id}", headers: Spec::Authentication.headers) + result.success?.should be_true + Model::PendingMail.from_trusted_json(result.body).id.should eq mail.id + mail.destroy + end + + it "forbids a non-support user from viewing another authority's mail" do + auth = other_authority + mail = create_pending_mail(authority: auth) + _, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + result = client.get("#{PendingMails.base_route}#{mail.id}", headers: headers) + result.status_code.should eq 403 + + mail.destroy + auth.destroy + end + end + + describe "destroy" do + it "removes the mail" do + mail = create_pending_mail + result = client.delete("#{PendingMails.base_route}#{mail.id}", headers: Spec::Authentication.headers) + result.success?.should be_true + Model::PendingMail.find?(mail.id.as(UUID)).should be_nil + end + end + + describe "reject" do + it "marks the mail rejected" do + mail = create_pending_mail + result = client.post("#{PendingMails.base_route}#{mail.id}/reject?#{HTTP::Params.encode({"rejected_reason" => "opted out"})}", headers: Spec::Authentication.headers) + result.success?.should be_true + + mail.reload! + mail.rejected_at.should_not be_nil + mail.rejected_reason.should eq "opted out" + mail.destroy + end + end + + describe "sent" do + it "marks the mail sent" do + mail = create_pending_mail + result = client.post("#{PendingMails.base_route}#{mail.id}/sent?#{HTTP::Params.encode({"sent_by" => "mailer"})}", headers: Spec::Authentication.headers) + result.success?.should be_true + + mail.reload! + mail.sent_at.should_not be_nil + mail.sent_by.should eq "mailer" + mail.destroy + end + end + + describe "cleanup" do + it "deletes sent, rejected and expired mail, keeping pending mail" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + pending = create_pending_mail(authority: authority) + sent = create_pending_mail(authority: authority, sent_at: Time.utc) + rejected = create_pending_mail(authority: authority, rejected_at: Time.utc) + expired = create_pending_mail(authority: authority, expiry: Time.utc - 1.hour) + + result = client.delete("#{PendingMails.base_route}cleanup", headers: Spec::Authentication.headers) + result.success?.should be_true + + Model::PendingMail.find?(sent.id.as(UUID)).should be_nil + Model::PendingMail.find?(rejected.id.as(UUID)).should be_nil + Model::PendingMail.find?(expired.id.as(UUID)).should be_nil + Model::PendingMail.find?(pending.id.as(UUID)).should_not be_nil + + pending.destroy + end + end + + describe "subsystem-based permissions" do + ::Spec.before_each { clear_group_tables } + + it "allows a support-subsystem user with Delete reach on a mail's zone to destroy it" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority, subsystems: ["support"]).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Delete).save! + zone = Model::Generator.zone.save! + Model::Generator.group_zone(group: group, zone: zone, permissions: Model::Permissions::Delete).save! + + mail = create_pending_mail(authority: authority, zones: [zone.id.as(String)]) + + result = client.delete("#{PendingMails.base_route}#{mail.id}", headers: headers) + result.success?.should be_true + Model::PendingMail.find?(mail.id.as(UUID)).should be_nil + + zone.destroy + end + + it "rejects destroy when the support-subsystem user has no reach on the mail's zones" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority, subsystems: ["support"]).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Manage).save! + # No GroupZone reach to the mail's zone. + + zone = Model::Generator.zone.save! + mail = create_pending_mail(authority: authority, zones: [zone.id.as(String)]) + + result = client.delete("#{PendingMails.base_route}#{mail.id}", headers: headers) + result.status_code.should eq 403 + + mail.destroy + zone.destroy + end + + it "Delete reach permits destroy but not reject (which needs Update)" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority, subsystems: ["support"]).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Delete).save! + zone = Model::Generator.zone.save! + Model::Generator.group_zone(group: group, zone: zone, permissions: Model::Permissions::Delete).save! + + mail = create_pending_mail(authority: authority, zones: [zone.id.as(String)]) + + client.post("#{PendingMails.base_route}#{mail.id}/reject", headers: headers).status_code.should eq 403 + + mail.destroy + zone.destroy + end + + it "Update reach permits reject" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority, subsystems: ["support"]).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Update).save! + zone = Model::Generator.zone.save! + Model::Generator.group_zone(group: group, zone: zone, permissions: Model::Permissions::Update).save! + + mail = create_pending_mail(authority: authority, zones: [zone.id.as(String)]) + + result = client.post("#{PendingMails.base_route}#{mail.id}/reject", headers: headers) + result.success?.should be_true + mail.reload! + mail.rejected_at.should_not be_nil + + mail.destroy + zone.destroy + end + + it "forbids cleanup for a non-support user" do + _, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + result = client.delete("#{PendingMails.base_route}cleanup", headers: headers) + result.status_code.should eq 403 + end + end + end +end diff --git a/spec/controllers/signage/playlists_spec.cr b/spec/controllers/signage/playlists_spec.cr index cb9441ff..379ac6be 100644 --- a/spec/controllers/signage/playlists_spec.cr +++ b/spec/controllers/signage/playlists_spec.cr @@ -391,5 +391,236 @@ module PlaceOS::Api body["media"].as_a.should be_empty end end + + describe "approval requests" do + ::Spec.before_each { Model::PendingMail.clear } + + describe "GET /approvers" do + it "returns approve and manage users (not read-only members)" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + group = Model::Generator.group(authority: authority).save! + + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + manager = Model::Generator.user(authority).save! + Model::Generator.group_user(user: manager, group: group, permissions: Model::Permissions::Manage).save! + reader = Model::Generator.user(authority).save! + Model::Generator.group_user(user: reader, group: group, permissions: Model::Permissions::Read).save! + + result = client.get("#{base}/approvers?group_id=#{group.id}", headers: Spec::Authentication.headers) + result.status_code.should eq 200 + ids = Array(Hash(String, JSON::Any)).from_json(result.body).map(&.["id"].as_s) + ids.should contain(approver.id) + ids.should contain(manager.id) + ids.should_not contain(reader.id) + end + + it "climbs to the parent group when the child has no approver" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + parent = Model::Generator.group(authority: authority).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: parent, permissions: Model::Permissions::Approve).save! + + child = Model::Generator.group(authority: authority) + child.parent_id = parent.id + child.save! + reader = Model::Generator.user(authority).save! + Model::Generator.group_user(user: reader, group: child, permissions: Model::Permissions::Read).save! + + result = client.get("#{base}/approvers?group_id=#{child.id}", headers: Spec::Authentication.headers) + result.status_code.should eq 200 + ids = Array(Hash(String, JSON::Any)).from_json(result.body).map(&.["id"].as_s) + ids.should contain(approver.id) + end + + it "includes managers from intermediate groups plus the parent's approvers" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + parent = Model::Generator.group(authority: authority).save! + parent_approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: parent_approver, group: parent, permissions: Model::Permissions::Approve).save! + + child = Model::Generator.group(authority: authority) + child.parent_id = parent.id + child.save! + child_manager = Model::Generator.user(authority).save! + Model::Generator.group_user(user: child_manager, group: child, permissions: Model::Permissions::Manage).save! + child_reader = Model::Generator.user(authority).save! + Model::Generator.group_user(user: child_reader, group: child, permissions: Model::Permissions::Read).save! + + result = client.get("#{base}/approvers?group_id=#{child.id}", headers: Spec::Authentication.headers) + result.status_code.should eq 200 + ids = Array(Hash(String, JSON::Any)).from_json(result.body).map(&.["id"].as_s) + ids.should contain(child_manager.id) + ids.should contain(parent_approver.id) + ids.should_not contain(child_reader.id) + end + + it "returns an empty list when no approver exists up the tree" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + group = Model::Generator.group(authority: authority).save! + reader = Model::Generator.user(authority).save! + Model::Generator.group_user(user: reader, group: group, permissions: Model::Permissions::Read).save! + + result = client.get("#{base}/approvers?group_id=#{group.id}", headers: Spec::Authentication.headers) + result.status_code.should eq 200 + Array(JSON::Any).from_json(result.body).should be_empty + end + + it "forbids a non-member, non-support caller" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + group = Model::Generator.group(authority: authority).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + + _, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + result = client.get("#{base}/approvers?group_id=#{group.id}", headers: headers) + result.status_code.should eq 403 + end + end + + describe "POST /:id/media/request_approval" do + it "queues a PendingMail to the group's approvers" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Read).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + zone = Model::Generator.zone.save! + Model::Generator.group_zone(group: group, zone: zone, permissions: Model::Permissions::Read).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{group.id}", + body: {message: "please review"}.to_json, + headers: headers, + ) + result.success?.should be_true + + mail = Model::PendingMail.where(source_reference: "playlist-#{playlist.id}").to_a.first.not_nil! + mail.send_to.should contain(approver.email.to_s) + mail.template.should eq ["signage", "request_playlist_approval"] + mail.source_service.should eq "signage" + mail.zones.should contain(zone.id) + mail.args["message"].should eq "please review" + mail.args["group_id"].should eq group.id.to_s + mail.args["group_name"].should eq group.name + mail.args["playlist_id"].should eq playlist.id + mail.expiry.should_not be_nil + + zone.destroy + end + + it "notifies only the selected approver_id (a manager is allowed)" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Read).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + manager = Model::Generator.user(authority).save! + Model::Generator.group_user(user: manager, group: group, permissions: Model::Permissions::Manage).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{group.id}&approver_id=#{manager.id}", + body: {message: ""}.to_json, + headers: headers, + ) + result.success?.should be_true + + mail = Model::PendingMail.where(source_reference: "playlist-#{playlist.id}").to_a.first.not_nil! + mail.send_to.should eq [manager.email.to_s] + end + + it "allows selecting a manager from an intermediate group" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + parent = Model::Generator.group(authority: authority).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: parent, permissions: Model::Permissions::Approve).save! + + child = Model::Generator.group(authority: authority) + child.parent_id = parent.id + child.save! + Model::Generator.group_user(user: user, group: child, permissions: Model::Permissions::Read).save! + manager = Model::Generator.user(authority).save! + Model::Generator.group_user(user: manager, group: child, permissions: Model::Permissions::Manage).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{child.id}&approver_id=#{manager.id}", + body: {message: ""}.to_json, + headers: headers, + ) + result.success?.should be_true + + mail = Model::PendingMail.where(source_reference: "playlist-#{playlist.id}").to_a.first.not_nil! + mail.send_to.should eq [manager.email.to_s] + end + + it "returns 406 when the group has no approvers up the tree" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Read).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{group.id}", + body: {message: "hi"}.to_json, + headers: headers, + ) + result.status_code.should eq 406 + end + + it "returns 406 when approver_id is not an approver or manager" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + user, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority).save! + Model::Generator.group_user(user: user, group: group, permissions: Model::Permissions::Read).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + bystander = Model::Generator.user(authority).save! + Model::Generator.group_user(user: bystander, group: group, permissions: Model::Permissions::Read).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{group.id}&approver_id=#{bystander.id}", + body: {message: "hi"}.to_json, + headers: headers, + ) + result.status_code.should eq 406 + end + + it "forbids a caller who is not a member of the group or a parent" do + authority = Model::Authority.find_by_domain("localhost").not_nil! + _, headers = Spec::Authentication.authentication(sys_admin: false, support: false) + + group = Model::Generator.group(authority: authority).save! + approver = Model::Generator.user(authority).save! + Model::Generator.group_user(user: approver, group: group, permissions: Model::Permissions::Approve).save! + + playlist = Model::Generator.playlist(authority: authority).save! + + result = client.post( + "#{base}/#{playlist.id}/media/request_approval?group_id=#{group.id}", + body: {message: "hi"}.to_json, + headers: headers, + ) + result.status_code.should eq 403 + end + end + end end end diff --git a/src/placeos-rest-api/controllers/application.cr b/src/placeos-rest-api/controllers/application.cr index 8b556887..58a80e32 100644 --- a/src/placeos-rest-api/controllers/application.cr +++ b/src/placeos-rest-api/controllers/application.cr @@ -219,6 +219,13 @@ module PlaceOS::Api CommonError.new(error, false) end + # 406 when a request cannot be satisfied (e.g. no approvers available) + @[AC::Route::Exception(Error::NotAcceptable, status_code: HTTP::Status::NOT_ACCEPTABLE)] + def resource_not_acceptable(error) : CommonError + Log.debug(exception: error) { error.message } + CommonError.new(error, false) + end + # 408 if resource timed out @[AC::Route::Exception(IO::TimeoutError, status_code: HTTP::Status::REQUEST_TIMEOUT)] def resource_timeout(error) : CommonError diff --git a/src/placeos-rest-api/controllers/pending_mails.cr b/src/placeos-rest-api/controllers/pending_mails.cr new file mode 100644 index 00000000..fe87f081 --- /dev/null +++ b/src/placeos-rest-api/controllers/pending_mails.cr @@ -0,0 +1,246 @@ +require "./application" + +module PlaceOS::Api + class PendingMails < Application + include Utils::Permissions + include Utils::GroupPermissions + + base "/api/engine/v2/emails/" + + # Scopes + ############################################################################################### + + before_action :can_read, only: [:index, :show] + before_action :can_write, only: [:destroy, :reject, :sent, :cleanup] + + ############################################################################################### + + # `cleanup` operates on a whole authority (no record id); `index` lists. + @[AC::Route::Filter(:before_action, except: [:index, :cleanup])] + def current_pending_mail(id : String) + Log.context.set(pending_mail_id: id) + # Primary key is a UUID — a non-UUID id is simply "not found". + uuid = UUID.parse?(id) + raise Error::NotFound.new("invalid pending mail id: #{id}") if uuid.nil? + # Find will raise a 404 (not found) if there is an error + @current_pending_mail = ::PlaceOS::Model::PendingMail.find!(uuid) + end + + getter! current_pending_mail : ::PlaceOS::Model::PendingMail + + # Permissions + ############################################################################################### + + # Non-support callers may only view mail belonging to their own authority. + @[AC::Route::Filter(:before_action, only: [:show])] + def check_show_access + return if user_support? + raise Error::Forbidden.new unless current_pending_mail.authority_id == current_user.authority_id + end + + # Gate a mutating action (destroy/reject/sent) on the "support" subsystem. + # `required` is the permission bit the verb needs (Delete/Update); Manage + # is a superset. A non-support user is allowed when EITHER the legacy + # org-zone scheme grants Manage, OR they have the required (or Manage) + # support-subsystem reach on ANY of the mail's zones. Mail with no zones + # is admin/support only. + private def confirm_mutate(required : ::PlaceOS::Model::Permissions) + return if user_support? + + mail = current_pending_mail + authority = current_authority.as(::PlaceOS::Model::Authority) + + # Legacy zone-based access (org_zone + the mail's zones). + if org_zone_id = authority.config["org_zone"]?.try(&.as_s?) + return if check_access(current_user.groups, [org_zone_id] + mail.zones).can_manage? + end + + # "support" subsystem: OR'd across the mail's zones (the Array overload + # of effective_permissions already does this). + perms = ::PlaceOS::Model::Group.effective_permissions( + authority.id.as(String), "support", current_user.id.as(String), mail.zones, + ) + return if perms.manage? || perms.includes?(required) + + raise Error::Forbidden.new + end + + ############################################################################################### + + # list queued/processed mail, filtered via Elasticsearch + @[AC::Route::GET("/", converters: {zones: ConvertStringArray})] + def index( + @[AC::Param::Info(description: "only mail whose zones are anchored to this group; non-support callers need Read on the group", example: "group-uuid")] + group_id : UUID? = nil, + @[AC::Param::Info(description: "only mail referencing any of these zones", example: "zone-1234,zone-5678")] + zones : Array(String)? = nil, + @[AC::Param::Info(description: "only mail queued by this service", example: "bookings")] + source_service : String? = nil, + @[AC::Param::Info(description: "only mail with this external reference / correlation id", example: "booking-1234")] + source_reference : String? = nil, + @[AC::Param::Info(description: "filter by authority (system admin / support only; regular users are scoped to their own authority)", example: "authority-1234")] + authority_id : String? = nil, + @[AC::Param::Info(description: "only mail triggered by this user", example: "user-1234")] + user_id : String? = nil, + @[AC::Param::Info(description: "include mail past its expiry (default false)", example: "true")] + include_expired : Bool = false, + @[AC::Param::Info(description: "include mail that has been rejected (default false)", example: "true")] + include_rejected : Bool = false, + @[AC::Param::Info(description: "only mail that is neither sent nor rejected (default false)", example: "true")] + unsent_only : Bool = false, + @[AC::Param::Info(description: "mail sent at or after this time (also matches rejected time when include_rejected=true)")] + sent_after : Time? = nil, + @[AC::Param::Info(description: "mail sent at or before this time (also matches rejected time when include_rejected=true)")] + sent_before : Time? = nil, + @[AC::Param::Info(description: "mail scheduled to send at or after this time")] + send_at_after : Time? = nil, + ) : Array(::PlaceOS::Model::PendingMail) + elastic = ::PlaceOS::Model::PendingMail.elastic + query = elastic.query(search_params) + + # Authority scoping: regular users are pinned to their own authority; + # only support/admin may target another (or all) authorities. + if requested = authority_id + raise Error::Forbidden.new unless user_support? + query.filter({"authority_id" => [requested]}) + elsif !user_support? + query.filter({"authority_id" => [current_user.authority_id.as(String)]}) + end + + # Group-anchor filter: resolve the group's zones first so we can + # short-circuit on an empty set (and never run unconstrained). + if group = group_id + unless user_support? + perms = group_memberships(current_user)[group]? || ::PlaceOS::Model::Permissions::None + raise Error::Forbidden.new unless perms.read? + end + group_zone_ids = ::PlaceOS::Model::GroupZone.where(group_id: group).to_a.map(&.zone_id) + if group_zone_ids.empty? + set_collection_headers(0, ::PlaceOS::Model::PendingMail.table_name) + return [] of ::PlaceOS::Model::PendingMail + end + query.filter({"zones" => group_zone_ids}) + end + + if (filter_zones = zones) && !filter_zones.empty? + query.must({"zones" => filter_zones}) + end + + query.filter({"source_service" => [source_service]}) if source_service + query.filter({"source_reference" => [source_reference]}) if source_reference + query.filter({"user_id" => [user_id]}) if user_id + + # Exclude rejected mail unless explicitly requested (nil ⇒ must_not exists). + query.filter({"rejected_at" => [nil] of String?}) unless include_rejected + + # Neither sent nor rejected. + query.filter({"sent_at" => [nil] of String?, "rejected_at" => [nil] of String?}) if unsent_only + + # Not expired: expiry missing OR in the future. Needs an OR group that + # mixes a missing-field check with a range, so it goes in raw. + unless include_expired + query.raw_filter(JSON.parse({ + bool: { + should: [ + {bool: {must_not: {exists: {field: "expiry"}}}}, + {range: {expiry: {gte: Time.utc.to_rfc3339}}}, + ], + minimum_should_match: 1, + }, + }.to_json)) + end + + # Sent window. When include_rejected is set, the window also matches the + # rejected time (a mail is either sent or rejected) — an OR across two + # range fields, hence raw. + if sent_after || sent_before + window = time_window(sent_after, sent_before) + if include_rejected + query.raw_filter(JSON.parse({ + bool: { + should: [ + {range: {sent_at: window}}, + {range: {rejected_at: window}}, + ], + minimum_should_match: 1, + }, + }.to_json)) + else + query.raw_filter(JSON.parse({range: {sent_at: window}}.to_json)) + end + end + + if send_at = send_at_after + query.raw_filter(JSON.parse({range: {send_at: {gte: send_at.to_rfc3339}}}.to_json)) + end + + query.sort({"created_at" => {order: :desc}}) + paginate_results(elastic, query) + end + + # RFC3339 range bounds for ES. These Time fields (send_at/expiry/sent_at/ + # rejected_at) are mapped as ES `date` and serialized as ISO8601 strings — + # a bare integer in a range would be read as epoch-millis, so use strings. + private def time_window(after : Time?, before : Time?) : Hash(String, String) + window = {} of String => String + window["gte"] = after.to_rfc3339 if after + window["lte"] = before.to_rfc3339 if before + window + end + + # show the selected mail + @[AC::Route::GET("/:id")] + def show : ::PlaceOS::Model::PendingMail + current_pending_mail + end + + # remove a queued/processed mail + @[AC::Route::DELETE("/:id", status_code: HTTP::Status::ACCEPTED)] + def destroy : Nil + confirm_mutate(::PlaceOS::Model::Permissions::Delete) + current_pending_mail.destroy + end + + # mark a mail as rejected (it will not be sent) + @[AC::Route::POST("/:id/reject")] + def reject( + @[AC::Param::Info(description: "human readable reason the mail was rejected", example: "recipient opted out")] + rejected_reason : String? = nil, + ) : ::PlaceOS::Model::PendingMail + confirm_mutate(::PlaceOS::Model::Permissions::Update) + mail = current_pending_mail + mail.rejected_at = Time.utc + mail.rejected_reason = rejected_reason if rejected_reason + raise Error::ModelValidation.new(mail.errors) unless mail.save + mail + end + + # mark a mail as sent + @[AC::Route::POST("/:id/sent")] + def sent( + @[AC::Param::Info(description: "the worker / service that sent the mail", example: "mailer")] + sent_by : String? = nil, + ) : ::PlaceOS::Model::PendingMail + confirm_mutate(::PlaceOS::Model::Permissions::Update) + mail = current_pending_mail + mail.sent_at = Time.utc + mail.sent_by = sent_by if sent_by + raise Error::ModelValidation.new(mail.errors) unless mail.save + mail + end + + # delete all sent, rejected and expired mail for an authority (admin/support) + @[AC::Route::DELETE("/cleanup", status_code: HTTP::Status::ACCEPTED)] + def cleanup( + @[AC::Param::Info(description: "authority to clean up (defaults to the caller's authority)", example: "authority-1234")] + authority_id : String? = nil, + ) : Nil + check_support + target = authority_id || current_user.authority_id.as(String) + ::PlaceOS::Model::PendingMail + .where(authority_id: target) + .where("(rejected_at IS NOT NULL OR sent_at IS NOT NULL OR (expiry IS NOT NULL AND expiry < ?))", Time.utc) + .delete_all + end + end +end diff --git a/src/placeos-rest-api/controllers/signage/playlists.cr b/src/placeos-rest-api/controllers/signage/playlists.cr index f2e702d9..93cdc9e8 100644 --- a/src/placeos-rest-api/controllers/signage/playlists.cr +++ b/src/placeos-rest-api/controllers/signage/playlists.cr @@ -12,12 +12,12 @@ module PlaceOS::Api # Scopes ############################################################################################### - before_action :can_read, only: [:index, :show, :media, :media_revisions] + before_action :can_read, only: [:index, :show, :media, :media_revisions, :approvers] before_action :can_write, only: [:create, :update, :destroy, :update_media, :approve_media, :share] ############################################################################################### - @[AC::Route::Filter(:before_action, except: [:index, :create, :share])] + @[AC::Route::Filter(:before_action, except: [:index, :create, :share, :approvers])] def current_playlist(id : String) Log.context.set(playlist_id: id) # Find will raise a 404 (not found) if there is an error @@ -353,5 +353,125 @@ module PlaceOS::Api raise Error::ModelValidation.new(revision.errors) unless revision.save true end + + # Approval requests + # ================= + + # JSON body for `request_approval` + struct ApprovalMessage + include JSON::Serializable + getter message : String = "" + end + + record Approver, id : String, name : String { include JSON::Serializable } + + # Climb the group tree from `group_id`, accumulating users with Approve or + # Manage permission at each level, and stop after the first level that + # contains an Approve user. So managers in intermediate groups are included + # alongside the approvers of the nearest approver-bearing ancestor. Returns + # an empty array if no level (up to the root) has an approver. + private def resolve_approver_group_users(group_id : UUID) : Array(::PlaceOS::Model::GroupUser) + approvers = [] of ::PlaceOS::Model::GroupUser + + current = group_id + loop do + group = ::PlaceOS::Model::Group.find?(current) + break if group.nil? + members = ::PlaceOS::Model::GroupUser.where(group_id: current).to_a + approvers.concat(members.select { |gu| gu.permission_flags.approve? || gu.permission_flags.manage? }) + break if members.any?(&.permission_flags.approve?) + parent = group.parent_id + break if parent.nil? + current = parent + end + + approvers + end + + # Validate the group exists in this authority and (for non-support) that + # the caller is a member of it or one of its ancestors. + private def validate_approval_group!(group_id : UUID) : ::PlaceOS::Model::Group + group = ::PlaceOS::Model::Group.find?(group_id) + raise Error::NotFound.new("group not found") if group.nil? || group.authority_id != authority.id + return group if user_support? + raise Error::Forbidden.new("not a member of the group") if group_memberships(current_user)[group_id]?.nil? + group + end + + # list the users who can approve playlists for a group (those with the + # Approve or Manage permission), climbing to the nearest ancestor group + # that has approvers. + @[AC::Route::GET("/approvers")] + def approvers( + @[AC::Param::Info(description: "group to find approvers for")] + group_id : UUID, + ) : Array(Approver) + validate_approval_group!(group_id) + members = resolve_approver_group_users(group_id) + selectable = members.select { |gu| gu.permission_flags.approve? || gu.permission_flags.manage? }.map(&.user_id) + return [] of Approver if selectable.empty? + ::PlaceOS::Model::User.where(id: selectable).to_a.map { |u| Approver.new(id: u.id.as(String), name: u.name) } + end + + # request approval for the current playlist's media. Notifies the group's + # approvers (or a specific `approver_id`) by queuing a PendingMail for the + # signage mailer. Any member of the group (or a parent group) may request. + @[AC::Route::POST("/:id/media/request_approval", body: :message)] + def request_approval( + message : ApprovalMessage, + @[AC::Param::Info(description: "group whose approvers should be notified")] + group_id : UUID, + @[AC::Param::Info(description: "notify only this approver (must have approve or manage permission in the group)")] + approver_id : String? = nil, + ) : Nil + group = validate_approval_group!(group_id) + + members = resolve_approver_group_users(group_id) + approver_ids = members.select(&.permission_flags.approve?).map(&.user_id) + raise Error::NotAcceptable.new("no approvers available for this group") if approver_ids.empty? && approver_id.nil? + + recipient_ids = + if selected = approver_id + selectable = members.map(&.user_id) + raise Error::NotAcceptable.new("selected approver cannot approve this playlist") unless selectable.includes?(selected) + [selected] + else + approver_ids + end + + send_to = ::PlaceOS::Model::User.where(id: recipient_ids).to_a.map(&.email.to_s) + raise Error::NotAcceptable.new("no approver email addresses available") if send_to.empty? + + zone_ids = ::PlaceOS::Model::GroupZone.where(group_id: group_id, deny: false).to_a.map(&.zone_id).uniq! + + playlist = current_playlist + args = {} of String => (String | Int64 | Float64 | Bool | Nil) + args["group_name"] = group.name + args["group_id"] = group.id.to_s + args["playlist_name"] = playlist.name + args["playlist_id"] = playlist.id + args["user_name"] = current_user.name + args["user_email"] = current_user.email.to_s + args["message"] = message.message + ref = "playlist-#{playlist.id}" + + mail = ::PlaceOS::Model::PendingMail.new( + authority_id: authority.id.as(String), + user_id: current_user.id.as(String), + send_to: send_to, + template: ["signage", "request_playlist_approval"], + source_service: "signage", + source_reference: ref, + zones: zone_ids, + expiry: 3.days.from_now, + args: args, + ) + raise Error::ModelValidation.new(mail.errors) unless mail.save + ::PlaceOS::Driver::RedisStorage.with_redis &.publish("placeos/#{authority.id}/pending_mail/new", { + id: mail.id.to_s, + service: "signage", + reference: ref, + }.to_json) + end end end diff --git a/src/placeos-rest-api/error.cr b/src/placeos-rest-api/error.cr index 51dd66fe..e6abe66d 100644 --- a/src/placeos-rest-api/error.cr +++ b/src/placeos-rest-api/error.cr @@ -18,6 +18,9 @@ module PlaceOS::Api class Conflict < Error end + class NotAcceptable < Error + end + record Field, field : Symbol, message : String class RecaptchaFailed < Error