Files
sendico/interface/api/organizations/get.yaml
2026-02-24 21:26:31 +03:00

29 lines
960 B
YAML

get:
tags: [Organizations]
summary: Get organization by reference
operationId: organizationsGet
security:
- bearerAuth: []
parameters:
- $ref: ../parameters/org_ref.yaml#/components/parameters/OrgRef
responses:
'200':
description: Organization details
content:
application/json:
schema:
allOf:
- $ref: ../response/response.yaml#/components/schemas/BaseResponse
- type: object
properties:
data:
$ref: ./response/organization.yaml#/components/schemas/OrganizationsAuthData
'400':
$ref: ../response/operation.yaml#/components/responses/BadRequest
'401':
$ref: ../response/operation.yaml#/components/responses/Unauthorized
'404':
$ref: ../response/operation.yaml#/components/responses/NotFound
'500':
$ref: ../response/operation.yaml#/components/responses/InternalServerError