voxel.voxcast.ondemand.locations.list

View all Location specific configuration options for the specified device.

Parameters

device_id (required)
Numeric Voxel device id, available from voxel.devices.list

Example Response


<rsp stat="ok">
        <location id="987" path="/">
          <origin>
            <name>5678.origin.voxcdn.com/mysite.com/www</name>
            <max_connections>2000</max_connections>
          </origin>
          <authentication type="token" required="false">
            <failure_url>http://www.mysite.com/</failure_url>
            <key>zxRq4MbVVD</key>
          </authentication>
          <cache_settings>
            <enabled>true</enabled>
            <ignore_query_string>false</ignore_query_string>
          </cache_settings>
          <access_control default="allow" type="remote_host">
            <allow>all</allow>
          </access_control>
          <error_documents>
            <document response_code="505">http://5678.origin.voxcdn.com/mysite.com/www/error.html</document>
            <document response_code="404">"not found!"</document>
          </error_documents>
        </location>
        <location id="654" path="/images">
          <origin>
            <name>img.5678.origin.voxcdn.com/mysite.com/www</name>
            <max_connections>2000</max_connections>
          </origin>
          <authentication type="token" required="false">
            <failure_url>http://www.mysite.com/</failure_url>
            <key>zxRq4MbVVD</key>
          </authentication>
          <cache_settings>
            <enabled>true</enabled>
            <ignore_query_string>false</ignore_query_string>
          </cache_settings>
          <auth default="allow"/>
        </location>
</rsp>

Notes

None

Method Specific Error Codes

100: Unknown device
The device_id passed in can't be matched to a valid device.
201: Device action failed (reason)
An error occurred while performing an action on a device. A reason may be specified in parenthesis.