openapi: 3.2.0 info: title: Opoint Templates API version: 1.0.0 description: 'Operations tagged templates across 2 of this provider''s published API definitions: opoint-openapi-original.yml, opoint-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://api.opoint.com tags: - name: Templates paths: /templates/: get: operationId: templates_list tags: - Templates security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/Template' description: '' summary: Templates list x-summary-source: derived post: operationId: templates_create tags: - Templates requestBody: content: application/json: schema: $ref: '#/components/schemas/Template' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Template' multipart/form-data: schema: $ref: '#/components/schemas/Template' required: true security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '201': content: application/json: schema: $ref: '#/components/schemas/Template' description: '' summary: Templates create x-summary-source: derived servers: - url: https://api.opoint.com /templates/{id}/: get: operationId: templates_retrieve parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this template. required: true tags: - Templates security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Template' description: '' summary: Templates retrieve x-summary-source: derived put: operationId: templates_update parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this template. required: true tags: - Templates requestBody: content: application/json: schema: $ref: '#/components/schemas/Template' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Template' multipart/form-data: schema: $ref: '#/components/schemas/Template' required: true security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Template' description: '' summary: Templates update x-summary-source: derived delete: operationId: templates_destroy parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this template. required: true tags: - Templates security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '204': description: No response body summary: Templates destroy x-summary-source: derived servers: - url: https://api.opoint.com /templates/{id}/preview/: post: operationId: templates_preview_create parameters: - in: path name: id schema: type: integer description: A unique integer value identifying this template. required: true tags: - Templates requestBody: content: application/json: schema: $ref: '#/components/schemas/Template' application/x-www-form-urlencoded: schema: $ref: '#/components/schemas/Template' multipart/form-data: schema: $ref: '#/components/schemas/Template' required: true security: - JWT: [] - ephmeralId: [] - staticToken: [] - cookieAuth: [] responses: '200': content: application/json: schema: $ref: '#/components/schemas/Template' description: '' summary: Templates preview create x-summary-source: derived servers: - url: https://api.opoint.com components: schemas: Template: type: object properties: url: type: string format: uri readOnly: true id: type: integer readOnly: true name: type: string type: type: integer readonly: type: boolean readOnly: true required: - id - name - readonly - type - url securitySchemes: JWT: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "JWT" cookieAuth: type: apiKey in: cookie name: PHPSESSID ephmeralId: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "Ephemeral" staticToken: type: apiKey in: header name: Authorization description: Token-based authentication with required prefix "Token" x-refined-from: - opoint-openapi-original.yml - opoint-openapi.yml