/webconsole - access-right

Rest API Documentation

REST API Documentation for Group access-right, application /webconsole Version: 4.2.1.2

Endpoints (DRAFT)

GET /rest/api/accessrights/new

Access Right API Doc, New access right

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/AccessRight

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/AccessRight

POST /rest/api/accessrights/save

Access Right API Doc, Save access right

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse

GET /rest/api/accessrights/search

access-rights-controller

Query Params:

  • size [{'type': 'integer', 'format': 'int32'}]:
  • from [{'type': 'integer', 'format': 'int32'}]:

Responses:

  • Status Code: 200 OK.

    Content-type: /,

    Schema: /components/schemas/BeanResponse

DELETE /rest/api/accessrights/(id)

Access Right API Doc, Delete access right by id

Path Params:

  • id [{'type': 'string'}]:

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/BasicAjaxResponse

GET /rest/api/accessrights/(id)

Access Right API Doc, Get access right by id

Path Params:

  • id [{'type': 'string'}]:

Responses:

  • Status Code: 200 Success.

    Content-type: application/json,

    Schema: /components/schemas/AccessRight

  • Status Code: 404 Not Found.

  • Status Code: 500 Failure.

    Content-type: application/json,

    Schema: /components/schemas/AccessRight## Definitions