cyREST
cyREST copied to clipboard
Visual Properties outputs are inconsistent
GET /v1/styles/visualproperties/{visualProperty}
returns:
{
"visualProperty": "EDGE_LABEL_WIDTH",
"name": "Edge Label Width",
"targetDataType": "CyEdge",
"default": "200.0"
}
Whereas, GET /v1/styles/{name}/defaults/{vp}
and GET /v1/styles/{name}/defaults
both use the format:
{
"visualProperty": "EDGE_LABEL_WIDTH",
"value": 200
}