<%= render 'response' %>
Update a Channel
To update a Channel, send an HTTP PUT to
<%= @ssl_api_domain %>channels/CHANNEL_ID.json.xml
.
Valid parameters:
- api_key (string) - User's API Key; please note that this is different than a Channel API key, and can be found in your account details. (required).
- description (string) - Description of the Channel (optional)
- elevation (integer) - Elevation in meters (optional)
- field1 (string) - Field1 name (optional)
- field2 (string) - Field2 name (optional)
- field3 (string) - Field3 name (optional)
- field4 (string) - Field4 name (optional)
- field5 (string) - Field5 name (optional)
- field6 (string) - Field6 name (optional)
- field7 (string) - Field7 name (optional)
- field8 (string) - Field8 name (optional)
- latitude (decimal) - Latitude in degrees (optional)
- longitude (decimal) - Longitude in degrees (optional)
- metadata (text) - Metadata for the Channel, which can include JSON, XML, or any other data (optional)
- name (string) - Name of the Channel (optional)
- public_flag (true/false) - Whether the Channel should be public, default false (optional)
- tags (string) - Comma-separated list of tags (optional)
- url (string) - Webpage URL for the Channel (optional)
Example PUT:
PUT <%= @ssl_api_domain %>channels/4.json.xml
api_key=<%= @user_api_key %>
name=Updated Channel
The response will be a webpage with your updated Channel.