openapi: 3.2.0 info: description: API Documentation title: Control-plane UI Saml Controller API version: '1.0' servers: - url: https://facetsdemo.console.facets.cloud description: Generated server url security: - basicAuth: [] tags: - name: ui-saml-controller paths: /cc-ui/v1/saml: get: operationId: getAllIntegrations responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/CustomSamlRegistration' 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-saml-controller summary: Get all integrations x-summary-source: derived post: operationId: addIntegrations requestBody: content: application/json: schema: $ref: '#/components/schemas/CustomSamlRegistration' required: true responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/CustomSamlRegistration' 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-saml-controller summary: Add integrations x-summary-source: derived /cc-ui/v1/saml/{registrationId}: delete: operationId: deleteIntegrations parameters: - in: path name: registrationId required: true schema: type: string responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/CustomSamlRegistration' 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-saml-controller summary: Delete integrations x-summary-source: derived put: operationId: updateIntegrations parameters: - in: path name: registrationId required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/CustomSamlRegistration' required: true responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/CustomSamlRegistration' 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-saml-controller summary: Update integrations x-summary-source: derived components: schemas: GithubAppPermissionsPendingErrorDetails: type: object properties: approvalUrl: type: string code: type: string errorCode: type: string message: type: string missingPermissions: type: array items: type: string ErrorDetails: type: object properties: code: type: string message: type: string CustomSamlRegistration: required: - entityId - loginButtonText - provider - registrationId type: object properties: description: maxLength: 200 minLength: 0 type: string entityId: type: string isSystemConfigured: type: boolean readOnly: true loginButtonText: type: string provider: type: string enum: - GOOGLE_SAML - OKTA_SAML registrationId: type: string singleSignOnServiceLocation: type: string systemConfigured: type: boolean verificationX509Certificate: type: string writeOnly: true securitySchemes: basicAuth: description: Basic Authentication scheme: basic type: http