| --- |
| title: Engine Plugin Api |
| sidebar_position: 5 |
| --- |
| |
| ** EnginePluginRestful class ** |
| |
| ## refresh |
| |
| |
| **Interface address**:`/api/rest_j/v1/engineplugin/refresh` |
| |
| |
| **Request method**: `GET` |
| |
| |
| **Request data type**: `application/x-www-form-urlencoded` |
| |
| |
| **Response data type**: `*/*` |
| |
| |
| **Interface description**:<p>Refresh a single resource</p> |
| |
| |
| |
| **Request Parameters**: |
| |
| |
| | Parameter name | Parameter description | Request type | Required | Data type | schema | |
| | -------- | -------- | ----- | -------- | -------- | ------ | |
| |ecType|type|query|false|string|| |
| |version|version|query|false|string|| |
| |
| |
| **Response Status**: |
| |
| |
| | Status code | Description | schema | |
| | -------- | -------- | ----- | |
| |200|OK|Message| |
| |401|Unauthorized|| |
| |403|Forbidden|| |
| |404|Not Found|| |
| |
| |
| **Response parameters**: |
| |
| |
| | parameter name | parameter description | type | schema | |
| | -------- | -------- | ----- |----- | |
| |data|Dataset|object|| |
| |message|Description|string|| |
| |method|request url|string|| |
| |status|Status|integer(int32)|integer(int32)| |
| |
| |
| **Sample Response**: |
| ````javascript |
| { |
| "data": {}, |
| "message": "", |
| "method": "", |
| "status": 0 |
| } |
| ```` |
| |
| |
| ## refresh all |
| |
| |
| **Interface address**:`/api/rest_j/v1/engineplugin/refreshAll` |
| |
| |
| **Request method**: `GET` |
| |
| |
| **Request data type**: `application/x-www-form-urlencoded` |
| |
| |
| **Response data type**: `*/*` |
| |
| |
| **Interface description**:<p>Refresh all ec resources</p> |
| |
| |
| |
| **Request Parameters**: |
| |
| |
| No |
| |
| |
| **Response Status**: |
| |
| |
| | Status code | Description | schema | |
| | -------- | -------- | ----- | |
| |200|OK|Message| |
| |401|Unauthorized|| |
| |403|Forbidden|| |
| |404|Not Found|| |
| |
| |
| **Response parameters**: |
| |
| |
| | parameter name | parameter description | type | schema | |
| | -------- | -------- | ----- |----- | |
| |data|Dataset|object|| |
| |message|Description|string|| |
| |method|request url|string|| |
| |status|Status|integer(int32)|integer(int32)| |
| |
| |
| **Sample Response**: |
| ````javascript |
| { |
| "data": {}, |
| "message": "", |
| "method": "", |
| "status": 0 |
| } |
| ```` |