openapi: 3.2.0 info: title: Airia Web Classification Label API version: 1.0.0 servers: - url: https://api.airia.ai tags: - name: ClassificationLabel paths: /v1/ClassificationLabel: get: tags: - ClassificationLabel operationId: ClassificationLabel_GetAllClassificationLabels parameters: - name: x-correlation-id in: header schema: type: string responses: 200: description: '' content: application/json: schema: type: array items: $ref: '#/components/schemas/ClassificationLabelResponse' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Classification label get all classification labels x-summary-source: derived post: tags: - ClassificationLabel operationId: ClassificationLabel_CreateClassificationLabel parameters: - name: x-correlation-id in: header schema: type: string requestBody: x-name: request content: application/json: schema: $ref: '#/components/schemas/CreateClassificationLabelRequest' required: true x-position: 1 responses: 200: description: '' content: application/json: schema: $ref: '#/components/schemas/ClassificationLabelResponse' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Classification label create classification label x-summary-source: derived /v1/ClassificationLabel/{id}: put: tags: - ClassificationLabel operationId: ClassificationLabel_UpdateClassificationLabel parameters: - name: id in: path required: true schema: type: string format: guid x-position: 1 - name: x-correlation-id in: header schema: type: string requestBody: x-name: request content: application/json: schema: $ref: '#/components/schemas/UpdateClassificationLabelRequest' required: true x-position: 2 responses: 200: description: '' 404: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Classification label update classification label x-summary-source: derived delete: tags: - ClassificationLabel operationId: ClassificationLabel_DeleteClassificationLabel parameters: - name: id in: path required: true schema: type: string format: guid x-position: 1 - name: x-correlation-id in: header schema: type: string responses: 200: description: '' 404: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 401: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' 403: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' default: description: '' content: application/json: schema: $ref: '#/components/schemas/ProblemDetails' summary: Classification label delete classification label x-summary-source: derived components: schemas: ProblemDetails: type: object additionalProperties: {} properties: type: type: - string - 'null' title: type: - string - 'null' status: type: - integer - 'null' format: int32 detail: type: - string - 'null' instance: type: - string - 'null' UpdateClassificationLabelRequest: type: object additionalProperties: false properties: labelName: type: - string - 'null' ClassificationLabelResponse: type: object additionalProperties: false properties: id: type: string format: guid labelName: type: string isDefaultValue: type: boolean classificationId: type: string format: guid priority: type: integer format: int32 CreateClassificationLabelRequest: type: object additionalProperties: false properties: classificationId: type: string format: guid labelName: type: string securitySchemes: ApiKey: type: apiKey description: API Key Authentication name: X-API-Key in: header Cookies: type: apiKey description: Cookie based Authentication name: Cookie in: header x-generator: NSwag v14.7.1.0 (NJsonSchema v11.6.1.0 (Newtonsoft.Json v13.0.0.0))