2020-05-14 11:45:46 +00:00
|
|
|
swagger: '2.0'
|
|
|
|
info:
|
|
|
|
title: passbook API
|
|
|
|
contact:
|
|
|
|
email: hello@beryju.org
|
|
|
|
license:
|
|
|
|
name: MIT License
|
|
|
|
version: v2
|
2020-07-05 21:15:07 +00:00
|
|
|
basePath: /api/v2beta
|
2020-05-14 11:45:46 +00:00
|
|
|
consumes:
|
|
|
|
- application/json
|
|
|
|
produces:
|
|
|
|
- application/json
|
|
|
|
securityDefinitions:
|
2020-07-05 21:15:07 +00:00
|
|
|
token:
|
|
|
|
type: apiKey
|
|
|
|
name: Authorization
|
|
|
|
in: header
|
2020-05-14 11:45:46 +00:00
|
|
|
security:
|
2020-07-05 21:15:07 +00:00
|
|
|
- token: []
|
2020-05-14 11:45:46 +00:00
|
|
|
paths:
|
2020-10-05 20:09:57 +00:00
|
|
|
/admin/metrics/:
|
|
|
|
get:
|
|
|
|
operationId: admin_metrics_list
|
|
|
|
description: Return single instance of AdministrationMetricsSerializer
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Overview View
|
2020-10-05 20:09:57 +00:00
|
|
|
schema:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-10-05 20:09:57 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/AdministrationMetrics'
|
|
|
|
tags:
|
|
|
|
- admin
|
|
|
|
parameters: []
|
2020-10-03 22:28:58 +00:00
|
|
|
/admin/overview/:
|
|
|
|
get:
|
|
|
|
operationId: admin_overview_list
|
|
|
|
description: Return single instance of AdministrationOverviewSerializer
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Overview View
|
2020-10-03 22:28:58 +00:00
|
|
|
schema:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-10-03 22:28:58 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/AdministrationOverview'
|
|
|
|
tags:
|
|
|
|
- admin
|
|
|
|
parameters: []
|
2020-10-16 11:35:52 +00:00
|
|
|
/admin/system_tasks/:
|
|
|
|
get:
|
|
|
|
operationId: admin_system_tasks_list
|
|
|
|
description: List current messages and pass into Serializer
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Serialize TaskInfo and TaskResult
|
2020-10-16 11:35:52 +00:00
|
|
|
schema:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-10-16 11:35:52 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Task'
|
|
|
|
tags:
|
|
|
|
- admin
|
|
|
|
parameters: []
|
|
|
|
/admin/system_tasks/{id}/retry/:
|
|
|
|
post:
|
|
|
|
operationId: admin_system_tasks_retry
|
|
|
|
description: Retry task
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- admin
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
type: string
|
2020-05-14 11:45:46 +00:00
|
|
|
/audit/events/:
|
|
|
|
get:
|
|
|
|
operationId: audit_events_list
|
|
|
|
description: Event Read-Only Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Event'
|
|
|
|
tags:
|
|
|
|
- audit
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/audit/events/{event_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: audit_events_read
|
|
|
|
description: Event Read-Only Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Event'
|
|
|
|
tags:
|
|
|
|
- audit
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: event_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Audit Event.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/core/applications/:
|
|
|
|
get:
|
|
|
|
operationId: core_applications_list
|
2020-10-11 17:26:20 +00:00
|
|
|
description: Custom list method that checks Policy based access instead of guardian
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
post:
|
|
|
|
operationId: core_applications_create
|
|
|
|
description: Application Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters: []
|
2020-10-11 17:26:20 +00:00
|
|
|
/core/applications/{slug}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: core_applications_read
|
|
|
|
description: Application Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
put:
|
|
|
|
operationId: core_applications_update
|
|
|
|
description: Application Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
patch:
|
|
|
|
operationId: core_applications_partial_update
|
|
|
|
description: Application Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Application'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
delete:
|
|
|
|
operationId: core_applications_delete
|
|
|
|
description: Application Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters:
|
2020-10-11 17:26:20 +00:00
|
|
|
- name: slug
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-10-11 17:26:20 +00:00
|
|
|
description: Internal application name, used in URLs.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
2020-10-11 17:26:20 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
2020-05-14 11:45:46 +00:00
|
|
|
/core/groups/:
|
|
|
|
get:
|
|
|
|
operationId: core_groups_list
|
|
|
|
description: Group Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
post:
|
|
|
|
operationId: core_groups_create
|
|
|
|
description: Group Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/core/groups/{group_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: core_groups_read
|
|
|
|
description: Group Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
put:
|
|
|
|
operationId: core_groups_update
|
|
|
|
description: Group Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
patch:
|
|
|
|
operationId: core_groups_partial_update
|
|
|
|
description: Group Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Group'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
delete:
|
|
|
|
operationId: core_groups_delete
|
|
|
|
description: Group Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: group_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this group.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-10-03 21:37:58 +00:00
|
|
|
/core/tokens/:
|
|
|
|
get:
|
|
|
|
operationId: core_tokens_list
|
|
|
|
description: Token Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
post:
|
|
|
|
operationId: core_tokens_create
|
|
|
|
description: Token Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters: []
|
|
|
|
/core/tokens/{identifier}/:
|
|
|
|
get:
|
|
|
|
operationId: core_tokens_read
|
|
|
|
description: Token Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
put:
|
|
|
|
operationId: core_tokens_update
|
|
|
|
description: Token Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
patch:
|
|
|
|
operationId: core_tokens_partial_update
|
|
|
|
description: Token Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
delete:
|
|
|
|
operationId: core_tokens_delete
|
|
|
|
description: Token Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters:
|
|
|
|
- name: identifier
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
type: string
|
2020-10-18 13:38:28 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
2020-10-18 12:34:22 +00:00
|
|
|
/core/tokens/{identifier}/view_key/:
|
|
|
|
get:
|
|
|
|
operationId: core_tokens_view_key
|
|
|
|
description: Return token key and log access
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Token'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters:
|
|
|
|
- name: identifier
|
|
|
|
in: path
|
|
|
|
required: true
|
|
|
|
type: string
|
2020-10-18 13:38:28 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
2020-05-14 11:45:46 +00:00
|
|
|
/core/users/:
|
|
|
|
get:
|
|
|
|
operationId: core_users_list
|
|
|
|
description: User Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
post:
|
|
|
|
operationId: core_users_create
|
|
|
|
description: User Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters: []
|
|
|
|
/core/users/{id}/:
|
|
|
|
get:
|
|
|
|
operationId: core_users_read
|
|
|
|
description: User Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
put:
|
|
|
|
operationId: core_users_update
|
|
|
|
description: User Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
patch:
|
|
|
|
operationId: core_users_partial_update
|
|
|
|
description: User Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/User'
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
delete:
|
|
|
|
operationId: core_users_delete
|
|
|
|
description: User Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- core
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
2020-07-03 22:16:16 +00:00
|
|
|
description: A unique integer value identifying this User.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
|
|
|
type: integer
|
2020-09-02 22:04:12 +00:00
|
|
|
/crypto/certificatekeypairs/:
|
|
|
|
get:
|
|
|
|
operationId: crypto_certificatekeypairs_list
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
post:
|
|
|
|
operationId: crypto_certificatekeypairs_create
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
parameters: []
|
|
|
|
/crypto/certificatekeypairs/{kp_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: crypto_certificatekeypairs_read
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
put:
|
|
|
|
operationId: crypto_certificatekeypairs_update
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
patch:
|
|
|
|
operationId: crypto_certificatekeypairs_partial_update
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CertificateKeyPair'
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
delete:
|
|
|
|
operationId: crypto_certificatekeypairs_delete
|
|
|
|
description: CertificateKeyPair Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- crypto
|
|
|
|
parameters:
|
|
|
|
- name: kp_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Certificate-Key Pair.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
/flows/bindings/:
|
|
|
|
get:
|
|
|
|
operationId: flows_bindings_list
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pbm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: policies
|
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: fsb_uuid
|
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
2020-07-03 21:34:44 +00:00
|
|
|
- name: target
|
2020-05-14 11:45:46 +00:00
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: stage
|
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
2020-10-20 13:06:36 +00:00
|
|
|
- name: evaluate_on_plan
|
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
2020-10-20 13:41:50 +00:00
|
|
|
- name: re_evaluate_policies
|
2020-05-14 11:45:46 +00:00
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: order
|
|
|
|
in: query
|
|
|
|
description: ''
|
|
|
|
required: false
|
|
|
|
type: number
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
post:
|
|
|
|
operationId: flows_bindings_create
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/flows/bindings/{fsb_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: flows_bindings_read
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
put:
|
|
|
|
operationId: flows_bindings_update
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
patch:
|
|
|
|
operationId: flows_bindings_partial_update
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/FlowStageBinding'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
delete:
|
|
|
|
operationId: flows_bindings_delete
|
|
|
|
description: FlowStageBinding Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: fsb_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Flow Stage Binding.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/flows/instances/:
|
|
|
|
get:
|
|
|
|
operationId: flows_instances_list
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
post:
|
|
|
|
operationId: flows_instances_create
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/flows/instances/{flow_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: flows_instances_read
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
put:
|
|
|
|
operationId: flows_instances_update
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
patch:
|
|
|
|
operationId: flows_instances_partial_update
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
delete:
|
|
|
|
operationId: flows_instances_delete
|
|
|
|
description: Flow Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: flow_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Flow.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-11-08 21:27:28 +00:00
|
|
|
/flows/instances/{flow_uuid}/cache_count/:
|
|
|
|
get:
|
|
|
|
operationId: flows_instances_cache_count
|
|
|
|
description: Get count of cached flows
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Flow'
|
|
|
|
tags:
|
|
|
|
- flows
|
|
|
|
parameters:
|
|
|
|
- name: flow_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Flow.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-09-02 22:04:12 +00:00
|
|
|
/outposts/outposts/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_outposts_list
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
post:
|
|
|
|
operationId: outposts_outposts_create
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters: []
|
|
|
|
/outposts/outposts/{uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_outposts_read
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
put:
|
|
|
|
operationId: outposts_outposts_update
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
patch:
|
|
|
|
operationId: outposts_outposts_partial_update
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Outpost'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
delete:
|
|
|
|
operationId: outposts_outposts_delete
|
|
|
|
description: Outpost Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters:
|
|
|
|
- name: uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this outpost.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/outposts/proxy/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_proxy_list
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
post:
|
|
|
|
operationId: outposts_proxy_create
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters: []
|
|
|
|
/outposts/proxy/{id}/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_proxy_read
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
put:
|
|
|
|
operationId: outposts_proxy_update
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
patch:
|
|
|
|
operationId: outposts_proxy_partial_update
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ProxyOutpostConfig'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
delete:
|
|
|
|
operationId: outposts_proxy_delete
|
|
|
|
description: ProxyProvider Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters:
|
|
|
|
- name: id
|
|
|
|
in: path
|
|
|
|
description: A unique integer value identifying this Proxy Provider.
|
|
|
|
required: true
|
|
|
|
type: integer
|
2020-11-04 10:04:18 +00:00
|
|
|
/outposts/service_connections/docker/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_service_connections_docker_list
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
post:
|
|
|
|
operationId: outposts_service_connections_docker_create
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters: []
|
|
|
|
/outposts/service_connections/docker/{uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_service_connections_docker_read
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
put:
|
|
|
|
operationId: outposts_service_connections_docker_update
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
patch:
|
|
|
|
operationId: outposts_service_connections_docker_partial_update
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DockerServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
delete:
|
|
|
|
operationId: outposts_service_connections_docker_delete
|
|
|
|
description: DockerServiceConnection Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters:
|
|
|
|
- name: uuid
|
|
|
|
in: path
|
2020-11-04 12:01:38 +00:00
|
|
|
description: A UUID string identifying this Docker Service-Connection.
|
2020-11-04 10:04:18 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/outposts/service_connections/kubernetes/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_service_connections_kubernetes_list
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
post:
|
|
|
|
operationId: outposts_service_connections_kubernetes_create
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters: []
|
|
|
|
/outposts/service_connections/kubernetes/{uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: outposts_service_connections_kubernetes_read
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
put:
|
|
|
|
operationId: outposts_service_connections_kubernetes_update
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
patch:
|
|
|
|
operationId: outposts_service_connections_kubernetes_partial_update
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/KubernetesServiceConnection'
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
delete:
|
|
|
|
operationId: outposts_service_connections_kubernetes_delete
|
|
|
|
description: KubernetesServiceConnection Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- outposts
|
|
|
|
parameters:
|
|
|
|
- name: uuid
|
|
|
|
in: path
|
2020-11-04 12:01:38 +00:00
|
|
|
description: A UUID string identifying this Kubernetes Service-Connection.
|
2020-11-04 10:04:18 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/policies/all/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_all_list
|
|
|
|
description: Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/Policy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/all/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_all_read
|
|
|
|
description: Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/Policy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-28 19:45:54 +00:00
|
|
|
description: A UUID string identifying this Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/policies/bindings/:
|
2020-05-14 11:51:22 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_list
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_create
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/bindings/{policy_binding_uuid}/:
|
2020-05-14 11:51:22 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_read
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_update
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_partial_update
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PolicyBinding'
|
2020-05-14 11:51:22 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_bindings_delete
|
|
|
|
description: PolicyBinding Viewset
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:51:22 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_binding_uuid
|
2020-05-14 11:51:22 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Policy Binding.
|
2020-05-14 11:51:22 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/policies/dummy/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_list
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_create
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/dummy/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_read
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_update
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_partial_update
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/DummyPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_dummy_delete
|
|
|
|
description: Dummy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Dummy Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/policies/expression/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_expression_list
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
post:
|
|
|
|
operationId: policies_expression_create
|
|
|
|
description: Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/expression/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_expression_read
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
put:
|
|
|
|
operationId: policies_expression_update
|
|
|
|
description: Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
patch:
|
|
|
|
operationId: policies_expression_partial_update
|
|
|
|
description: Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ExpressionPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
delete:
|
|
|
|
operationId: policies_expression_delete
|
|
|
|
description: Source Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Expression Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-07-01 19:18:05 +00:00
|
|
|
/policies/group_membership/:
|
|
|
|
get:
|
|
|
|
operationId: policies_group_membership_list
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
post:
|
|
|
|
operationId: policies_group_membership_create
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
parameters: []
|
|
|
|
/policies/group_membership/{policy_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: policies_group_membership_read
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
put:
|
|
|
|
operationId: policies_group_membership_update
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
patch:
|
|
|
|
operationId: policies_group_membership_partial_update
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/GroupMembershipPolicy'
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
delete:
|
|
|
|
operationId: policies_group_membership_delete
|
|
|
|
description: Group Membership Policy Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- policies
|
|
|
|
parameters:
|
|
|
|
- name: policy_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Group Membership Policy.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/policies/haveibeenpwned/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_list
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_create
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/haveibeenpwned/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_read
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_update
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_partial_update
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/HaveIBeenPwendPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_haveibeenpwned_delete
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Have I Been Pwned Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/policies/password/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_list
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_create
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/password/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_read
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_update
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_partial_update
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_password_delete
|
2020-07-01 19:18:05 +00:00
|
|
|
description: Password Policy Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Password Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-07-01 19:18:05 +00:00
|
|
|
/policies/password_expiry/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_list
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_create
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-07-01 19:18:05 +00:00
|
|
|
/policies/password_expiry/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_read
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_update
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_partial_update
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PasswordExpiryPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-07-01 19:18:05 +00:00
|
|
|
operationId: policies_password_expiry_delete
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Password Expiry Viewset
|
|
|
|
parameters: []
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Password Expiry Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/policies/reputation/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_list
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_create
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/policies/reputation/{policy_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_read
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_update
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_partial_update
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/ReputationPolicy'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: policies_reputation_delete
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policies
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: policy_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Reputation Policy.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/propertymappings/all/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_all_list
|
|
|
|
description: PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/propertymappings/all/{pm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_all_read
|
|
|
|
description: PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/PropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this Property Mapping.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/propertymappings/ldap/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_list
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_create
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/propertymappings/ldap/{pm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_read
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_update
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_partial_update
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_ldap_delete
|
|
|
|
description: LDAP PropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this LDAP Property Mapping.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/propertymappings/saml/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_list
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_create
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/propertymappings/saml/{pm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_read
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_update
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_partial_update
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLPropertyMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: propertymappings_saml_delete
|
|
|
|
description: SAMLPropertyMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- propertymappings
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A UUID string identifying this SAML Property Mapping.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-08-19 08:32:44 +00:00
|
|
|
/propertymappings/scope/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: propertymappings_scope_list
|
|
|
|
description: ScopeMapping Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ScopeMapping'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-08-19 08:32:44 +00:00
|
|
|
- propertymappings
|
|
|
|
post:
|
|
|
|
operationId: propertymappings_scope_create
|
|
|
|
description: ScopeMapping Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
tags:
|
|
|
|
- propertymappings
|
2020-05-16 14:02:42 +00:00
|
|
|
parameters: []
|
2020-08-19 08:32:44 +00:00
|
|
|
/propertymappings/scope/{pm_uuid}/:
|
2020-05-16 14:02:42 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: propertymappings_scope_read
|
|
|
|
description: ScopeMapping Viewset
|
2020-05-16 14:02:42 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ScopeMapping'
|
2020-05-16 14:02:42 +00:00
|
|
|
tags:
|
2020-08-19 08:32:44 +00:00
|
|
|
- propertymappings
|
|
|
|
put:
|
|
|
|
operationId: propertymappings_scope_update
|
|
|
|
description: ScopeMapping Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
tags:
|
|
|
|
- propertymappings
|
|
|
|
patch:
|
|
|
|
operationId: propertymappings_scope_partial_update
|
|
|
|
description: ScopeMapping Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ScopeMapping'
|
|
|
|
tags:
|
|
|
|
- propertymappings
|
|
|
|
delete:
|
|
|
|
operationId: propertymappings_scope_delete
|
|
|
|
description: ScopeMapping Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- propertymappings
|
2020-05-16 14:02:42 +00:00
|
|
|
parameters:
|
2020-08-19 08:32:44 +00:00
|
|
|
- name: pm_uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
in: path
|
2020-08-19 08:32:44 +00:00
|
|
|
description: A UUID string identifying this Scope Mapping.
|
2020-05-16 14:02:42 +00:00
|
|
|
required: true
|
2020-08-19 08:32:44 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/providers/all/:
|
2020-05-16 14:02:42 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_all_list
|
|
|
|
description: Provider Viewset
|
2020-05-16 14:02:42 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-08-19 08:32:44 +00:00
|
|
|
/providers/all/{id}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_all_read
|
|
|
|
description: Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-16 14:02:42 +00:00
|
|
|
- name: id
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-08-19 08:32:44 +00:00
|
|
|
description: A unique integer value identifying this provider.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: integer
|
2020-08-19 08:32:44 +00:00
|
|
|
/providers/oauth2/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_list
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_create
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-08-19 08:32:44 +00:00
|
|
|
/providers/oauth2/{id}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_read
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_update
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_partial_update
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuth2Provider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_oauth2_delete
|
2020-05-16 14:02:42 +00:00
|
|
|
description: OAuth2Provider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-16 14:02:42 +00:00
|
|
|
- name: id
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-08-19 08:32:44 +00:00
|
|
|
description: A unique integer value identifying this OAuth2/OpenID Provider.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: integer
|
2020-08-19 08:32:44 +00:00
|
|
|
/providers/proxy/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_list
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_create
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-08-19 08:32:44 +00:00
|
|
|
/providers/proxy/{id}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_read
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_update
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_partial_update
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-08-19 08:32:44 +00:00
|
|
|
$ref: '#/definitions/ProxyProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-08-19 08:32:44 +00:00
|
|
|
operationId: providers_proxy_delete
|
|
|
|
description: ProxyProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-16 14:02:42 +00:00
|
|
|
- name: id
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-08-19 08:32:44 +00:00
|
|
|
description: A unique integer value identifying this Proxy Provider.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: integer
|
|
|
|
/providers/saml/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_list
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_create
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-16 14:02:42 +00:00
|
|
|
/providers/saml/{id}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_read
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_update
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_partial_update
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/SAMLProvider'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: providers_saml_delete
|
|
|
|
description: SAMLProvider Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- providers
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-16 14:02:42 +00:00
|
|
|
- name: id
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-16 14:02:42 +00:00
|
|
|
description: A unique integer value identifying this SAML Provider.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-16 14:02:42 +00:00
|
|
|
type: integer
|
2020-09-02 22:04:12 +00:00
|
|
|
/root/messages/:
|
|
|
|
get:
|
|
|
|
operationId: root_messages_list
|
|
|
|
description: List current messages and pass into Serializer
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Serialize Django Message into DRF Object
|
2020-09-02 22:04:12 +00:00
|
|
|
schema:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-09-02 22:04:12 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Message'
|
|
|
|
tags:
|
|
|
|
- root
|
|
|
|
parameters: []
|
2020-05-16 14:02:42 +00:00
|
|
|
/sources/all/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_all_list
|
2020-05-14 11:45:46 +00:00
|
|
|
description: Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/Source'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/sources/all/{pbm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_all_read
|
2020-05-14 11:45:46 +00:00
|
|
|
description: Source Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/Source'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pbm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-20 07:17:06 +00:00
|
|
|
description: A UUID string identifying this source.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/sources/ldap/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_ldap_list
|
|
|
|
description: LDAP Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
|
|
|
post:
|
|
|
|
operationId: sources_ldap_create
|
|
|
|
description: LDAP Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/sources/ldap/{pbm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_ldap_read
|
|
|
|
description: LDAP Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/LDAPSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
|
|
|
put:
|
|
|
|
operationId: sources_ldap_update
|
|
|
|
description: LDAP Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
patch:
|
|
|
|
operationId: sources_ldap_partial_update
|
|
|
|
description: LDAP Source Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/LDAPSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
delete:
|
|
|
|
operationId: sources_ldap_delete
|
|
|
|
description: LDAP Source Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pbm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-20 07:17:06 +00:00
|
|
|
description: A UUID string identifying this LDAP Source.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
/sources/oauth/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_list
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
post:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_create
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/sources/oauth/{pbm_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_read
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
put:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_update
|
|
|
|
description: Source Viewset
|
2020-05-15 20:15:01 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-15 20:15:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-15 20:15:01 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-15 20:15:01 +00:00
|
|
|
patch:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_partial_update
|
|
|
|
description: Source Viewset
|
2020-05-15 20:15:01 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-15 20:15:01 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-05-16 14:02:42 +00:00
|
|
|
$ref: '#/definitions/OAuthSource'
|
2020-05-15 20:15:01 +00:00
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-15 20:15:01 +00:00
|
|
|
delete:
|
2020-05-16 14:02:42 +00:00
|
|
|
operationId: sources_oauth_delete
|
|
|
|
description: Source Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
2020-05-16 14:02:42 +00:00
|
|
|
- sources
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: pbm_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-20 07:17:06 +00:00
|
|
|
description: A UUID string identifying this Generic OAuth Source.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-06-24 20:28:40 +00:00
|
|
|
/sources/saml/:
|
|
|
|
get:
|
|
|
|
operationId: sources_saml_list
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
post:
|
|
|
|
operationId: sources_saml_create
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
parameters: []
|
|
|
|
/sources/saml/{pbm_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: sources_saml_read
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
put:
|
|
|
|
operationId: sources_saml_update
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
patch:
|
|
|
|
operationId: sources_saml_partial_update
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/SAMLSource'
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
delete:
|
|
|
|
operationId: sources_saml_delete
|
|
|
|
description: SAMLSource Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- sources
|
|
|
|
parameters:
|
|
|
|
- name: pbm_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this SAML Source.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
/stages/all/:
|
|
|
|
get:
|
|
|
|
operationId: stages_all_list
|
|
|
|
description: Stage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Stage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/all/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_all_read
|
|
|
|
description: Stage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Stage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/captcha/:
|
|
|
|
get:
|
|
|
|
operationId: stages_captcha_list
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_captcha_create
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/captcha/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_captcha_read
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_captcha_update
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_captcha_partial_update
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/CaptchaStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_captcha_delete
|
|
|
|
description: CaptchaStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Captcha Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-06-30 08:23:39 +00:00
|
|
|
/stages/consent/:
|
|
|
|
get:
|
|
|
|
operationId: stages_consent_list
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_consent_create
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
|
|
|
/stages/consent/{stage_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: stages_consent_read
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_consent_update
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_consent_partial_update
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/ConsentStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_consent_delete
|
|
|
|
description: ConsentStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
|
|
|
- name: stage_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Consent Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
/stages/dummy/:
|
|
|
|
get:
|
|
|
|
operationId: stages_dummy_list
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_dummy_create
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/dummy/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_dummy_read
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_dummy_update
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_dummy_partial_update
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/DummyStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_dummy_delete
|
|
|
|
description: DummyStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Dummy Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/email/:
|
|
|
|
get:
|
|
|
|
operationId: stages_email_list
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_email_create
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/email/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_email_read
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_email_update
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_email_partial_update
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/EmailStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_email_delete
|
|
|
|
description: EmailStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Email Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/identification/:
|
|
|
|
get:
|
|
|
|
operationId: stages_identification_list
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_identification_create
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/identification/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_identification_read
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_identification_update
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_identification_partial_update
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/IdentificationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_identification_delete
|
|
|
|
description: IdentificationStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Identification Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/invitation/:
|
|
|
|
get:
|
|
|
|
operationId: stages_invitation_list
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_invitation_create
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
|
|
|
/stages/invitation/invitations/:
|
|
|
|
get:
|
|
|
|
operationId: stages_invitation_invitations_list
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_invitation_invitations_create
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/invitation/invitations/{invite_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_invitation_invitations_read
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_invitation_invitations_update
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_invitation_invitations_partial_update
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Invitation'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_invitation_invitations_delete
|
|
|
|
description: Invitation Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: invite_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Invitation.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/invitation/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_invitation_read
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_invitation_update
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_invitation_partial_update
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/InvitationStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_invitation_delete
|
|
|
|
description: InvitationStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Invitation Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-06-30 11:49:23 +00:00
|
|
|
/stages/otp_static/:
|
|
|
|
get:
|
|
|
|
operationId: stages_otp_static_list
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_otp_static_create
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
|
|
|
/stages/otp_static/{stage_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: stages_otp_static_read
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_otp_static_update
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_otp_static_partial_update
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPStaticStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_otp_static_delete
|
|
|
|
description: OTPStaticStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
|
|
|
- name: stage_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this OTP Static Setup Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/otp_time/:
|
|
|
|
get:
|
|
|
|
operationId: stages_otp_time_list
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_otp_time_create
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
|
|
|
/stages/otp_time/{stage_uuid}/:
|
|
|
|
get:
|
|
|
|
operationId: stages_otp_time_read
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_otp_time_update
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_otp_time_partial_update
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/OTPTimeStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_otp_time_delete
|
|
|
|
description: OTPTimeStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
|
|
|
- name: stage_uuid
|
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this OTP Time (TOTP) Setup Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-06-28 08:30:35 +00:00
|
|
|
/stages/otp_validate/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_list
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_create
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-06-28 08:30:35 +00:00
|
|
|
/stages/otp_validate/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_read
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_update
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_partial_update
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
2020-06-28 08:30:35 +00:00
|
|
|
$ref: '#/definitions/OTPValidateStage'
|
2020-05-14 11:45:46 +00:00
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
2020-06-28 08:30:35 +00:00
|
|
|
operationId: stages_otp_validate_delete
|
|
|
|
description: OTPValidateStage Viewset
|
2020-05-14 11:45:46 +00:00
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-06-28 08:30:35 +00:00
|
|
|
description: A UUID string identifying this OTP Validation Stage.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/password/:
|
|
|
|
get:
|
|
|
|
operationId: stages_password_list
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_password_create
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/password/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_password_read
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_password_update
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_password_partial_update
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PasswordStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_password_delete
|
|
|
|
description: PasswordStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Password Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/prompt/prompts/:
|
|
|
|
get:
|
|
|
|
operationId: stages_prompt_prompts_list
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_prompt_prompts_create
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/prompt/prompts/{prompt_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_prompt_prompts_read
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_prompt_prompts_update
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_prompt_prompts_partial_update
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/Prompt'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_prompt_prompts_delete
|
|
|
|
description: Prompt Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: prompt_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this Prompt.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/prompt/stages/:
|
|
|
|
get:
|
|
|
|
operationId: stages_prompt_stages_list
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_prompt_stages_create
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-09-09 22:14:59 +00:00
|
|
|
/stages/prompt/stages/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_prompt_stages_read
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_prompt_stages_update
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_prompt_stages_partial_update
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/PromptStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_prompt_stages_delete
|
|
|
|
description: PromptStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-09-09 22:14:59 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
2020-05-20 07:17:06 +00:00
|
|
|
description: A UUID string identifying this Prompt Stage.
|
2020-05-14 11:45:46 +00:00
|
|
|
required: true
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
/stages/user_delete/:
|
|
|
|
get:
|
|
|
|
operationId: stages_user_delete_list
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_user_delete_create
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/user_delete/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_user_delete_read
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_user_delete_update
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_user_delete_partial_update
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserDeleteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_user_delete_delete
|
|
|
|
description: UserDeleteStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this User Delete Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/user_login/:
|
|
|
|
get:
|
|
|
|
operationId: stages_user_login_list
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_user_login_create
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/user_login/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_user_login_read
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_user_login_update
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_user_login_partial_update
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLoginStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_user_login_delete
|
|
|
|
description: UserLoginStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this User Login Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/user_logout/:
|
|
|
|
get:
|
|
|
|
operationId: stages_user_logout_list
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_user_logout_create
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/user_logout/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_user_logout_read
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_user_logout_update
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_user_logout_partial_update
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserLogoutStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_user_logout_delete
|
|
|
|
description: UserLogoutStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this User Logout Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
/stages/user_write/:
|
|
|
|
get:
|
|
|
|
operationId: stages_user_write_list
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: ordering
|
|
|
|
in: query
|
|
|
|
description: Which field to use when ordering the results.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: search
|
|
|
|
in: query
|
|
|
|
description: A search term.
|
|
|
|
required: false
|
|
|
|
type: string
|
|
|
|
- name: limit
|
|
|
|
in: query
|
|
|
|
description: Number of results to return per page.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
- name: offset
|
|
|
|
in: query
|
|
|
|
description: The initial index from which to return the results.
|
|
|
|
required: false
|
|
|
|
type: integer
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
required:
|
|
|
|
- count
|
|
|
|
- results
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
count:
|
|
|
|
type: integer
|
|
|
|
next:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
previous:
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
x-nullable: true
|
|
|
|
results:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
post:
|
|
|
|
operationId: stages_user_write_create
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
responses:
|
|
|
|
'201':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters: []
|
2020-05-20 07:17:06 +00:00
|
|
|
/stages/user_write/{stage_uuid}/:
|
2020-05-14 11:45:46 +00:00
|
|
|
get:
|
|
|
|
operationId: stages_user_write_read
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
put:
|
|
|
|
operationId: stages_user_write_update
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
patch:
|
|
|
|
operationId: stages_user_write_partial_update
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters:
|
|
|
|
- name: data
|
|
|
|
in: body
|
|
|
|
required: true
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
responses:
|
|
|
|
'200':
|
|
|
|
description: ''
|
|
|
|
schema:
|
|
|
|
$ref: '#/definitions/UserWriteStage'
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
delete:
|
|
|
|
operationId: stages_user_write_delete
|
|
|
|
description: UserWriteStage Viewset
|
|
|
|
parameters: []
|
|
|
|
responses:
|
|
|
|
'204':
|
|
|
|
description: ''
|
|
|
|
tags:
|
|
|
|
- stages
|
|
|
|
parameters:
|
2020-05-20 07:17:06 +00:00
|
|
|
- name: stage_uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
in: path
|
|
|
|
description: A UUID string identifying this User Write Stage.
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
definitions:
|
2020-10-05 20:09:57 +00:00
|
|
|
AdministrationMetrics:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Overview View
|
2020-10-05 20:09:57 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
logins_per_1h:
|
|
|
|
title: Logins per 1h
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
logins_failed_per_1h:
|
|
|
|
title: Logins failed per 1h
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
2020-10-03 22:28:58 +00:00
|
|
|
AdministrationOverview:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Overview View
|
2020-10-03 22:28:58 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
version:
|
|
|
|
title: Version
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
version_latest:
|
|
|
|
title: Version latest
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
worker_count:
|
|
|
|
title: Worker count
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
providers_without_application:
|
|
|
|
title: Providers without application
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
policies_without_binding:
|
|
|
|
title: Policies without binding
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
cached_policies:
|
|
|
|
title: Cached policies
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
cached_flows:
|
|
|
|
title: Cached flows
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
2020-10-16 11:35:52 +00:00
|
|
|
Task:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Serialize TaskInfo and TaskResult
|
2020-10-16 11:35:52 +00:00
|
|
|
required:
|
|
|
|
- task_name
|
|
|
|
- task_description
|
|
|
|
- task_finish_timestamp
|
|
|
|
- status
|
|
|
|
- messages
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
task_name:
|
|
|
|
title: Task name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
task_description:
|
|
|
|
title: Task description
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
task_finish_timestamp:
|
|
|
|
title: Task finish timestamp
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
status:
|
|
|
|
title: Status
|
|
|
|
type: integer
|
|
|
|
messages:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-10-16 11:35:52 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2020-05-14 11:45:46 +00:00
|
|
|
Event:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Event Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- action
|
|
|
|
- app
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Event uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
user:
|
|
|
|
title: User
|
2020-10-17 15:17:20 +00:00
|
|
|
type: object
|
2020-05-14 11:45:46 +00:00
|
|
|
action:
|
|
|
|
title: Action
|
|
|
|
type: string
|
|
|
|
enum:
|
2020-09-21 19:35:50 +00:00
|
|
|
- login
|
|
|
|
- login_failed
|
|
|
|
- logout
|
2020-10-05 21:51:29 +00:00
|
|
|
- user_write
|
2020-09-21 19:35:50 +00:00
|
|
|
- suspicious_request
|
|
|
|
- password_set
|
2020-10-18 12:34:22 +00:00
|
|
|
- token_view
|
2020-09-21 19:35:50 +00:00
|
|
|
- invitation_created
|
|
|
|
- invitation_used
|
2020-10-05 21:51:29 +00:00
|
|
|
- authorize_application
|
2020-09-21 19:35:50 +00:00
|
|
|
- source_linked
|
|
|
|
- impersonation_started
|
|
|
|
- impersonation_ended
|
|
|
|
- model_created
|
|
|
|
- model_updated
|
|
|
|
- model_deleted
|
|
|
|
- custom_
|
2020-05-14 11:45:46 +00:00
|
|
|
app:
|
|
|
|
title: App
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
context:
|
|
|
|
title: Context
|
2020-10-17 15:17:20 +00:00
|
|
|
type: object
|
2020-05-14 11:45:46 +00:00
|
|
|
client_ip:
|
|
|
|
title: Client ip
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
x-nullable: true
|
|
|
|
created:
|
|
|
|
title: Created
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
readOnly: true
|
|
|
|
Application:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Application Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- slug
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pbm uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
description: Application's display Name.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
description: Internal application name, used in URLs.
|
|
|
|
type: string
|
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
provider:
|
|
|
|
title: Provider
|
2020-05-14 11:45:46 +00:00
|
|
|
type: integer
|
|
|
|
x-nullable: true
|
|
|
|
meta_launch_url:
|
|
|
|
title: Meta launch url
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
maxLength: 200
|
|
|
|
meta_icon_url:
|
|
|
|
title: Meta icon url
|
|
|
|
type: string
|
|
|
|
meta_description:
|
|
|
|
title: Meta description
|
|
|
|
type: string
|
|
|
|
meta_publisher:
|
|
|
|
title: Meta publisher
|
|
|
|
type: string
|
|
|
|
policies:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 16:07:00 +00:00
|
|
|
readOnly: true
|
2020-05-14 11:45:46 +00:00
|
|
|
uniqueItems: true
|
|
|
|
Group:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Group Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- parent
|
2020-09-15 20:37:31 +00:00
|
|
|
- users
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Group uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
maxLength: 80
|
|
|
|
minLength: 1
|
2020-09-15 20:37:31 +00:00
|
|
|
is_superuser:
|
|
|
|
title: Is superuser
|
|
|
|
description: Users added to this group will be superusers.
|
|
|
|
type: boolean
|
2020-05-14 11:45:46 +00:00
|
|
|
parent:
|
|
|
|
title: Parent
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-09-15 20:37:31 +00:00
|
|
|
users:
|
2020-05-14 11:45:46 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
uniqueItems: true
|
|
|
|
attributes:
|
|
|
|
title: Attributes
|
2020-10-17 15:17:20 +00:00
|
|
|
type: object
|
2020-10-03 21:37:58 +00:00
|
|
|
Token:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Token Serializer
|
2020-10-03 21:37:58 +00:00
|
|
|
required:
|
2020-10-18 13:38:28 +00:00
|
|
|
- identifier
|
2020-10-03 21:37:58 +00:00
|
|
|
- user
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Token uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
identifier:
|
|
|
|
title: Identifier
|
|
|
|
type: string
|
2020-10-18 13:38:28 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 255
|
2020-10-03 21:37:58 +00:00
|
|
|
minLength: 1
|
|
|
|
intent:
|
|
|
|
title: Intent
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- verification
|
|
|
|
- api
|
|
|
|
- recovery
|
|
|
|
user:
|
|
|
|
title: User
|
|
|
|
type: integer
|
|
|
|
description:
|
|
|
|
title: Description
|
|
|
|
type: string
|
2020-05-14 11:45:46 +00:00
|
|
|
User:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: User Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- username
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
username:
|
|
|
|
title: Username
|
|
|
|
description: Required. 150 characters or fewer. Letters, digits and @/./+/-/_
|
|
|
|
only.
|
|
|
|
type: string
|
|
|
|
pattern: ^[\w.@+-]+$
|
|
|
|
maxLength: 150
|
|
|
|
minLength: 1
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
description: User's display name.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-15 20:37:31 +00:00
|
|
|
is_superuser:
|
|
|
|
title: Is superuser
|
|
|
|
type: boolean
|
|
|
|
readOnly: true
|
2020-05-14 11:45:46 +00:00
|
|
|
email:
|
|
|
|
title: Email address
|
|
|
|
type: string
|
|
|
|
format: email
|
|
|
|
maxLength: 254
|
2020-09-02 22:04:12 +00:00
|
|
|
CertificateKeyPair:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: CertificateKeyPair Serializer
|
2020-09-02 22:04:12 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- certificate_data
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Kp uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
certificate_data:
|
|
|
|
title: Certificate data
|
|
|
|
description: PEM-encoded Certificate data
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
key_data:
|
|
|
|
title: Key data
|
|
|
|
description: Optional Private Key. If this is set, you can use this keypair
|
|
|
|
for encryption.
|
|
|
|
type: string
|
2020-05-14 11:45:46 +00:00
|
|
|
FlowStageBinding:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: FlowStageBinding Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
2020-07-03 21:34:44 +00:00
|
|
|
- target
|
2020-05-14 11:45:46 +00:00
|
|
|
- stage
|
|
|
|
- order
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Fsb uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
2020-07-03 21:34:44 +00:00
|
|
|
target:
|
|
|
|
title: Target
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
stage:
|
|
|
|
title: Stage
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-10-20 13:06:36 +00:00
|
|
|
evaluate_on_plan:
|
|
|
|
title: Evaluate on plan
|
|
|
|
description: Evaluate policies during the Flow planning process. Disable this
|
|
|
|
for input-based policies.
|
|
|
|
type: boolean
|
2020-10-20 13:41:50 +00:00
|
|
|
re_evaluate_policies:
|
2020-10-20 16:42:26 +00:00
|
|
|
title: Re evaluate policies
|
2020-10-20 13:06:36 +00:00
|
|
|
description: Evaluate policies when the Stage is present to the user.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: boolean
|
|
|
|
order:
|
|
|
|
title: Order
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
policies:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
uniqueItems: true
|
|
|
|
Flow:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Flow Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- slug
|
2020-09-08 15:38:41 +00:00
|
|
|
- title
|
2020-05-14 11:45:46 +00:00
|
|
|
- designation
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Flow uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
type: string
|
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
|
|
|
minLength: 1
|
2020-08-28 13:23:03 +00:00
|
|
|
title:
|
|
|
|
title: Title
|
|
|
|
type: string
|
2020-09-08 15:38:41 +00:00
|
|
|
minLength: 1
|
2020-05-14 11:45:46 +00:00
|
|
|
designation:
|
|
|
|
title: Designation
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- authentication
|
2020-06-07 14:35:08 +00:00
|
|
|
- authorization
|
2020-05-14 11:45:46 +00:00
|
|
|
- invalidation
|
|
|
|
- enrollment
|
|
|
|
- unenrollment
|
|
|
|
- recovery
|
2020-09-25 14:51:32 +00:00
|
|
|
- stage_configuration
|
2020-05-14 11:45:46 +00:00
|
|
|
stages:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
uniqueItems: true
|
|
|
|
policies:
|
|
|
|
type: array
|
|
|
|
items:
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
uniqueItems: true
|
2020-09-02 22:04:12 +00:00
|
|
|
Outpost:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Outpost Serializer
|
2020-09-02 22:04:12 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- providers
|
|
|
|
- _config
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
providers:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: integer
|
|
|
|
uniqueItems: true
|
2020-11-04 10:04:18 +00:00
|
|
|
service_connection:
|
|
|
|
title: Service connection
|
|
|
|
description: Select Service-Connection passbook should use to manage this
|
|
|
|
outpost. Leave empty if passbook should not handle the deployment.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-09-02 22:04:12 +00:00
|
|
|
_config:
|
|
|
|
title: config
|
|
|
|
type: object
|
|
|
|
OpenIDConnectConfiguration:
|
|
|
|
title: Oidc configuration
|
2020-11-02 09:26:26 +00:00
|
|
|
description: rest_framework Serializer for OIDC Configuration
|
2020-09-02 22:04:12 +00:00
|
|
|
required:
|
|
|
|
- issuer
|
|
|
|
- authorization_endpoint
|
|
|
|
- token_endpoint
|
|
|
|
- userinfo_endpoint
|
|
|
|
- end_session_endpoint
|
|
|
|
- introspection_endpoint
|
|
|
|
- jwks_uri
|
|
|
|
- response_types_supported
|
|
|
|
- id_token_signing_alg_values_supported
|
|
|
|
- subject_types_supported
|
|
|
|
- token_endpoint_auth_methods_supported
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
issuer:
|
|
|
|
title: Issuer
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
authorization_endpoint:
|
|
|
|
title: Authorization endpoint
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
token_endpoint:
|
|
|
|
title: Token endpoint
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
userinfo_endpoint:
|
|
|
|
title: Userinfo endpoint
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
end_session_endpoint:
|
|
|
|
title: End session endpoint
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
introspection_endpoint:
|
|
|
|
title: Introspection endpoint
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
jwks_uri:
|
|
|
|
title: Jwks uri
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
response_types_supported:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-09-02 22:04:12 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
id_token_signing_alg_values_supported:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-09-02 22:04:12 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
subject_types_supported:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-09-02 22:04:12 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
token_endpoint_auth_methods_supported:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-09-02 22:04:12 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
ProxyOutpostConfig:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ProxyProvider Serializer
|
2020-09-02 22:04:12 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- internal_host
|
|
|
|
- external_host
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
internal_host:
|
|
|
|
title: Internal host
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
external_host:
|
|
|
|
title: External host
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-23 10:20:09 +00:00
|
|
|
internal_host_ssl_validation:
|
2020-09-30 09:15:17 +00:00
|
|
|
title: Internal host SSL Validation
|
2020-09-23 10:20:09 +00:00
|
|
|
description: Validate SSL Certificates of upstream servers
|
|
|
|
type: boolean
|
2020-09-02 22:04:12 +00:00
|
|
|
client_id:
|
|
|
|
title: Client ID
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
client_secret:
|
|
|
|
title: Client Secret
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
oidc_configuration:
|
|
|
|
$ref: '#/definitions/OpenIDConnectConfiguration'
|
|
|
|
cookie_secret:
|
|
|
|
title: Cookie secret
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
certificate:
|
|
|
|
title: Certificate
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-09-19 09:31:48 +00:00
|
|
|
skip_path_regex:
|
|
|
|
title: Skip path regex
|
2020-09-23 10:20:09 +00:00
|
|
|
description: Regular expressions for which authentication is not required.
|
2020-09-19 09:31:48 +00:00
|
|
|
Each new line is interpreted as a new Regular Expression.
|
|
|
|
type: string
|
2020-09-30 09:15:17 +00:00
|
|
|
basic_auth_enabled:
|
|
|
|
title: Set HTTP-Basic Authentication
|
|
|
|
description: Set a custom HTTP-Basic Authentication header based on values
|
|
|
|
from passbook.
|
|
|
|
type: boolean
|
|
|
|
basic_auth_password_attribute:
|
2020-10-07 17:22:30 +00:00
|
|
|
title: HTTP-Basic Password Key
|
|
|
|
description: User/Group Attribute used for the password part of the HTTP-Basic
|
|
|
|
Header.
|
2020-09-30 09:15:17 +00:00
|
|
|
type: string
|
|
|
|
basic_auth_user_attribute:
|
2020-10-07 17:22:30 +00:00
|
|
|
title: HTTP-Basic Username Key
|
|
|
|
description: User/Group Attribute used for the user part of the HTTP-Basic
|
|
|
|
Header. If not set, the user's Email address is used.
|
2020-09-30 09:15:17 +00:00
|
|
|
type: string
|
2020-11-04 10:04:18 +00:00
|
|
|
DockerServiceConnection:
|
|
|
|
description: DockerServiceConnection Serializer
|
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- url
|
|
|
|
- tls
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
local:
|
|
|
|
title: Local
|
|
|
|
description: If enabled, use the local connection. Required Docker socket/Kubernetes
|
|
|
|
Integration
|
|
|
|
type: boolean
|
|
|
|
url:
|
|
|
|
title: Url
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
tls:
|
|
|
|
title: Tls
|
|
|
|
type: boolean
|
|
|
|
KubernetesServiceConnection:
|
|
|
|
description: KubernetesServiceConnection Serializer
|
|
|
|
required:
|
|
|
|
- name
|
2020-11-04 12:01:38 +00:00
|
|
|
- kubeconfig
|
2020-11-04 10:04:18 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
local:
|
|
|
|
title: Local
|
|
|
|
description: If enabled, use the local connection. Required Docker socket/Kubernetes
|
|
|
|
Integration
|
|
|
|
type: boolean
|
2020-11-04 12:01:38 +00:00
|
|
|
kubeconfig:
|
|
|
|
title: Kubeconfig
|
|
|
|
description: Paste your kubeconfig here. passbook will automatically use the
|
|
|
|
currently selected context.
|
2020-11-04 10:04:18 +00:00
|
|
|
type: object
|
2020-05-16 14:02:42 +00:00
|
|
|
Policy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Policy Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
x-nullable: true
|
2020-05-14 11:45:46 +00:00
|
|
|
__type__:
|
|
|
|
title: 'type '
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
2020-05-16 14:02:42 +00:00
|
|
|
PolicyBinding:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: PolicyBinding Serializer
|
2020-05-14 11:51:22 +00:00
|
|
|
required:
|
2020-05-16 14:02:42 +00:00
|
|
|
- policy
|
|
|
|
- target
|
2020-05-28 19:45:54 +00:00
|
|
|
- order
|
2020-05-14 11:51:22 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
2020-09-07 09:25:59 +00:00
|
|
|
pk:
|
|
|
|
title: Policy binding uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
2020-05-16 14:02:42 +00:00
|
|
|
policy:
|
|
|
|
title: Policy
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: uuid
|
|
|
|
target:
|
|
|
|
title: Target
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:51:22 +00:00
|
|
|
enabled:
|
|
|
|
title: Enabled
|
|
|
|
type: boolean
|
2020-05-16 14:02:42 +00:00
|
|
|
order:
|
|
|
|
title: Order
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
2020-05-28 19:45:54 +00:00
|
|
|
timeout:
|
|
|
|
title: Timeout
|
|
|
|
description: Timeout after which Policy execution is terminated.
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
2020-05-16 14:02:42 +00:00
|
|
|
DummyPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Dummy Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
x-nullable: true
|
|
|
|
result:
|
|
|
|
title: Result
|
|
|
|
type: boolean
|
|
|
|
wait_min:
|
|
|
|
title: Wait min
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
wait_max:
|
|
|
|
title: Wait max
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
ExpressionPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Group Membership Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
required:
|
|
|
|
- expression
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
x-nullable: true
|
|
|
|
expression:
|
|
|
|
title: Expression
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-07-01 19:18:05 +00:00
|
|
|
GroupMembershipPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Group Membership Policy Serializer
|
2020-07-01 19:18:05 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Policy uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
x-nullable: true
|
|
|
|
group:
|
|
|
|
title: Group
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-05-16 14:02:42 +00:00
|
|
|
HaveIBeenPwendPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Have I Been Pwned Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
x-nullable: true
|
2020-07-10 18:57:15 +00:00
|
|
|
password_field:
|
|
|
|
title: Password field
|
|
|
|
description: Field key to check, field keys defined in Prompt stages are available.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
allowed_count:
|
|
|
|
title: Allowed count
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
PasswordPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Password Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
required:
|
|
|
|
- error_message
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
x-nullable: true
|
2020-07-10 18:43:35 +00:00
|
|
|
password_field:
|
|
|
|
title: Password field
|
|
|
|
description: Field key to check, field keys defined in Prompt stages are available.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
amount_uppercase:
|
|
|
|
title: Amount uppercase
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
amount_lowercase:
|
|
|
|
title: Amount lowercase
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
amount_symbols:
|
|
|
|
title: Amount symbols
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
length_min:
|
|
|
|
title: Length min
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
symbol_charset:
|
|
|
|
title: Symbol charset
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-15 20:15:01 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
error_message:
|
|
|
|
title: Error message
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-15 20:15:01 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
PasswordExpiryPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Password Expiry Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
required:
|
|
|
|
- days
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
x-nullable: true
|
|
|
|
days:
|
|
|
|
title: Days
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
deny_only:
|
|
|
|
title: Deny only
|
|
|
|
type: boolean
|
|
|
|
ReputationPolicy:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Reputation Policy Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Policy uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
2020-05-14 11:45:46 +00:00
|
|
|
x-nullable: true
|
2020-05-16 14:02:42 +00:00
|
|
|
check_ip:
|
|
|
|
title: Check ip
|
|
|
|
type: boolean
|
|
|
|
check_username:
|
|
|
|
title: Check username
|
|
|
|
type: boolean
|
|
|
|
threshold:
|
|
|
|
title: Threshold
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
PropertyMapping:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: PropertyMapping Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
2020-05-16 14:02:42 +00:00
|
|
|
- expression
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pm uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
expression:
|
|
|
|
title: Expression
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
__type__:
|
|
|
|
title: 'type '
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
readOnly: true
|
|
|
|
LDAPPropertyMapping:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: LDAP PropertyMapping Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- expression
|
|
|
|
- object_field
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pm uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
expression:
|
|
|
|
title: Expression
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
object_field:
|
|
|
|
title: Object field
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-15 20:15:01 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
SAMLPropertyMapping:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: SAMLPropertyMapping Serializer
|
2020-05-16 14:02:42 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- saml_name
|
|
|
|
- expression
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pm uuid
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
saml_name:
|
|
|
|
title: SAML Name
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
friendly_name:
|
|
|
|
title: Friendly name
|
|
|
|
type: string
|
|
|
|
x-nullable: true
|
|
|
|
expression:
|
|
|
|
title: Expression
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-08-19 08:32:44 +00:00
|
|
|
ScopeMapping:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ScopeMapping Serializer
|
2020-08-19 08:32:44 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- scope_name
|
|
|
|
- expression
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Pm uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
scope_name:
|
|
|
|
title: Scope name
|
|
|
|
description: Scope used by the client
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
description:
|
|
|
|
title: Description
|
|
|
|
description: Description shown to the user when consenting. If left empty,
|
|
|
|
the user won't be informed.
|
|
|
|
type: string
|
|
|
|
expression:
|
|
|
|
title: Expression
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
Provider:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Provider Serializer
|
2020-06-07 14:35:08 +00:00
|
|
|
required:
|
2020-10-03 18:01:10 +00:00
|
|
|
- name
|
2020-06-07 14:35:08 +00:00
|
|
|
- authorization_flow
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
2020-10-03 18:01:10 +00:00
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-06-07 14:35:08 +00:00
|
|
|
authorization_flow:
|
|
|
|
title: Authorization flow
|
|
|
|
description: Flow used when authorizing this provider.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
property_mappings:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
|
|
|
__type__:
|
|
|
|
title: 'type '
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
2020-08-19 08:32:44 +00:00
|
|
|
OAuth2Provider:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: OAuth2Provider Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
2020-08-19 08:32:44 +00:00
|
|
|
- name
|
|
|
|
- authorization_flow
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-08-19 08:32:44 +00:00
|
|
|
authorization_flow:
|
|
|
|
title: Authorization flow
|
|
|
|
description: Flow used when authorizing this provider.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
client_type:
|
|
|
|
title: Client Type
|
2020-08-19 08:32:44 +00:00
|
|
|
description: |-
|
2020-09-16 21:31:16 +00:00
|
|
|
Confidential clients are capable of maintaining the confidentiality
|
|
|
|
of their credentials. Public clients are incapable.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- confidential
|
|
|
|
- public
|
|
|
|
client_id:
|
|
|
|
title: Client ID
|
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
client_secret:
|
2020-08-19 08:32:44 +00:00
|
|
|
title: Client Secret
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
maxLength: 255
|
2020-10-01 18:01:28 +00:00
|
|
|
token_validity:
|
|
|
|
title: Token validity
|
|
|
|
description: 'Tokens not valid on or after current time + this value (Format:
|
|
|
|
hours=1;minutes=2;seconds=3).'
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-08-19 08:32:44 +00:00
|
|
|
response_type:
|
|
|
|
title: Response type
|
|
|
|
description: Response Type required by the client.
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- code
|
2020-09-19 16:33:22 +00:00
|
|
|
- code#adfs
|
2020-08-19 08:32:44 +00:00
|
|
|
- id_token
|
|
|
|
- id_token token
|
|
|
|
- code token
|
|
|
|
- code id_token
|
|
|
|
- code id_token token
|
2020-05-14 11:45:46 +00:00
|
|
|
jwt_alg:
|
|
|
|
title: JWT Algorithm
|
2020-08-19 08:32:44 +00:00
|
|
|
description: Algorithm used to sign the JWT Token
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- HS256
|
|
|
|
- RS256
|
2020-08-19 08:32:44 +00:00
|
|
|
rsa_key:
|
|
|
|
title: RSA Key
|
|
|
|
description: Key used to sign the tokens. Only required when JWT Algorithm
|
|
|
|
is set to RS256.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
redirect_uris:
|
2020-05-14 11:45:46 +00:00
|
|
|
title: Redirect URIs
|
|
|
|
description: Enter each URI on a new line.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-15 18:54:42 +00:00
|
|
|
sub_mode:
|
|
|
|
title: Sub mode
|
|
|
|
description: Configure what data should be used as unique User Identifier.
|
|
|
|
For most cases, the default should be fine.
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- hashed_user_id
|
|
|
|
- user_username
|
|
|
|
- user_email
|
|
|
|
- user_upn
|
2020-08-19 08:32:44 +00:00
|
|
|
property_mappings:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
|
|
|
ProxyProvider:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ProxyProvider Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- internal_host
|
|
|
|
- external_host
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
internal_host:
|
|
|
|
title: Internal host
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
external_host:
|
|
|
|
title: External host
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-23 10:20:09 +00:00
|
|
|
internal_host_ssl_validation:
|
2020-09-30 09:15:17 +00:00
|
|
|
title: Internal host SSL Validation
|
2020-09-23 10:20:09 +00:00
|
|
|
description: Validate SSL Certificates of upstream servers
|
|
|
|
type: boolean
|
2020-09-02 22:04:12 +00:00
|
|
|
certificate:
|
|
|
|
title: Certificate
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-09-19 09:31:48 +00:00
|
|
|
skip_path_regex:
|
|
|
|
title: Skip path regex
|
2020-09-23 10:20:09 +00:00
|
|
|
description: Regular expressions for which authentication is not required.
|
2020-09-19 09:31:48 +00:00
|
|
|
Each new line is interpreted as a new Regular Expression.
|
2020-09-30 09:15:17 +00:00
|
|
|
type: string
|
|
|
|
basic_auth_enabled:
|
|
|
|
title: Set HTTP-Basic Authentication
|
|
|
|
description: Set a custom HTTP-Basic Authentication header based on values
|
|
|
|
from passbook.
|
|
|
|
type: boolean
|
|
|
|
basic_auth_password_attribute:
|
2020-10-07 17:22:30 +00:00
|
|
|
title: HTTP-Basic Password Key
|
|
|
|
description: User/Group Attribute used for the password part of the HTTP-Basic
|
|
|
|
Header.
|
2020-09-30 09:15:17 +00:00
|
|
|
type: string
|
|
|
|
basic_auth_user_attribute:
|
2020-10-07 17:22:30 +00:00
|
|
|
title: HTTP-Basic Username Key
|
|
|
|
description: User/Group Attribute used for the user part of the HTTP-Basic
|
|
|
|
Header. If not set, the user's Email address is used.
|
2020-09-19 09:31:48 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
SAMLProvider:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: SAMLProvider Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- acs_url
|
|
|
|
- issuer
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: ID
|
|
|
|
type: integer
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
acs_url:
|
|
|
|
title: ACS URL
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
maxLength: 200
|
|
|
|
minLength: 1
|
|
|
|
audience:
|
|
|
|
title: Audience
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
issuer:
|
|
|
|
title: Issuer
|
|
|
|
description: Also known as EntityID
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
assertion_valid_not_before:
|
|
|
|
title: Assertion valid not before
|
|
|
|
description: 'Assertion valid not before current time + this value (Format:
|
|
|
|
hours=-1;minutes=-2;seconds=-3).'
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
assertion_valid_not_on_or_after:
|
|
|
|
title: Assertion valid not on or after
|
|
|
|
description: 'Assertion not valid on or after current time + this value (Format:
|
|
|
|
hours=1;minutes=2;seconds=3).'
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
session_valid_not_on_or_after:
|
|
|
|
title: Session valid not on or after
|
|
|
|
description: 'Session not valid on or after current time + this value (Format:
|
|
|
|
hours=1;minutes=2;seconds=3).'
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
minLength: 1
|
|
|
|
property_mappings:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
|
|
|
digest_algorithm:
|
|
|
|
title: Digest algorithm
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
enum:
|
|
|
|
- sha1
|
|
|
|
- sha256
|
|
|
|
signature_algorithm:
|
|
|
|
title: Signature algorithm
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
enum:
|
|
|
|
- rsa-sha1
|
|
|
|
- rsa-sha256
|
|
|
|
- ecdsa-sha256
|
|
|
|
- dsa-sha1
|
|
|
|
signing_kp:
|
|
|
|
title: Signing Keypair
|
|
|
|
description: Singing is enabled upon selection of a Key Pair.
|
2020-05-15 20:15:01 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
x-nullable: true
|
2020-05-16 14:02:42 +00:00
|
|
|
require_signing:
|
|
|
|
title: Require signing
|
|
|
|
description: Require Requests to be signed by an X509 Certificate. Must match
|
|
|
|
the Certificate selected in `Singing Keypair`.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: boolean
|
2020-11-08 21:27:28 +00:00
|
|
|
verification_kp:
|
|
|
|
title: Verification Keypair
|
|
|
|
description: If selected, incoming assertion's Signatures will be validated.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-09-02 22:04:12 +00:00
|
|
|
Message:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Serialize Django Message into DRF Object
|
2020-09-02 22:04:12 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
message:
|
|
|
|
title: Message
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
level:
|
|
|
|
title: Level
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
tags:
|
|
|
|
title: Tags
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
extra_tags:
|
|
|
|
title: Extra tags
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
level_tag:
|
|
|
|
title: Level tag
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
2020-05-16 14:02:42 +00:00
|
|
|
Source:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Source Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
2020-05-16 14:02:42 +00:00
|
|
|
- slug
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pbm uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Source's display Name.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
description: Internal source name, used in URLs.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
2020-05-14 11:45:46 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
enabled:
|
|
|
|
title: Enabled
|
|
|
|
type: boolean
|
2020-06-07 14:35:08 +00:00
|
|
|
authentication_flow:
|
|
|
|
title: Authentication flow
|
|
|
|
description: Flow to use when authenticating existing users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
enrollment_flow:
|
|
|
|
title: Enrollment flow
|
|
|
|
description: Flow to use when enrolling new users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-05-14 11:45:46 +00:00
|
|
|
__type__:
|
|
|
|
title: 'type '
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
2020-05-16 14:02:42 +00:00
|
|
|
LDAPSource:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: LDAP Source Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
2020-05-16 14:02:42 +00:00
|
|
|
- slug
|
|
|
|
- server_uri
|
|
|
|
- bind_cn
|
|
|
|
- bind_password
|
|
|
|
- base_dn
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pbm uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Source's display Name.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
description: Internal source name, used in URLs.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
2020-05-14 11:45:46 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
enabled:
|
|
|
|
title: Enabled
|
|
|
|
type: boolean
|
2020-06-07 14:35:08 +00:00
|
|
|
authentication_flow:
|
|
|
|
title: Authentication flow
|
|
|
|
description: Flow to use when authenticating existing users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
enrollment_flow:
|
|
|
|
title: Enrollment flow
|
|
|
|
description: Flow to use when enrolling new users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-05-16 14:02:42 +00:00
|
|
|
server_uri:
|
|
|
|
title: Server URI
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
bind_cn:
|
|
|
|
title: Bind CN
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
bind_password:
|
|
|
|
title: Bind password
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
start_tls:
|
|
|
|
title: Enable Start TLS
|
|
|
|
type: boolean
|
|
|
|
base_dn:
|
|
|
|
title: Base DN
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
additional_user_dn:
|
|
|
|
title: Addition User DN
|
|
|
|
description: Prepended to Base DN for User-queries.
|
|
|
|
type: string
|
|
|
|
additional_group_dn:
|
|
|
|
title: Addition Group DN
|
|
|
|
description: Prepended to Base DN for Group-queries.
|
|
|
|
type: string
|
|
|
|
user_object_filter:
|
|
|
|
title: User object filter
|
|
|
|
description: Consider Objects matching this filter to be Users.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
group_object_filter:
|
|
|
|
title: Group object filter
|
|
|
|
description: Consider Objects matching this filter to be Groups.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
user_group_membership_field:
|
|
|
|
title: User group membership field
|
|
|
|
description: Field which contains Groups of user.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
object_uniqueness_field:
|
|
|
|
title: Object uniqueness field
|
|
|
|
description: Field which contains a unique Identifier.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-23 20:01:38 +00:00
|
|
|
sync_users:
|
|
|
|
title: Sync users
|
|
|
|
type: boolean
|
2020-09-21 09:04:26 +00:00
|
|
|
sync_users_password:
|
|
|
|
title: Sync users password
|
|
|
|
description: When a user changes their password, sync it back to LDAP. This
|
|
|
|
can only be enabled on a single LDAP source.
|
|
|
|
type: boolean
|
2020-05-16 14:02:42 +00:00
|
|
|
sync_groups:
|
|
|
|
title: Sync groups
|
|
|
|
type: boolean
|
|
|
|
sync_parent_group:
|
|
|
|
title: Sync parent group
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
property_mappings:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
|
|
|
OAuthSource:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: OAuth Source Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
2020-05-16 14:02:42 +00:00
|
|
|
- slug
|
|
|
|
- provider_type
|
|
|
|
- authorization_url
|
|
|
|
- access_token_url
|
|
|
|
- profile_url
|
|
|
|
- consumer_key
|
|
|
|
- consumer_secret
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Pbm uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
2020-05-16 14:02:42 +00:00
|
|
|
description: Source's display Name.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
description: Internal source name, used in URLs.
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
2020-05-14 11:45:46 +00:00
|
|
|
minLength: 1
|
2020-05-16 14:02:42 +00:00
|
|
|
enabled:
|
|
|
|
title: Enabled
|
|
|
|
type: boolean
|
2020-06-07 14:35:08 +00:00
|
|
|
authentication_flow:
|
|
|
|
title: Authentication flow
|
|
|
|
description: Flow to use when authenticating existing users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
enrollment_flow:
|
|
|
|
title: Enrollment flow
|
|
|
|
description: Flow to use when enrolling new users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-05-16 14:02:42 +00:00
|
|
|
provider_type:
|
|
|
|
title: Provider type
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
2020-05-16 14:02:42 +00:00
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
request_token_url:
|
|
|
|
title: Request Token URL
|
2020-05-20 11:59:56 +00:00
|
|
|
description: URL used to request the initial token. This URL is only required
|
|
|
|
for OAuth 1.
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
authorization_url:
|
|
|
|
title: Authorization URL
|
2020-05-20 11:59:56 +00:00
|
|
|
description: URL the user is redirect to to conest the flow.
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
access_token_url:
|
|
|
|
title: Access Token URL
|
2020-05-20 11:59:56 +00:00
|
|
|
description: URL used by passbook to retrive tokens.
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
profile_url:
|
|
|
|
title: Profile URL
|
2020-05-20 11:59:56 +00:00
|
|
|
description: URL used by passbook to get user information.
|
2020-05-16 14:02:42 +00:00
|
|
|
type: string
|
|
|
|
maxLength: 255
|
|
|
|
minLength: 1
|
|
|
|
consumer_key:
|
|
|
|
title: Consumer key
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
consumer_secret:
|
|
|
|
title: Consumer secret
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-06-24 20:28:40 +00:00
|
|
|
SAMLSource:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: SAMLSource Serializer
|
2020-06-24 20:28:40 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- slug
|
|
|
|
- sso_url
|
|
|
|
- signing_kp
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
description: Source's display Name.
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
slug:
|
|
|
|
title: Slug
|
|
|
|
description: Internal source name, used in URLs.
|
|
|
|
type: string
|
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
|
|
|
minLength: 1
|
|
|
|
enabled:
|
|
|
|
title: Enabled
|
|
|
|
type: boolean
|
|
|
|
authentication_flow:
|
|
|
|
title: Authentication flow
|
|
|
|
description: Flow to use when authenticating existing users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
enrollment_flow:
|
|
|
|
title: Enrollment flow
|
|
|
|
description: Flow to use when enrolling new users.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
issuer:
|
|
|
|
title: Issuer
|
|
|
|
description: Also known as Entity ID. Defaults the Metadata URL.
|
|
|
|
type: string
|
|
|
|
sso_url:
|
|
|
|
title: SSO URL
|
|
|
|
description: URL that the initial Login request is sent to.
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
maxLength: 200
|
|
|
|
minLength: 1
|
2020-09-11 22:53:38 +00:00
|
|
|
slo_url:
|
|
|
|
title: SLO URL
|
|
|
|
description: Optional URL if your IDP supports Single-Logout.
|
|
|
|
type: string
|
|
|
|
format: uri
|
|
|
|
maxLength: 200
|
|
|
|
x-nullable: true
|
|
|
|
allow_idp_initiated:
|
|
|
|
title: Allow idp initiated
|
|
|
|
description: Allows authentication flows initiated by the IdP. This can be
|
|
|
|
a security risk, as no validation of the request ID is done.
|
|
|
|
type: boolean
|
2020-07-08 14:18:02 +00:00
|
|
|
name_id_policy:
|
|
|
|
title: Name id policy
|
|
|
|
description: NameID Policy sent to the IdP. Can be unset, in which case no
|
|
|
|
Policy is sent.
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
|
|
|
|
- urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
|
|
|
|
- urn:oasis:names:tc:SAML:2.0:nameid-format:X509SubjectName
|
|
|
|
- urn:oasis:names:tc:SAML:2.0:nameid-format:WindowsDomainQualifiedName
|
|
|
|
- urn:oasis:names:tc:SAML:2.0:nameid-format:transient
|
2020-06-24 20:28:40 +00:00
|
|
|
binding_type:
|
|
|
|
title: Binding type
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- REDIRECT
|
|
|
|
- POST
|
2020-07-08 12:27:32 +00:00
|
|
|
- POST_AUTO
|
2020-06-24 20:28:40 +00:00
|
|
|
temporary_user_delete_after:
|
|
|
|
title: Delete temporary users after
|
|
|
|
description: "Time offset when temporary users should be deleted. This only\
|
|
|
|
\ applies if your IDP uses the NameID Format 'transient', and the user doesn't\
|
|
|
|
\ log out manually. (Format: hours=1;minutes=2;seconds=3)."
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
signing_kp:
|
|
|
|
title: Singing Keypair
|
|
|
|
description: Certificate Key Pair of the IdP which Assertion's Signature is
|
|
|
|
validated against.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
Stage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Stage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
__type__:
|
|
|
|
title: 'type '
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
verbose_name:
|
|
|
|
title: Verbose name
|
|
|
|
type: string
|
|
|
|
readOnly: true
|
|
|
|
CaptchaStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: CaptchaStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- public_key
|
|
|
|
- private_key
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
public_key:
|
|
|
|
title: Public key
|
|
|
|
description: Public key, acquired from https://www.google.com/recaptcha/intro/v3.html
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
private_key:
|
|
|
|
title: Private key
|
|
|
|
description: Private key, acquired from https://www.google.com/recaptcha/intro/v3.html
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-06-30 08:23:39 +00:00
|
|
|
ConsentStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ConsentStage Serializer
|
2020-06-30 08:23:39 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Stage uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-07-20 11:19:58 +00:00
|
|
|
mode:
|
|
|
|
title: Mode
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- always_require
|
|
|
|
- permanent
|
|
|
|
- expiring
|
|
|
|
consent_expire_in:
|
|
|
|
title: Consent expires in
|
2020-07-20 16:47:44 +00:00
|
|
|
description: 'Offset after which consent expires. (Format: hours=1;minutes=2;seconds=3).'
|
2020-07-20 11:19:58 +00:00
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-14 11:45:46 +00:00
|
|
|
DummyStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: DummyStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
EmailStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: EmailStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
host:
|
|
|
|
title: Host
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
port:
|
|
|
|
title: Port
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
username:
|
|
|
|
title: Username
|
|
|
|
type: string
|
|
|
|
password:
|
|
|
|
title: Password
|
|
|
|
type: string
|
|
|
|
use_tls:
|
|
|
|
title: Use tls
|
|
|
|
type: boolean
|
|
|
|
use_ssl:
|
|
|
|
title: Use ssl
|
|
|
|
type: boolean
|
|
|
|
timeout:
|
|
|
|
title: Timeout
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
from_address:
|
|
|
|
title: From address
|
|
|
|
type: string
|
|
|
|
format: email
|
|
|
|
maxLength: 254
|
|
|
|
minLength: 1
|
2020-05-15 12:50:23 +00:00
|
|
|
token_expiry:
|
|
|
|
title: Token expiry
|
|
|
|
description: Time in minutes the token sent is valid.
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
subject:
|
|
|
|
title: Subject
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
template:
|
|
|
|
title: Template
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- stages/email/for_email/password_reset.html
|
|
|
|
- stages/email/for_email/account_confirmation.html
|
2020-05-14 11:45:46 +00:00
|
|
|
IdentificationStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: IdentificationStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- user_fields
|
|
|
|
- template
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
user_fields:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-05-14 11:45:46 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
title: User fields
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- email
|
|
|
|
- username
|
2020-09-30 21:55:23 +00:00
|
|
|
case_insensitive_matching:
|
|
|
|
title: Case insensitive matching
|
|
|
|
description: When enabled, user fields are matched regardless of their casing.
|
|
|
|
type: boolean
|
2020-05-14 11:45:46 +00:00
|
|
|
template:
|
|
|
|
title: Template
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- stages/identification/login.html
|
|
|
|
- stages/identification/recovery.html
|
2020-05-31 21:01:08 +00:00
|
|
|
enrollment_flow:
|
|
|
|
title: Enrollment flow
|
|
|
|
description: Optional enrollment flow, which is linked at the bottom of the
|
|
|
|
page.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
recovery_flow:
|
|
|
|
title: Recovery flow
|
2020-06-05 15:02:50 +00:00
|
|
|
description: Optional recovery flow, which is linked at the bottom of the
|
2020-05-31 21:01:08 +00:00
|
|
|
page.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-05-14 11:45:46 +00:00
|
|
|
InvitationStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: InvitationStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
continue_flow_without_invitation:
|
|
|
|
title: Continue flow without invitation
|
|
|
|
description: If this flag is set, this Stage will jump to the next Stage when
|
|
|
|
no Invitation is given. By default this Stage will cancel the Flow when
|
|
|
|
no invitation is given.
|
|
|
|
type: boolean
|
|
|
|
Invitation:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Invitation Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Invite uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
expires:
|
|
|
|
title: Expires
|
|
|
|
type: string
|
|
|
|
format: date-time
|
|
|
|
x-nullable: true
|
|
|
|
fixed_data:
|
|
|
|
title: Fixed data
|
2020-10-17 15:17:20 +00:00
|
|
|
type: object
|
2020-06-30 11:49:23 +00:00
|
|
|
OTPStaticStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: OTPStaticStage Serializer
|
2020-06-30 11:49:23 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Stage uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-25 17:39:49 +00:00
|
|
|
configure_flow:
|
|
|
|
title: Configure flow
|
|
|
|
description: Flow used by an authenticated user to configure this Stage. If
|
|
|
|
empty, user will not be able to configure this stage.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-06-30 11:49:23 +00:00
|
|
|
token_count:
|
|
|
|
title: Token count
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
|
|
|
OTPTimeStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: OTPTimeStage Serializer
|
2020-06-30 11:49:23 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- digits
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
|
|
|
title: Stage uuid
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-25 14:51:32 +00:00
|
|
|
configure_flow:
|
|
|
|
title: Configure flow
|
|
|
|
description: Flow used by an authenticated user to configure this Stage. If
|
|
|
|
empty, user will not be able to configure this stage.
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
2020-06-30 11:49:23 +00:00
|
|
|
digits:
|
|
|
|
title: Digits
|
|
|
|
type: integer
|
|
|
|
enum:
|
|
|
|
- 6
|
|
|
|
- 8
|
2020-06-28 08:30:35 +00:00
|
|
|
OTPValidateStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: OTPValidateStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
PasswordStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: PasswordStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- backends
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
backends:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: ''
|
2020-05-14 11:45:46 +00:00
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
title: Backends
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-09-25 14:51:32 +00:00
|
|
|
configure_flow:
|
|
|
|
title: Configure flow
|
|
|
|
description: Flow used by an authenticated user to configure this Stage. If
|
|
|
|
empty, user will not be able to configure this stage.
|
2020-09-19 00:20:38 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
x-nullable: true
|
|
|
|
failed_attempts_before_cancel:
|
|
|
|
title: Failed attempts before cancel
|
|
|
|
description: How many attempts a user has before the flow is canceled. To
|
|
|
|
lock the user out, use a reputation policy and a user_write stage.
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
2020-05-14 11:45:46 +00:00
|
|
|
Prompt:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: Prompt Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- field_key
|
|
|
|
- label
|
|
|
|
- type
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Prompt uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
field_key:
|
|
|
|
title: Field key
|
|
|
|
description: Name of the form field, also used to store the value
|
|
|
|
type: string
|
|
|
|
format: slug
|
|
|
|
pattern: ^[-a-zA-Z0-9_]+$
|
|
|
|
maxLength: 50
|
|
|
|
minLength: 1
|
|
|
|
label:
|
|
|
|
title: Label
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
type:
|
|
|
|
title: Type
|
|
|
|
type: string
|
|
|
|
enum:
|
|
|
|
- text
|
2020-06-15 17:05:18 +00:00
|
|
|
- username
|
2020-06-18 17:35:54 +00:00
|
|
|
- email
|
2020-05-14 11:45:46 +00:00
|
|
|
- password
|
|
|
|
- number
|
2020-05-28 21:22:15 +00:00
|
|
|
- checkbox
|
|
|
|
- data
|
|
|
|
- data-time
|
|
|
|
- separator
|
2020-05-14 11:45:46 +00:00
|
|
|
- hidden
|
2020-05-28 21:22:15 +00:00
|
|
|
- static
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
title: Required
|
|
|
|
type: boolean
|
|
|
|
placeholder:
|
|
|
|
title: Placeholder
|
|
|
|
type: string
|
2020-05-28 21:22:15 +00:00
|
|
|
order:
|
|
|
|
title: Order
|
|
|
|
type: integer
|
|
|
|
maximum: 2147483647
|
|
|
|
minimum: -2147483648
|
2020-05-14 11:45:46 +00:00
|
|
|
PromptStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: PromptStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
- fields
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-09-09 22:14:59 +00:00
|
|
|
title: Stage uuid
|
2020-05-20 07:17:06 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
fields:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
2020-09-09 22:14:59 +00:00
|
|
|
validation_policies:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
uniqueItems: true
|
2020-05-14 11:45:46 +00:00
|
|
|
UserDeleteStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: UserDeleteStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
UserLoginStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: UserLoginStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-07-04 13:20:45 +00:00
|
|
|
session_duration:
|
|
|
|
title: Session duration
|
2020-10-26 23:34:30 +00:00
|
|
|
description: 'Determines how long a session lasts. Default of 0 means that
|
2020-10-26 21:03:37 +00:00
|
|
|
the sessions lasts until the browser is closed. (Format: hours=-1;minutes=-2;seconds=-3)'
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
2020-05-14 11:45:46 +00:00
|
|
|
UserLogoutStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: UserLogoutStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|
|
|
|
UserWriteStage:
|
2020-11-02 09:26:26 +00:00
|
|
|
description: UserWriteStage Serializer
|
2020-05-14 11:45:46 +00:00
|
|
|
required:
|
|
|
|
- name
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
pk:
|
2020-05-20 07:17:06 +00:00
|
|
|
title: Stage uuid
|
2020-05-14 11:45:46 +00:00
|
|
|
type: string
|
|
|
|
format: uuid
|
|
|
|
readOnly: true
|
|
|
|
name:
|
|
|
|
title: Name
|
|
|
|
type: string
|
|
|
|
minLength: 1
|