External application
...
Table of Contents | ||
---|---|---|
|
POST /application/
...
Delete Add application
...
JSON parameters
...
Name | Type | Description |
---|---|---|
id |
| |
|
| Required. |
GET /application/{id
}
Get application by id
One of 'public', 'trusted'. Default: public | ||
|
| Required. |
Resource fields
Name | Type | Description |
---|---|---|
id |
| |
|
| |
|
| |
|
| |
|
| Required. |
PUT /application/{id
}
Update application
Path parameters
Name | Type | Description
|
| Default: visible_only_when_creating_or_resetting |
---|---|---|---|---|
|
| |||
|
| |||
|
| Required. |
...
Resource id. |
GET /application/
Get applications list
Resource fields
Name | Type | Description | owner | integer | Application owner|
---|---|---|---|---|---|
|
| ||||
|
| ||||
|
| Application name | |||
trusted | boolean | If app is trusted, no user login required during app authorization | |||
default_scopes | string | Application default scopes |
PUT /application/{id}/reset_secret/
Reset application secret
Path parameters
Name | Type | Description
|
|
---|---|---|---|
|
| ||
|
| Default: visible_only_when_creating_or_resetting | |
|
| ||
|
| ||
|
| RequiredResource id. |
...
GET /application/permission/
Get applications permissions list
POST /application/
Add application
...
Query parameters
Name | Type | Description |
---|---|---|
owner | integer | Application owner |
redirect_uris | string | Application redirect uris |
name | string | Required. Application name |
trusted | boolean | If app is trusted, no user login required during app authorization |
default_scopes | string | Application default scopes |
...
|
|
|
|
|
|
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
...
GET /application/permission/{id
}
Delete Get application _scopes permission by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
...
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Resource id. |
DELETE /application/
...
permission/{id
}
Get Delete application _scopes permission by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
...
PUT /application
...
/{id
}
Update application_scopes by id
Path parameters
Name | Type | Description |
---|---|---|
| integer | Required. Resource id. |
JSON parameters
...
Name | Type | Description |
---|---|---|
description |
| |
Application scopes description | ||
name | string | Application scopes name |
GET /application/scopes/
Get application_scopes list
| One of 'public', 'trusted'. |
|
|
Resource fields
...
Name | Type | Description |
---|---|---|
description |
| |
|
| |
|
| Application scopes name |
id | integer | Application scopes id |
POST /application/scopes/
Add new application_scopes
JSON parameters
Name | Type | Description |
---|---|---|
description | string | Required. Application scopes description |
name | string | Required. Application scopes name |
DELETE /application/permission/{id
}
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /application/{id
}
Get application by id
Path parameters
Name | Type | Description |
---|---|---|
| integer | Required. |
GET /application/permission/{id
}
Get application permission by id
Path parameters
Resource id. |
Resource fields
Name | Type | Description | |
---|---|---|---|
| id | integer | Required. |
GET /application/permission/
Get applications permissions list
Query parameters
Name | Type | Description |
---|---|---|
application_id | string | Auth permission application id |
id | integer | Auth permission id |
auth_id | integer | Auth permission auth id |
...
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
DELETE /application/{id
}
Delete application token info
Path parameters
Name | Type | Description |
---|---|---|
| integer | Required. Resource id. |
...
PUT /application/
...
{id}/reset_secret/
Get application token info by idReset application secret
Path parameters
Name | Type | Description |
---|---|---|
| integer | Required. |
GET /application/token/
Get application token list
...
. Resource id. |
Resource fields
Name | Type | Description | |||
---|---|---|---|---|---|
scopes |
| Auth token scopes | |||
application_id |
| Auth token application id | |||
access_token |
| ||||
|
| ||||
Auth token |
| ||||
expires |
| Auth token expires | Default: visible_only_when_creating_or_resetting | ||
|
| ||||
token_ |
| ||||
auth_ | integer | Auth token auth id | refresh_token | string | Auth token refresh tokenResource id. |
...