sources_oauth_source_types_list
GET/api/v3//sources/oauth/source_types/
Get all creatable source types. If ?name is set, only returns the type for <name>. If <name> isn't found, returns the default type.
Request
Query Parameters
name string
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
name stringrequired
verbose_name stringrequired
urls_customizable booleanrequired
request_token_url stringnullablerequired
authorization_url stringnullablerequired
access_token_url stringnullablerequired
profile_url stringnullablerequired
oidc_well_known_url stringnullablerequired
oidc_jwks_url stringnullablerequired
[
{
"name": "string",
"verbose_name": "string",
"urls_customizable": true,
"request_token_url": "string",
"authorization_url": "string",
"access_token_url": "string",
"profile_url": "string",
"oidc_well_known_url": "string",
"oidc_jwks_url": "string"
}
]
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET '/api/v3/sources/oauth/source_types/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'