disguise developers

SOCKPUPPET API

GET easingfunctions

Summary

List transition functions

URL

GET    /api/session/sockpuppet/easingfunctions

Response

{
  "easingFunctions": [
    ""
  ]
}

POST live

Summary

Send live changes

URL

POST    /api/session/sockpuppet/live

Request

{
  "patches": [
    {
      "address": "",
      "changes": [
        {
          "field": "",
          "resourceValue": {
            "uid": "",
            "name": ""
          },
          "floatValue": {
            "value": 0,
            "duration": 0,
            "easingFunction": "",
            "startValue": 0,
            "currentValue": 0
          },
          "stringValue": ""
        }
      ]
    }
  ]
}

Response

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

GET patches

Summary

List patches

URL

GET    /api/session/sockpuppet/patches

Response

{
  "status": {
    "code": 0,
    "message": "",
    "details": [
      {
        "type_url": "",
        "value": ""
      }
    ]
  },
  "result": [
    {
      "address": "",
      "fields": [
        {
          "name": "",
          "displayName": "",
          "type": "",
          "resourceMeta": {
            "type": ""
          },
          "floatMeta": {
            "min": 0,
            "max": 0,
            "defaultValue": 0,
            "step": 0
          },
          "stringMeta": {
            "options": [
              ""
            ]
          },
          "resourceValue": {
            "uid": "",
            "name": ""
          },
          "floatValue": {
            "value": 0,
            "duration": 0,
            "easingFunction": "",
            "startValue": 0,
            "currentValue": 0
          },
          "stringValue": ""
        }
      ]
    }
  ]
}