Skip to content

Commit eb59748

Browse files
committed
Partner Integration: document GET org API
1 parent 79fe3cb commit eb59748

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

static/api/extensions/v1/api.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,27 @@ paths:
542542
$ref: "#/components/schemas/GenericError"
543543

544544
/v1/providers/{provider_id}/orgs/{org_id}:
545+
get:
546+
tags:
547+
- organizations
548+
summary: Get organization
549+
operationId: Tigris_GetOrganization
550+
parameters:
551+
- $ref: "#/components/parameters/provider_id"
552+
- $ref: "#/components/parameters/org_id"
553+
responses:
554+
"200":
555+
description: OK
556+
content:
557+
application/json:
558+
schema:
559+
$ref: "#/components/schemas/GetOrganizationResponse"
560+
default:
561+
description: Unexpected error
562+
content:
563+
application/json:
564+
schema:
565+
$ref: "#/components/schemas/GenericError"
545566
put:
546567
tags:
547568
- organizations
@@ -1207,6 +1228,11 @@ components:
12071228
type: array
12081229
items:
12091230
$ref: "#/components/schemas/OrgInfo"
1231+
GetOrganizationResponse:
1232+
type: object
1233+
properties:
1234+
data:
1235+
$ref: "#/components/schemas/OrgInfo"
12101236
OrgInfo:
12111237
type: object
12121238
required:

0 commit comments

Comments
 (0)