POST api2/user_data.json

Set UserData

Request Information

URI Parameters

None.

Body Parameters

API.Models.SetUserData
NameDescriptionTypeAdditional information
userToken

userToken from StreamAuthResult <see cref="T:API.Models.StreamAuthResult" />

string

Required

projectID

ProjectID from StreamAuthResult <see cref="T:API.Models.StreamAuthResult" />

string

Required

data

Data to set

Collection of API.Models.UserData

Required

Request Formats

{
  "userToken": "sample string 1",
  "projectID": "sample string 2",
  "data": [
    {
      "name": "sample string 1",
      "data": "sample string 2"
    },
    {
      "name": "sample string 1",
      "data": "sample string 2"
    }
  ]
}

Response Information

Resource Description

API.Models.Empty

None.

Response Formats

{}