Table of Contents | ||
---|---|---|
|
...
POST /application/
...
Update application
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Resource id. |
Параметры JSON
...
Имя
...
Тип
...
Описание
...
owner
...
integer
...
Application owner.
Add application
JSON parameters
Name | Type | Description |
---|---|---|
|
| Application redirect uris. |
|
| Application name. |
|
| If app is trusted, no user login required during app authorization. |
|
| Application default scopes. |
Поля ответа
Имя | Тип | Описание
|
| One of 'public', 'trusted'. Default: public |
---|---|---|---|---|
|
| Required. |
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Application redirect uris. | |
|
| ||
Application |
| Application secret. | |
|
| Application owner. | |
|
| Application id. | |
|
| If app is trusted, no user login required during app authorization. | |
|
| Application default scopes |
|
|
| ||
|
| Default: visible_only_when_creating_or_resetting | |
|
| ||
|
| ||
|
| Resource id. |
GET /application/
...
Get application by id
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Resource id. |
Поля ответа
...
Имя
...
Тип
...
Описание
Get applications list
Resource fields
Name | Type | Description | |
---|---|---|---|
|
| Application redirect uris. | |
|
| ||
Application |
|
| Application secret. |
|
| Application owner. | |
|
| Application id. | |
|
| If app is trusted, no user login required during app authorization. | |
|
| Application default scopes. |
DELETE /application/{id
}
Delete application
Параметры URL
Имя | Тип | Описание | |
---|---|---|---|
|
| Обязательный. |
|
|
| ||
|
| Default: visible_only_when_creating_or_resetting | |
|
| ||
|
| ||
|
| Resource id. |
...
GET /application/permission/
Get applications permissions list
...
Query parameters
ИмяName | ТипType | ОписаниеDescription | |
---|---|---|---|
|
| ||
Auth permission application |
| ||
Auth permission id. |
|
| Auth permission auth id. |
Поля ответа
...
Имя
...
Тип
...
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| Auth permission Resource id. |
...
GET /application/permission/{id
}
Get application permission by id
...
Path parameters
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| ОбязательныйRequired. Resource id. |
...
Resource fields
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| Auth permission application id. |
|
| |
|
| Auth permission Resource id. |
DELETE /application/permission/{id
}
Delete application permission by id
...
Path parameters
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| ОбязательныйRequired. Resource id. |
...
PUT /application
...
/{id
}
Update application_scopes by id
Параметры URL
...
Имя
...
Тип
...
Path parameters
Name | Type | Description |
---|---|---|
|
| ОбязательныйRequired. Resource id. |
...
JSON parameters
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| Application scopes description. |
Имя | Тип | Описание |
|
| Application scopes description. |
|
| Application scopes name. |
Поля ответа
One of 'public', 'trusted'. | ||
|
| Application scopes name. |
|
| Application scopes id. |
GET /application/scopes/{id
}
Get application_scopes by id
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Resource id. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Application scopes description. |
|
| Application scopes name. |
|
| Application scopes id. |
DELETE /application/scopes/{id
}
Delete application_scopes by id
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Resource id. |
GET /application/token/
Get application token list
Параметры запроса
Имя | Тип | Описание |
---|---|---|
|
| Auth token scopes. |
|
| Auth token application id. |
|
| Auth token access token. |
|
| Auth token expires. |
|
| Auth token auth id. |
|
| Auth token token type. |
|
| Auth token id. |
|
| Auth token refresh token. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| |
|
| Auth permission application id. |
|
| Auth permission auth id. |
|
| Resource id. |
POST /application/scopes/
Add new application_scopes
Параметры JSON
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Application scopes description. |
|
| Обязательный. Application scopes name. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Application scopes description. |
|
| Application scopes name. |
|
| Application scopes id. |
GET /application/scopes/
Get application_scopes list
Параметры запроса
Имя | Тип | Описание |
---|---|---|
|
| Application scopes id. |
|
| Application scopes description. |
|
| Application scopes name. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Application scopes description. |
|
| Application scopes name. |
|
| Application scopes id. |
GET /application/token/{id
}
Get application token info by id
Параметры URL
Имя | Тип | Описание |
---|---|---|
|
| Обязательный. Resource id. |
Поля ответа
...
Имя
...
Тип
...
Описание
...
expires
...
string
...
application_id
...
string
...
Auth permission application id.
...
auth_id
...
integer
...
Auth permission auth id.
...
id
...
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
GET /application/{id
}
Get application by id
Path parameters
Name | Type | Description |
---|---|---|
|
| Required. Resource id. |
Resource fields
Name | Type | Description |
---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
DELETE /application
...
/{id
}
Delete application token info
...
Path parameters
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| ОбязательныйRequired. Resource id. |
...
PUT /application/{id}/reset_secret/
Reset application secret
...
Path parameters
ИмяName | ТипType | ОписаниеDescription |
---|---|---|
|
| ОбязательныйRequired. Resource id. |
POST /application/
Add application
Параметры JSON
...
Имя
...
Тип
...
Описание
...
owner
...
integer
...
Application owner.
Resource fields
Name | Type | Description |
---|---|---|
|
| Application redirect uris. |
|
| |
Обязательный. Application |
| If app is trusted, no user login required during app authorization. |
|
| Application default scopes. |
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Application redirect uris. |
|
| Application name. |
|
| Application secret. |
|
| Application owner. |
|
| Application id. |
|
| If app is trusted, no user login required during app authorization. |
|
| Application default scopes. |
GET /application/
Get applications list
Поля ответа
Имя | Тип | Описание |
---|---|---|
|
| Application redirect uris. |
|
| Application name. |
|
| Application secret. |
|
| Application owner. |
|
| Application id. |
|
| If app is trusted, no user login required during app authorization. |
|
| Application default scopes |
|
| |
|
| |
|
| Default: visible_only_when_creating_or_resetting |
|
| |
|
| |
|
| Resource id. |
...