openapi: 3.2.0 info: description: API Documentation title: Control-plane UI Artifact Ci Controller API version: '1.0' servers: - url: https://facetsdemo.console.facets.cloud description: Generated server url security: - basicAuth: [] tags: - name: ui-artifact-ci-controller paths: /cc-ui/v1/artifacts-ci: get: operationId: getAllArtifactsCI responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Get all artifacts CI x-summary-source: derived post: operationId: createArtifactCI requestBody: content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Create artifact CI x-summary-source: derived /cc-ui/v1/artifacts-ci/blueprint/{stackName}: get: operationId: getArtifactCisByStack parameters: - in: path name: stackName required: true schema: type: string responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Get artifact cis by stack x-summary-source: derived /cc-ui/v1/artifacts-ci/bulk-edit-workflow: post: operationId: bulkEditWorkflow requestBody: content: application/json: schema: $ref: '#/components/schemas/BulkWorkflowAttachRequest' required: true responses: '200': 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-artifact-ci-controller summary: Bulk edit workflow x-summary-source: derived /cc-ui/v1/artifacts-ci/name/{ciName}: get: operationId: getArtifactCiByName parameters: - in: path name: ciName required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Get artifact ci by name x-summary-source: derived /cc-ui/v1/artifacts-ci/{ciId}: delete: operationId: deleteArtifactCI parameters: - in: path name: ciId required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Delete artifact CI x-summary-source: derived get: operationId: getArtifactCI parameters: - in: path name: ciId required: true schema: type: string responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Get artifact CI x-summary-source: derived put: operationId: updateArtifactCI parameters: - in: path name: ciId required: true schema: type: string requestBody: content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' required: true responses: '200': content: application/json: schema: $ref: '#/components/schemas/ArtifactCI' 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-artifact-ci-controller summary: Update artifact CI x-summary-source: derived /cc-ui/v1/artifacts-ci/{ciName}/artifacts: get: operationId: getArtifactsForCI parameters: - in: path name: ciName required: true schema: type: string responses: '200': content: application/json: schema: type: array items: $ref: '#/components/schemas/CiArtifactResponse' 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-artifact-ci-controller summary: Get artifacts for CI x-summary-source: derived components: schemas: CiArtifactResponse: type: object properties: appliedRuleId: type: string appliedRuleName: type: string appliedRuleVersionId: type: string artifactId: type: string artifactName: type: string artifactUri: type: string artifactory: type: string buildDescription: type: string classified: type: boolean createdBy: type: string createdOn: type: string format: date-time externalId: type: string metadata: type: object additionalProperties: type: string promoted: type: boolean registrationType: type: string enum: - ENVIRONMENT - RELEASE_STREAM - HYBRID registrationValue: type: string repositoryName: type: string tag: type: string versioningKey: type: string GithubAppPermissionsPendingErrorDetails: type: object properties: approvalUrl: type: string code: type: string errorCode: type: string message: type: string missingPermissions: type: array items: type: string BulkWorkflowAttachRequest: type: object properties: artifactCiIds: type: array items: type: string workflowId: type: string ErrorDetails: type: object properties: code: type: string message: type: string ArtifactCI: required: - ciName - registrationType type: object properties: ciName: type: string createdBy: type: string creationDate: type: string format: date-time id: type: string lastModifiedBy: type: string lastModifiedDate: type: string format: date-time promotionWorkflowId: type: string registrationType: type: string enum: - ENVIRONMENT - RELEASE_STREAM - HYBRID ruleId: type: string stackName: type: string securitySchemes: basicAuth: description: Basic Authentication scheme: basic type: http