layout | title |
---|---|
apidocs |
Api documentation (generated from 'develop' |
This documentation was generated from branch 'develop'
Will merge fields you pass in.
- globalCache: The time in seconds that every call under this API should be cached.
- endPoint: The endpoint for the API. For example;
graph.facebook.com
- protocol: (default: http) The protocol for the API, whether or not to use SSL
- apiFormat: (default: json) The resulting data type of the endpoint. This is redundant at the moment but will eventually support both XML too.
- endPointTimeout: (default: 2) Seconds to wait before timing out the connection
- endPointMaxRedirects: (default: 2) Max redirects that are allowed when endpoint called.
- extractKeyRegex: Regular expression used to extract API key from url. Axle will use the first matched grouping and then apply that as the key. Using the
api_key
orapiaxle_key
will take precedence.
- The merged structure (including the timestamp fields).
true
on success.
- The API structure (including the timestamp fields).
- globalCache: The time in seconds that every call under this API should be cached.
- endPoint: The endpoint for the API. For example;
graph.facebook.com
- protocol: (default: http) The protocol for the API, whether or not to use SSL
- apiFormat: (default: json) The resulting data type of the endpoint. This is redundant at the moment but will eventually support both XML too.
- endPointTimeout: (default: 2) Seconds to wait before timing out the connection
- endPointMaxRedirects: (default: 2) Max redirects that are allowed when endpoint called.
- extractKeyRegex: Regular expression used to extract API key from url. Axle will use the first matched grouping and then apply that as the key. Using the
api_key
orapiaxle_key
will take precedence.
- The inserted structure (including the new timestamp fields).
- Object where the keys represent timestamp for a given second and the values the amount of hits to the specified API for that second
- Integer, the number of hits to the API this second. Designed light weight real time statistics
- from: Integer for the index of the first key you want to see. Starts at zero.
- to: Integer for the index of the last key you want to see. Starts at zero.
- resolve: if set to
true
then the details concerning the listed keys will also be printed. Be aware that this will come with a minor performace hit.
- Without
resolve
the result will be an array with one key per entry. - If
resolve
is passed then results will be an object with the key name as the key and the details as the value.
with the key.
The key must already exist and will not be modified by this operation. (PUT)
- The linked key details.
- Object where the keys represent the HTTP status code of the endpoint or the error returned by apiaxle (QpsExceededError, for example). Each object contains date to hit count pairs.
longer be made with the key.
The key will still exist and its details won't be affected. (PUT)
- The unlinked key details.
- from: Integer for the index of the first api you want to see. Starts at zero.
- to: Integer for the index of the last api you want to see. Starts at zero.
- resolve: if set to
true
then the details concerning the listed apis will also be printed. Be aware that this will come with a minor performace hit.
- Without
resolve
the result will be an array with one api per entry. - If
resolve
is passed then results will be an object with the api name as the api and the details as the value.
- sharedSecret: A shared secret which is used when signing a call to the api.
- qpd: (default: 172800) Number of queries that can be called per day. Set to
-1
for no limit. - qps: (default: 2) Number of queries that can be called per second. Set to
-1
for no limit. - forApis: Names of the Apis that this key belongs to.
- The newly inseted structure (including the new timestamp fields).
- The key object (including timestamps).
true
on success.
Fields passed in will will be merged with the old key details.
- sharedSecret: A shared secret which is used when signing a call to the api.
- qpd: (default: 172800) Number of queries that can be called per day. Set to
-1
for no limit. - qps: (default: 2) Number of queries that can be called per second. Set to
-1
for no limit. - forApis: Names of the Apis that this key belongs to.
- The newly inseted structure (including the new timestamp fields).
- Object where the keys represent timestamp for a given second and the values the amount of hits to the Key for that second
- Integer, the number of hits to the Key this second. Designed light weight real time statistics
- Object where the keys represent the HTTP status code of the endpoint or the error returned by apiaxle (QpsExceededError, for example). Each object contains date to hit count pairs.
- The KEYRING structure (including the timestamp fields).
Will merge fields you pass in.
- The merged structure (including the timestamp fields).
true
on success.
- The inserted structure (including the new timestamp fields).
- from: Integer for the index of the first key you want to see. Starts at zero.
- to: Integer for the index of the last key you want to see. Starts at zero.
- resolve: if set to
true
then the details concerning the listed keys will also be printed. Be aware that this will come with a minor performace hit.
- Without
resolve
the result will be an array with one key per entry. - If
resolve
is passed then results will be an object with the key name as the key and the details as the value.
The key must already exist and will not be modified by this operation. (PUT)
- The linked key details.
The key will still exist and its details won't be affected. (PUT)
- The unlinked key details.
- from: Integer for the index of the first keyring you want to see. Starts at zero.
- to: Integer for the index of the last keyring you want to see. Starts at zero.
- resolve: if set to
true
then the details concerning the listed keyrings will also be printed. Be aware that this will come with a minor performace hit.
- Without
resolve
the result will be an array with one keyring per entry. - If
resolve
is passed then results will be an object with the keyring name as the keyring and the details as the value.
- from: Integer for the index of the first key you want to see. Starts at zero.
- to: Integer for the index of the last key you want to see. Starts at zero.
- resolve: if set to
true
then the details concerning the listed keys will also be printed. Be aware that this will come with a minor performace hit.
- Without
resolve
the result will be an array with one key per entry. - If
resolve
is passed then results will be an object with the key name as the key and the details as the value.