API Reference - GET content by ID
To fetch the content info for a particular ID, make an HTTP GET request
to /v1/content/<id>, where <id> is
the ID of the content.
Zoom.it is optimized for fetching content info by ID in this way.
Possible responses:
200 OK: the content exists. In the RESTful case, the
response body is the content info in the appropriate response format.
In the non-RESTful case, this content info is the content
field in the response object.
404 Not Found: the content doesn't exist. In the
RESTful case, the response body is a plaintext error message. In the
non-RESTful case, this error message is the error field in
the response object.
Example requests:
curl -i api.zoom.it/v1/content/h
Returns 200 OK with JSON content info as the response body.
curl -i api.zoom.it/v1/content/99999999
Returns 404 Not Found with a plaintext error message as the response body.
http://api.zoom.it/v1/content/h?format=xml
Returns 200 OK with XML response info; the <response> object has a
200 <status> and a <content> element.
http://api.zoom.it/v1/content/99999999?format=xml
Returns 200 OK with XML response info; the <response> object has a
404 <status> and an <error> element.
