-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [ch90498] Adding new REST funcationality for unbounded segments * Move unbounded segment target list wrapper to its own object * [ch90412] add relay auto config crud endpoints to openapi (#155) * remove unnecessary files * fix typo, indicate required fields on definition, remove 500 response * missed a few 500s * fix body name of relay post request * fix typo in token path * remove periods from descriptions, make configs plural where necessary * [ch92014] add mobile key and SDK key reset endpoints (#156) * add mobile key and SDK key reset endpoints * fix formatting * fix typo * fix single quotes * Indicate expiry param is deprecated for mobile key reset openapi spec (#158) * edit mobile key reset endpoint and expiry param descriptions to indicate deprecation * remove mention of mobile key in SDK key expiry param, rename SDK key expiry param * Imiller/ch65698/update openapi with goaltender api endpoints (#159) * add integration subscriptions to definitions * clean up definitions * add more parameters * add integrations endpoints * fix invalid definition * remove slack url and datadog api key * add paths * fix some paths * update description for config post field * change from subscription to integrationSubscription * add missing integrations tag to post * remove apiKey from patch * remove byId from getIntegrationSubscription * use generic patch request param * update summary * update 200 responses for post and patch Co-authored-by: Matt Wagner <[email protected]> Co-authored-by: Henry Jacobs <[email protected]> Co-authored-by: Isabelle Miller <[email protected]>
- Loading branch information
1 parent
49e869f
commit a49a894
Showing
4 changed files
with
244 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
IntegrationsRoot: | ||
get: | ||
summary: Get a list of all configured audit log event integrations associated with this account. | ||
operationId: getIntegrations | ||
responses: | ||
'200': | ||
description: Integrations response. | ||
schema: | ||
$ref: '#/definitions/Integrations' | ||
'403': | ||
$ref: '#/responses/BetaApi403' | ||
tags: | ||
- Integrations | ||
Integrations: | ||
get: | ||
summary: Get a list of all configured integrations of a given kind. | ||
operationId: getIntegrationSubscriptions | ||
parameters: | ||
- $ref: '#/parameters/IntegrationKey' | ||
responses: | ||
'200': | ||
description: Integrations response. | ||
schema: | ||
$ref: '#/definitions/Integration' | ||
'403': | ||
$ref: '#/responses/BetaApi403' | ||
'404': | ||
$ref: '#/responses/Standard404' | ||
tags: | ||
- Integrations | ||
post: | ||
summary: Create a new integration subscription of a given kind. | ||
operationId: postIntegrationSubscription | ||
parameters: | ||
- $ref: '#/parameters/IntegrationKey' | ||
- $ref: '#/parameters/IntegrationPostRequest' | ||
responses: | ||
'201': | ||
description: Integrations response. | ||
schema: | ||
$ref: '#/definitions/IntegrationSubscription' | ||
'400': | ||
$ref: '#/responses/Standard400' | ||
'401': | ||
$ref: '#/responses/Standard401' | ||
'409': | ||
$ref: '#/responses/Standard409' | ||
tags: | ||
- Integrations | ||
Integration: | ||
get: | ||
summary: Get a single integration subscription by ID. | ||
operationId: getIntegrationSubscription | ||
parameters: | ||
- $ref: '#/parameters/IntegrationKey' | ||
- $ref: '#/parameters/IntegrationId' | ||
responses: | ||
'200': | ||
description: Integrations response. | ||
schema: | ||
$ref: '#/definitions/IntegrationSubscription' | ||
'403': | ||
$ref: '#/responses/BetaApi403' | ||
'404': | ||
$ref: '#/responses/Standard404' | ||
tags: | ||
- Integrations | ||
patch: | ||
summary: Modify an integration subscription by ID. | ||
operationId: patchIntegrationSubscription | ||
parameters: | ||
- $ref: '#/parameters/IntegrationKey' | ||
- $ref: '#/parameters/IntegrationId' | ||
- $ref: '#/parameters/PatchRequest' | ||
responses: | ||
'200': | ||
description: Integrations response. | ||
schema: | ||
$ref: '#/definitions/IntegrationSubscription' | ||
'400': | ||
$ref: '#/responses/Standard400' | ||
'401': | ||
$ref: '#/responses/Standard401' | ||
'404': | ||
$ref: '#/responses/Standard404' | ||
tags: | ||
- Integrations | ||
delete: | ||
summary: Delete an integration subscription by ID. | ||
operationId: deleteIntegrationSubscription | ||
parameters: | ||
- $ref: '#/parameters/IntegrationKey' | ||
- $ref: '#/parameters/IntegrationId' | ||
responses: | ||
'204': | ||
$ref: '#/responses/Standard204' | ||
'401': | ||
$ref: '#/responses/Standard401' | ||
'404': | ||
$ref: '#/responses/Standard404' | ||
tags: | ||
- Integrations |