/webconsole - resource-type
Rest API Documentation
REST API Documentation for Group resource-type, application /webconsole Version: 4.2.1.3
Endpoints (DRAFT)
POST /rest/api/resourceType/delete
Resource type management API doc
Query Params:
- id [{'type': 'string'}]:
Responses:
Status Code: 200 OK.
Content-type: /,
Schema: /components/schemas/BasicAjaxResponse
GET /rest/api/resourceType/get/(resourceTypeId)
Resource type management API doc, Get Resource type by Id
Path Params:
- resourceTypeId [{'type': 'string'}]:
Responses:
Status Code: 200 Success.
Content-type: application/json,
Schema: /components/schemas/ResourceType
Status Code: 500 Failure.
Content-type: application/json,
Schema: /components/schemas/ResourceType
GET /rest/api/resourceType/getAll
Resource type management API doc, Get all resource types
Responses:
Status Code: 200 Success.
Content-type: application/json
Status Code: 500 Failure.
Content-type: application/json
POST /rest/api/resourceType/save
Resource type management API doc, Save resource type
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
DELETE /rest/api/resourceType/(id)
Resource type management API doc, Remove resource type
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## Definitions