WS for toolsets
Add toolset.
Example of request:
{"name":"layer_F11312.0","style":{"stroke":"#0000FF","stroke-linecap":"round","fill":"none","stroke-linejoin":"round","stroke-width":"0.01"}}
media type | data type | description |
---|---|---|
application/json | object | The specification of toolset that has to be added. |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information, whether the adding has or has not been succeeded. |
Get list of toolsets.
media type | data type | description |
---|---|---|
application/json | object | JSON Response with list of classes
Example of response:
{"list":[{"id":"1"},{"id":"2","name":"layer_F11312.0","style":{"stroke":"#0000FF","stroke-linecap":"round","fill":"none","stroke-linejoin":"round","stroke-width":"0.01"}},{"id":"3","name":"layer_space","style":{"stroke":"#FF0000","stroke-linecap":"round","fill":"none","stroke-linejoin":"round","stroke-width":"100.0"}}}
|
Delete toolset
name | type | description | default | constraints |
---|---|---|---|---|
toolsetId | path | ID of toolset | long |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information, whether the deleting has or has not been succeeded. |
Update toolset.
Example of request:
{"name":"layer_F11312.0","style":{"stroke":"#0000FF","stroke-linecap":"round","fill":"none","stroke-linejoin":"round","stroke-width":"0.01"}}
name | type | description | default | constraints |
---|---|---|---|---|
toolsetId | path | long |
media type | data type | description |
---|---|---|
application/json | object | The specification of toolset that has to be updated. |
media type | data type | description |
---|---|---|
application/json | object | JSON Response with information, whether the updating has or has not been succeeded. |