<%= render 'response' %>
Create a Channel
To create a new Channel, send an HTTP POST to <%= @ssl_api_domain %>channels.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)
- name (string) - Name of the Channel (optional)
- public_flag (true/false) - Whether the Channel should be public, default false (optional)
- url (string) - Webpage URL for the Channel (optional)
Example POST:
POST <%= @ssl_api_domain %>channels.json.xml
api_key=<%= @user_api_key %>
name=My New Channel
The response will be a webpage with your newly created Channel.