Versions Compared

Key

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

...

POST /application/

...

Update application

Path parameters

Name

Type

Description

id

string

Required. Resource id.

Add application

JSON parameters

Name

Type

Description

redirect_uris

string

Application redirect uris.

nametype

string

Application name.

trusted

boolean

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

default_scopes

string

Application default scopes. Default: allOne of 'public', 'trusted'. Default: public

name

string

Required.

Resource fields

Name

Type

Description

redirect_uris

stringApplication redirect uris.

create_date

string

name

string

Application name.

secretcreated_by

string

access

string

Application secret.

id

string

Application id.

trusted

object

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

default_scopes

string

Application default scopesstring

Default: visible_only_when_creating_or_resetting

user_id

integer

type

string

id

string

Resource id.

GET /application/

...

Get application by id

Path parameters

Name

Type

Description

id

string

Required. Resource id.

...

applications list

Resource fields

Name

Type

Description

redirect_uris

stringApplication redirect uris.

create_date

string

name

string

Application name.

secret

created_by

string

access

string

Application secret. 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

Path parameters

Name

Type

Description

Default: visible_only_when_creating_or_resetting

user_id

integer

type

string

id

string

Required. Resource id.

...

GET /application/permission/

...

Name

Type

Description

application_id

array [string]Auth permission application id.

id

array [integer]Auth permission id.

auth_id

array [integer]

Auth permission auth id.

Resource fields

Name

Type

Description

application_id

string

Auth permission application id.

auth_id

integerAuth permission auth id.

id

integer

Auth permission Resource id.

...

GET /application/permission/{id}

Get application permission by id

Path parameters

Name

Type

Description

id

integer

Required. Resource id.

...

Name

Type

Description

application_id

string

Auth permission application id.

auth_id

integerAuth permission auth id.

id

integer

Auth permission Resource id.

DELETE /application/permission/{id}

Delete application permission by id

Path parameters

Name

Type

Description

id

integer

Required. Resource id.

...

PUT /application/

...

{id}

Update application_scopes by id

Path parameters

Name

Type

Description

id

integerstring

Required. Resource id.

JSON parameters

Name

Type

Description

descriptionredirect_uris

string

Application scopes description.

nametype

string

Application scopes name.

Resource fields

Name

Type

Description

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.

GET /application/scopes/{id}

Get application_scopes by id

Path parameters

Name

Type

Description

id

integer

Required. Resource id. One of 'public', 'trusted'.

name

string

Resource fields

Name

Type

Description

descriptionredirect_uris

string

Application scopes description.

namecreate_date

string

Application scopes name.

id

integer

Application scopes id.

DELETE /application/scopes/{id}

Delete application_scopes by id

Path parameters

Name

Type

Description

id

integer

Required. Resource id.

GET /application/token/

Get application token list

Query parameters

Name

Type

Description

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.

Resource fields

Name

Type

Description

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 parameters

Name

Type

Description

description

string

Required. Application scopes description.

name

string

Required. Application scopes name.

Resource fields

Name

Type

Description

description

string

Application scopes description.

name

string

Application scopes name.

id

integer

Application scopes id.

GET /application/scopes/

Get application_scopes list

...

string

created_by

string

access

string

secret

string

Default: visible_only_when_creating_or_resetting

user_id

integer

type

string

id

string

Resource id.

GET /application/{id}

Get application by id

Path parameters

Name

Type

Description

id

array [integer]

Application scopes id.

description

array [string]

Application scopes description.

name

array [string]

Application scopes nameRequired. Resource id.

Resource fields

Name

Type

Description

descriptionredirect_uris

string

Application scopes description.

namecreate_date

string

Application scopes name.

id

integer

Application scopes id.

GET /application/token/{id}

Get application token info by id

Path parameters

Name

Type

Description

id

integer

Required. Resource id.

Resource fields

Name

Type

Description

expires

string

application_id

string

Auth permission application id.

auth_id

integer

Auth permission auth id.

id

integerstring

created_by

string

access

string

secret

string

Default: visible_only_when_creating_or_resetting

user_id

integer

type

string

id

string

Resource id.

DELETE /application

...

/{id}

Delete application token info

Path parameters

Name

Type

Description

id

integerstring

Required. Resource id.

...

PUT /application/{id}/reset_secret/

Reset application secret

Path parameters

Name

Type

Description

id

string

Required. Resource id.

POST /application/

Add application

JSON parameters

Resource fields

Name

Type

Description

redirect_uris

string

Application redirect uris.

namecreate_date

string

Required. Application name.

trusted

boolean

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

default_scopes

string

Application default scopes. Default: all

Resource fields

Name

Type

Description

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret.

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

Resource fields

Name

Type

Description

redirect_uris

string

Application redirect uris.

name

string

Application name.

secret

string

Application secret. string

created_by

string

access

string

secret

string

Default: visible_only_when_creating_or_resetting

user_id

integer

type

string

id

string

Application id.

trusted

object

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

default_scopes

string

Application default scopesResource id.

...