stages_invitation_invitations_list
GET/api/v3//stages/invitation/invitations/
Invitation Viewset
Request
Query Parameters
created_by__username string
expires date-time
flow__slug string
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
search string
A search term.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
pagination
object
required
results
object[]
required
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"expires": "2024-09-27T14:26:18.967Z",
"fixed_data": {},
"created_by": {
"pk": 0,
"username": "string",
"name": "string",
"is_active": true,
"last_login": "2024-09-27T14:26:18.967Z",
"email": "[email protected]",
"attributes": {},
"uid": "string"
},
"single_use": true,
"flow": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"flow_obj": {
"pk": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"policybindingmodel_ptr_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"slug": "string",
"title": "string",
"designation": "authentication",
"background": "string",
"stages": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"policies": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"cache_count": 0,
"policy_engine_mode": "all",
"compatibility_mode": true,
"export_url": "string",
"layout": "stacked",
"denied_action": "message_continue",
"authentication": "none"
}
}
]
}
- 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/stages/invitation/invitations/' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'