openapi: 3.2.0 info: description: API Documentation title: Control-plane UI No Auth User Controller API version: '1.0' servers: - url: https://facetsdemo.console.facets.cloud description: Generated server url security: - basicAuth: [] tags: - name: ui-no-auth-user-controller paths: /public-ui/v1/user/resetPassword: post: operationId: resetPasswordRequest requestBody: content: application/json: schema: $ref: '#/components/schemas/ResetPasswordRequest' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/Response' description: OK '400': content: application/json: schema: oneOf: - $ref: '#/components/schemas/ErrorDetails' - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails' description: Bad Request '403': content: application/json: schema: type: string description: Forbidden '404': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Not Found '405': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Method Not Allowed '409': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Conflict '500': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Internal Server Error tags: - ui-no-auth-user-controller summary: Reset password request x-summary-source: derived /public-ui/v1/user/savePassword: post: operationId: savePassword requestBody: content: application/json: schema: $ref: '#/components/schemas/SavePasswordResetPasswordRequest' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/Response' description: OK '400': content: application/json: schema: oneOf: - $ref: '#/components/schemas/ErrorDetails' - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails' description: Bad Request '403': content: application/json: schema: type: string description: Forbidden '404': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Not Found '405': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Method Not Allowed '409': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Conflict '500': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Internal Server Error tags: - ui-no-auth-user-controller summary: Save password x-summary-source: derived /public-ui/v1/user/token/validate: post: operationId: validateToken requestBody: content: application/json: schema: $ref: '#/components/schemas/TokenValidationRequest' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/TokenValidity' description: OK '400': content: application/json: schema: oneOf: - $ref: '#/components/schemas/ErrorDetails' - $ref: '#/components/schemas/GithubAppPermissionsPendingErrorDetails' description: Bad Request '403': content: application/json: schema: type: string description: Forbidden '404': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Not Found '405': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Method Not Allowed '409': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Conflict '500': content: application/json: schema: $ref: '#/components/schemas/ErrorDetails' description: Internal Server Error tags: - ui-no-auth-user-controller summary: Validate token x-summary-source: derived components: schemas: ResetPasswordRequest: type: object properties: email: type: string TokenValidity: type: object properties: message: type: string enum: - TOKEN_NOT_FOUND - TOKEN_EXPIRED - TOKEN_ALREADY_USED username: type: string valid: type: boolean GithubAppPermissionsPendingErrorDetails: type: object properties: approvalUrl: type: string code: type: string errorCode: type: string message: type: string missingPermissions: type: array items: type: string SavePasswordResetPasswordRequest: type: object properties: email: type: string password: type: string token: type: string Response: type: object properties: code: type: string message: type: string TokenValidationRequest: type: object properties: token: type: string ErrorDetails: type: object properties: code: type: string message: type: string securitySchemes: basicAuth: description: Basic Authentication scheme: basic type: http