core_user_consent_retrieve
GET/api/v3//core/user_consent/:id/
UserConsent Viewset
Request
Path Parameters
id integerrequired
A unique integer value identifying this User Consent.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pk ID (integer)required
expires date-timenullable
expiring boolean
user
object
required
application
object
required
permissions string
{
"pk": 0,
"expires": "2024-09-27T14:26:18.109Z",
"expiring": true,
"user": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"last_login": "2024-09-27T14:26:18.109Z",
"is_superuser": true,
"groups": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"groups_obj": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"num_pk": 0,
"name": "string",
"is_superuser": true,
"parent": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parent_name": "string",
"attributes": {}
}
],
"email": "[email protected]",
"avatar": "string",
"attributes": {},
"uid": "string",
"path": "string",
"type": "internal",
"uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"application": {
"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"
},
"permissions": "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/core/user_consent/:id/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'