Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

PUT /application/{id}

Update application

Параметры URL

Имя

Тип

Описание

id

string

Обязательный. Resource id.

Параметры JSON

Имя

Тип

Описание

owner

integer

Application owner.

redirect_uris

string

Application redirect uris.

name

string

Application name.

trusted

boolean

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.

Поля ответа

Имя

Тип

Описание

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret.

owner

integer

Application owner.

id

string

Application id.

trusted

object

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.

GET /application/{id}

Get application by id

Параметры URL

Имя

Тип

Описание

id

string

Обязательный. Resource id.

Поля ответа

Имя

Тип

Описание

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret.

owner

integer

Application owner.

id

string

Application id.

trusted

object

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.

DELETE /application/{id}

Delete application

Параметры URL

Имя

Тип

Описание

id

string

Обязательный. Resource id.


GET /application/permission/

Get applications permissions list

Параметры запроса

Имя

Тип

Описание

application_id

array [string]

Auth permission application id.

id

array [integer]

Auth permission id.

auth_id

array [integer]

Auth permission auth id.

Поля ответа

Имя

Тип

Описание

application_id

string

Auth permission application id.

auth_id

integer

Auth permission auth id.

id

integer

Auth permission id.


GET /application/permission/{id}

Get application permission by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.

Поля ответа

Имя

Тип

Описание

application_id

string

Auth permission application id.

auth_id

integer

Auth permission auth id.

id

integer

Auth permission id.

DELETE /application/permission/{id}

Delete application permission by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.


PUT /application/scopes/{id}

Update application_scopes by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.

Параметры JSON

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

Поля ответа

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.

GET /application/scopes/{id}

Get application_scopes by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.

Поля ответа

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.

DELETE /application/scopes/{id}

Delete application_scopes by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.


GET /application/token/

Get application token list

Параметры запроса

Имя

Тип

Описание

scopes

array [string]

Auth token scopes.

application_id

array [string]

Auth token application id.

access_token

array [string]

Auth token access token.

expires

array [string]

Auth token expires.

auth_id

array [integer]

Auth token auth id.

token_type

array [string]

Auth token token type.

id

array [integer]

Auth token id.

refresh_token

array [string]

Auth token refresh token.

Поля ответа

Имя

Тип

Описание

expires

string

application_id

string

Auth permission application id.

auth_id

integer

Auth permission auth id.

id

integer

Resource id.


POST /application/scopes/

Add new application_scopes

Параметры JSON

Имя

Тип

Описание

description

string

Обязательный. Application scopes description.

name

string

Обязательный. Application scopes name.

Поля ответа

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.

GET /application/scopes/

Get application_scopes list

Параметры запроса

Имя

Тип

Описание

id

array [integer]

Application scopes id.

description

array [string]

Application scopes description.

name

array [string]

Application scopes name.

Поля ответа

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.


GET /application/token/{id}

Get application token info by id

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.

Поля ответа

Имя

Тип

Описание

expires

string

application_id

string

Auth permission application id.

auth_id

integer

Auth permission auth id.

id

integer

Resource id.

DELETE /application/token/{id}

Delete application token info

Параметры URL

Имя

Тип

Описание

id

integer

Обязательный. Resource id.


PUT /application/{id}/reset_secret/

Reset application secret

Параметры URL

Имя

Тип

Описание

id

string

Обязательный. Resource id.


POST /application/

Add application

Параметры JSON

Имя

Тип

Описание

owner

integer

Application owner.

redirect_uris

string

Application redirect uris.

name

string

Обязательный. Application name.

trusted

boolean

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.

Поля ответа

Имя

Тип

Описание

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret.

owner

integer

Application owner.

id

string

Application id.

trusted

object

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.

GET /application/

Get applications list

Поля ответа

Имя

Тип

Описание

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret.

owner

integer

Application owner.

id

string

Application id.

trusted

object

If app is trusted, no user login required during app authorization.

default_scopes

string

Application default scopes.


  • No labels