mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
* OAuthOutgoingConnection model * added store * make generated * add missing license headers * fix receiver name * i18n * i18n sorting * update migrations from master * make migrations-extract * update retrylayer tests * replaced sql query with id pagination * fixed flaky tests * missing columns * missing columns on save/update * typo * improved tests * remove enum from mysql colum * add password credentials to store * license changes * OAuthOutgoingConnectionInterface * Oauth -> OAuth * make generated * merge migrations * renamed migrations * model change suggestions * refactor test functionsn * migration typo * refactor store table names * updated sanitize test * cleanup merge * refactor symbol * list endpoint * oauthoutgoingconnection -> outgoingoauthconnection * signature change * i18n update * granttype typo * naming * api list * uppercase typo * i18n * missing license header * fixed path in comments * updated openapi definitions * sanitize connections * make generated * test license and no feature flag * removed t.fatal * updated testhelper calls * yaml schema fixes * switched interface name * suggested translation * missing i18n translation * address comments * updated i18n
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
/api/v4/oauth/outgoing_connections:
|
|
get:
|
|
tags:
|
|
- oauth
|
|
- outgoing_connections
|
|
- outgoing_oauth_connections
|
|
summary: List all connections
|
|
description: >
|
|
List all outgoing OAuth connections.
|
|
|
|
__Minimum server version__: 9.5
|
|
operationId: ListOutgoingOAuthConnections
|
|
responses:
|
|
"200":
|
|
description: Successfully fetched outgoing OAuth connections
|
|
content:
|
|
application/json:
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: "#/components/schemas/OutgoingOAuthConnectionGetItem"
|
|
"401":
|
|
$ref: "#/components/responses/Unauthorized"
|
|
"500":
|
|
$ref: "#/components/responses/InternalServerError"
|
|
"501":
|
|
$ref: "#/components/responses/NotImplemented"
|
|
/api/v4/oauth/outgoing_connections/{connection_id}:
|
|
get:
|
|
tags:
|
|
- oauth
|
|
- outgoing_connections
|
|
- outgoing_oauth_connections
|
|
summary: Get a connection
|
|
description: >
|
|
Retrieve an outgoing OAuth connection.
|
|
|
|
__Minimum server version__: 9.5
|
|
operationId: GetOutgoingOAuthConnection
|
|
responses:
|
|
"200":
|
|
description: Successfully fetched outgoing OAuth connection
|
|
content:
|
|
application/json:
|
|
schema:
|
|
$ref: "#/components/schemas/OutgoingOAuthConnectionGetItem"
|
|
"401":
|
|
$ref: "#/components/responses/Unauthorized"
|
|
"500":
|
|
$ref: "#/components/responses/InternalServerError"
|
|
"501":
|
|
$ref: "#/components/responses/NotImplemented"
|