disguise developers

COLOUR API

POST cdl

Summary

Sets a CDL

URL

POST    /api/session/colour/cdl

Request

{
  "cdl": {
    "uid": "",
    "name": "",
    "slope": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "offset": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "power": {
      "x": 0,
      "y": 0,
      "z": 0
    },
    "saturation": 0
  }
}

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  }
}

GET cdls

Summary

Returns of the list of all CDLs

URL

GET    /api/session/colour/cdls

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  },
  "result": [
    {
      "uid": "",
      "name": "",
      "slope": {
        "x": 0,
        "y": 0,
        "z": 0
      },
      "offset": {
        "x": 0,
        "y": 0,
        "z": 0
      },
      "power": {
        "x": 0,
        "y": 0,
        "z": 0
      },
      "saturation": 0
    }
  ]
}