Api-Version. The details are explained below. In addition to these headers, any requests requiring content must be sent in an acceptable scheme to CloudAPI. Details are also below.
multipart/form-data. Joyent recommends
application/json. The value of the
Acceptheader determines the encoding of content returned in responses. CloudAPI supports
application/jsonresponse encodings only.
demo, and you've uploaded an RSA SSH key with the name
foo, an Authorization header would look like:
Dateheader. For more information on the Date header value, see RFC 2616. All requests to CloudAPI using the Signature authentication scheme must send a Date header. Note that clock skew will be enforced to within 300 seconds (positive or negative) from the value sent.
http-signaturemodule, which you can install with:
application/jsonencoded HTTP bodies. In addition to the JSON body, all responses have the following headers: