/webconsole - groovy-manager
Rest API Documentation
REST API Documentation for Group groovy-manager, application /webconsole Version: 4.2.1.3
Endpoints (DRAFT)
GET /rest/api/groovyManager/compileAll
Groovy Manager API Doc, Compile All Groovy Scripts
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
POST /rest/api/groovyManager/exportSelected
Groovy Manager API Doc, Export selected groovy scripts
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/groovyManager/getGroovyScripts
Groovy Manager API Doc, Get groovy script
Responses:
Status Code: 200 Success.
Content-type: application/json
Status Code: 500 Failure.
Content-type: application/json
POST /rest/api/groovyManager/import
Groovy Manager API Doc, Import groovy script
Query Params:
- path [{'type': 'string'}]:
Body Params:
{'content': {'application/json': {'schema': {'type': 'object', 'properties': {'groovyScriptsZip': {'type': 'string', 'format': 'binary'}}}}}} 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/groovyManager/load
Groovy Manager API Doc, Load groovy script
Query Params:
- groovyScriptPath [{'type': 'string'}]:
Responses:
Status Code: 200 Success.
Content-type: application/json
Status Code: 500 Failure.
Content-type: application/json
POST /rest/api/groovyManager/save
Groovy Manager API Doc, Save groovy script
Query Params:
- groovyScriptPath [{'type': 'string'}]:
Body Params:
{'content': {'application/json': {'schema': {'type': 'string'}}}, 'required': True} 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