From 879a8e82540d8d3b7f6e0eb10cae5dec42ee3c5c Mon Sep 17 00:00:00 2001 From: "dev-portal-updater[bot]" <149019135+dev-portal-updater[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 18:01:39 +0000 Subject: [PATCH] feat: update `bitgo-api-docs` This commit updates the BitGo API. --- api.yaml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/api.yaml b/api.yaml index 2e7890e..653c841 100644 --- a/api.yaml +++ b/api.yaml @@ -22445,6 +22445,38 @@ paths: application/json: schema: $ref: '#/components/schemas/PlatformError' + /api/v2/enterprise/{enterpriseId}/regionalfeatures: + get: + summary: Get enterprise regional features + description: Get the regional features available to an enterprise by its location. + operationId: v2.enterprise.regional.features.get + tags: + - Enterprise + parameters: + - name: enterpriseId + in: path + required: true + schema: + $ref: '#/components/schemas/EnterpriseIdString' + responses: + '200': + description: OK + content: + application/json: + schema: + $ref: '#/components/schemas/RegionalFeatures' + '400': + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' + '404': + description: Not Found + content: + application/json: + schema: + $ref: '#/components/schemas/PlatformError' /api/v2/enterprise/{enterpriseId}/tssconfig: get: summary: Get enterprise MPC config @@ -48276,6 +48308,23 @@ components: type: string - type: object additionalProperties: {} + RegionalFeatures: + title: RegionalFeatures + type: object + properties: + trading: + type: boolean + custody: + type: boolean + lending: + type: boolean + borrowing: + type: boolean + required: + - trading + - custody + - lending + - borrowing OrganizationRole: title: OrganizationRole type: string