HTTP Drop Member Update


Required Fields


memberName
A map of either of the Drop's editable members, elems or location

Request


PUT https://api.flowthings.io/v0.1/<account_id>/drop/<flowId>/<dropId>/<memberName>

The above will update only the Drop member specified by

NOTE: Updating a Drop will trigger any Tracks which process data from the Flow in which the Drop resides to reprocess the Drop.

Headers

NameDescription
Content-Typeapplication/json
X-Auth-TokenAuthentication Token

Example

PUT https://api.flowthings.io/v0.1/<account_id>/drop/f53c94e310cf2cc0ebb97e8a3/d53c988900cf2fba3c36426ca/location

{
  "location": {
    "lat": 40.703285,
    "lon": 73.987852
  }
}

Response


HTTP Codes

CodeDescription
200Resource Updated
400Bad Request
401Unauthorized
503Service Unavailable

Example Response Body

{
  "head" : {
    "status" : 200,
    "ok" : true,
    "messages" : [ ],
    "errors" : [ ]
  },
  "body" : {
    "location" : {
      "lat" : 40.703285,
      "lon" : 73.987852,
      "specifiers" : { }
    }
  }
}