Skip to content

Commit

Permalink
feat(COR-871): add associated services to container registry response (
Browse files Browse the repository at this point in the history
  • Loading branch information
pggb25 authored Jul 23, 2024
1 parent 23a278e commit a72b58e
Showing 1 changed file with 95 additions and 0 deletions.
95 changes: 95 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10585,6 +10585,38 @@ paths:
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'/organization/{organizationId}/containerRegistry/{containerRegistryId}/associatedServices':
parameters:
- schema:
type: string
name: organizationId
in: path
required: true
- schema:
type: string
name: containerRegistryId
in: path
required: true
get:
summary: Get organization container registry associated services
tags: []
responses:
'200':
description: Get organization container registry associated services
content:
application/json:
schema:
$ref: '#/components/schemas/ContainerRegistryAssociatedServicesResponseList'
'401':
description: Access token is missing or invalid
'403':
description: Access forbidden
'404':
description: Resource not found
operationId: getContainerRegistryAssociatedServices
x-stoplight:
id: dgh8t73nqaetm
description: Get organization container registry associated services
components:
parameters:
applicationId:
Expand Down Expand Up @@ -12998,6 +13030,11 @@ components:
type: string
x-stoplight:
id: 5jak2m85ljxaa
associated_services_count:
type: integer
x-stoplight:
id: 02mqr04rogfem
description: The number of services using this container registry
ContainerRegistryProviderDetailsResponse:
type: object
required:
Expand Down Expand Up @@ -18438,6 +18475,64 @@ components:
x-stoplight:
id: 0xkypu9qkowv3
description: Dockerfile of the template
ContainerRegistryAssociatedServicesResponseList:
title: ContainerRegistryAssociatedServicesResponseList
x-stoplight:
id: xn1fsp17ahwfi
type: object
properties:
results:
$ref: '#/components/schemas/ContainerRegistryAssociatedServicesResponse'
ContainerRegistryAssociatedServicesResponse:
title: ContainerRegistryAssociatedServicesResponse
x-stoplight:
id: uxbkfqdj9zyi6
type: object
required:
- project_id
- project_name
- environment_id
- environment_name
- service_id
- service_name
- service_type
properties:
project_id:
type: string
x-stoplight:
id: 9jdx3t62nttjz
format: uuid
project_name:
type: string
x-stoplight:
id: cjlfx1ucomdv9
environment_id:
type: string
x-stoplight:
id: gk5r4dcoliuac
format: uuid
environment_name:
type: string
x-stoplight:
id: kxry5d624susz
service_id:
type: string
x-stoplight:
id: kmouxjf3vbtjo
format: uuid
service_name:
type: string
x-stoplight:
id: ga0yqhtmi4nl6
service_type:
$ref: '#/components/schemas/ContainerRegistryAssociatedServiceType'
ContainerRegistryAssociatedServiceType:
title: ContainerRegistryAssociatedServiceType
x-stoplight:
id: dif8pj1ys444y
enum:
- CONTAINER
- JOB
responses:
'204':
description: no content
Expand Down

0 comments on commit a72b58e

Please sign in to comment.