Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

DELETE /application/{id}

Delete application

Параметры URL

Имя

Тип

Описание

id

string

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

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

string

default_scopes

string

Application default scopes

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

stringobject

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

default_scopes

string

Application default scopes.

...

GET /application/{id}

...

Reset Get application secretby id

Параметры URL

Имя

Тип

Описание

id

string

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

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

stringobject

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

default_scopes

string

Application default scopes.

...

DELETE /application/{id}

Add Delete application

Параметры

...

URL

Имя

Тип

Описание

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 scopesid

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.

Поля ответа

Имя

Тип

Описание

redirectapplication_urisid

string

Application redirect uris

name

string

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

secret

string

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

owner

integer

Application owner

id

string

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

trusted

string

default_scopes

string

Application default scopesAuth 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 _scopes permission by id

Параметры URL

Имя

Тип

Описание

id

integer

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

...

PUT /application/scopes/{id}

Get 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}

Update Get application_scopes by id

Параметры URL

Имя

Тип

Описание

id

integer

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

...

Поля ответа

Имя

Тип

Описание

description

string

Application scopes description.

name

string

Application scopes name.

...

id

Имя

Тип

Описание

description

string

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

name

string

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

Application scopes id.

DELETE /application/scopes/{id}

Delete application_scopes by id

Параметры URL

Имя

Тип

Описание

id

integer

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

...

GET /application/

...

token/

Get application _scopes token list

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

Имя

Тип

Описание

descriptionscopes

array [string]

Application scopes description

name

string

Application scopes name

id

integer

Application scopes id

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.

Поля ответа

description

Имя

Тип

Описание

expires

string

application_id

string

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

name

string

Обязательный. Application scopes nameAuth permission application id.

auth_id

integer

Auth permission auth id.

id

integer

ОбязательныйResource id. Application scopes 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/

...

Delete application permission by idGet application_scopes list

Параметры

...

запроса

Имя

Тип

Описание

id

array [integer]

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

GET /application/permission/{id}

Get application permission by id

Параметры URL

Имя

Тип

Описание

id

integer

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

description

array [string]

Application scopes description.

name

array [string]

Application scopes name.

Поля ответа

Имя

Тип

Описание

application_iddescription

string

Обязательный. Auth permission application id

auth_id

integer

Обязательный. Auth permission auth idApplication scopes description.

name

string

Application scopes name.

id

integer

Обязательный. Auth permission idApplication scopes id.

...

GET /application/

...

token/{id}

Get applications permissions listapplication token info by id

Параметры

...

URL

Имя

Тип

Описание

application_id

string

Auth permission application id

id

integer

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

auth_id

integer

Auth permission auth id

.

Поля ответа

Имя

Тип

Описание

expires

string

application_id

string

Обязательный. Auth permission application id.

auth_id

integer

Обязательный. Auth permission auth id.

id

integer

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

DELETE /application/token/{id}

...

Имя

Тип

Описание

id

integer

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

...

PUT /application/

...

{id}/reset_secret/

Get application token info by idReset application secret

Параметры URL

Имя

Тип

Описание

id

integerstring

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

...

.

...

POST /application/

Add application

Параметры JSON

Имя

Тип

Описание

owner

expiresintegerstring

Application owner.

applicationredirect_iduris

stringauth_id

Application redirect uris.

name

string

id

string

Resource id

GET /application/token/

Get application token list

...

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

trusted

boolean

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

default_scopes

string

Application default scopes.

Поля ответа

Имя

Тип

Описание

scopesredirect_uris

string

Auth token scopes

application_idApplication redirect uris.

name

string

Auth token application id

access_tokenApplication name.

secret

string

Auth token access token

expires

string

Auth token expiresApplication secret.

owner

integer

Application owner.

id

integerstring

Auth token Application id. token_type

trusted

string

Auth token token type

auth_id

integer

Auth token auth id

refresh_token

string

Auth token refresh token

object

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

default_scopes

string

Application default scopes.

GET /application/

Get applications list

Поля ответа

expires

Имя

Тип

Описание

redirect_uris

string

Application redirect uris.

name

stringapplication_id

Application name.

secret

string

auth_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

stringResource id

Application default scopes.

...