Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 105 additions & 0 deletions openapi-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23585,13 +23585,20 @@ components:
expire_timestamp:
format: date-time
type: string
id:
readOnly: true
type: integer
is_disabled:
readOnly: true
type: boolean
is_old_token:
readOnly: true
type: boolean
title:
maxLength: 255
type: string
token:
nullable: true
readOnly: true
type: string
type: object
Expand Down Expand Up @@ -27908,21 +27915,47 @@ components:
expire_timestamp:
format: date-time
type: string
id:
readOnly: true
type: integer
is_disabled:
readOnly: true
type: boolean
is_old_token:
readOnly: true
type: boolean
title:
maxLength: 255
type: string
token:
nullable: true
readOnly: true
type: string
required:
- created_at
- id
- is_disabled
- is_old_token
- title
- token
type: object
UserExternalTokenVerify:
description: Input serializer for the external-token verify endpoint.
properties:
jti:
format: uuid
type: string
required:
- jti
type: object
UserExternalTokenVerifyResponse:
description: Output serializer for the external-token verify endpoint.
properties:
active:
type: boolean
required:
- active
type: object
UserMe:
description: Custom ModelSerializer with translaion logic (Also works for normal
models)
Expand Down Expand Up @@ -37036,6 +37069,46 @@ paths:
- cookieAuth: []
tags:
- api
/api/v2/external-token/verify/:
post:
operationId: api_v2_external_token_verify_create
parameters:
- in: query
name: format
schema:
enum:
- csv
- json
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/UserExternalTokenVerify'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/UserExternalTokenVerify'
multipart/form-data:
schema:
$ref: '#/components/schemas/UserExternalTokenVerify'
required: true
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/UserExternalTokenVerifyResponse'
text/csv:
schema:
$ref: '#/components/schemas/UserExternalTokenVerifyResponse'
description: ''
security:
- tokenAuth: []
- basicAuth: []
- cookieAuth: []
- {}
tags:
- api
/api/v2/external-token/{id}/:
delete:
operationId: api_v2_external_token_destroy
Expand Down Expand Up @@ -37177,6 +37250,38 @@ paths:
- cookieAuth: []
tags:
- api
/api/v2/external-token/{id}/revoke/:
post:
operationId: api_v2_external_token_revoke_create
parameters:
- in: path
name: id
required: true
schema:
type: string
- in: query
name: format
schema:
enum:
- csv
- json
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/UserExternalToken'
text/csv:
schema:
$ref: '#/components/schemas/UserExternalToken'
description: ''
security:
- tokenAuth: []
- basicAuth: []
- cookieAuth: []
tags:
- api
/api/v2/external_partner/:
get:
operationId: api_v2_external_partner_list
Expand Down