core_applications_create
POST/api/v3//core/applications/
Application Viewset
Request
- application/json
Body
required
name stringrequired
Possible values: non-empty
Application's display Name.
slug stringrequired
Possible values: non-empty
and <= 50 characters
, Value must match regular expression ^[-a-zA-Z0-9_]+$
Internal application name, used in URLs.
provider integernullable
backchannel_providers integer[]
open_in_new_tab boolean
Open launch URL in a new browser tab or window.
meta_launch_url uri
meta_description string
meta_publisher string
policy_engine_mode PolicyEngineMode (string)
Possible values: [all
, any
]
group string
Responses
- 201
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk uuidrequired
name stringrequired
Application's display Name.
slug stringrequired
Possible values: <= 50 characters
, Value must match regular expression ^[-a-zA-Z0-9_]+$
Internal application name, used in URLs.
provider integernullable
provider_obj
object
required
backchannel_providers integer[]
backchannel_providers_obj
object[]
required
launch_url stringnullablerequired
Allow formatting of launch URL
open_in_new_tab boolean
Open launch URL in a new browser tab or window.
meta_launch_url uri
meta_icon stringnullablerequired
Get the URL to the App Icon image. If the name is /static or starts with http it is returned as-is
meta_description string
meta_publisher string
policy_engine_mode PolicyEngineMode (string)
Possible values: [all
, any
]
group string
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"provider": 0,
"provider_obj": {
"pk": 0,
"name": "string",
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"authorization_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"component": "string",
"assigned_application_slug": "string",
"assigned_application_name": "string",
"assigned_backchannel_application_slug": "string",
"assigned_backchannel_application_name": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string"
},
"backchannel_providers": [
0
],
"backchannel_providers_obj": [
{
"pk": 0,
"name": "string",
"authentication_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"authorization_flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"property_mappings": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"component": "string",
"assigned_application_slug": "string",
"assigned_application_name": "string",
"assigned_backchannel_application_slug": "string",
"assigned_backchannel_application_name": "string",
"verbose_name": "string",
"verbose_name_plural": "string",
"meta_model_name": "string"
}
],
"launch_url": "string",
"open_in_new_tab": true,
"meta_launch_url": "string",
"meta_icon": "string",
"meta_description": "string",
"meta_publisher": "string",
"policy_engine_mode": "all",
"group": "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 POST '/api/v3/core/applications/' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"name": "string",
"slug": "string",
"provider": 0,
"backchannel_providers": [
0
],
"open_in_new_tab": true,
"meta_launch_url": "string",
"meta_description": "string",
"meta_publisher": "string",
"policy_engine_mode": "all",
"group": "string"
}'