KeyCDN (keycdn v0.1.0) View Source

Elixir package for the KeyCDN API

Link to this section Summary

Functions

Add a new Zone with the specified parameters for the accessing user.

Adds a Zone Aliases for a given Zone.

Adds a Zone Referrers for a given Zone.

Returns the credit balance.

Returns a list of credit bookings for a given time range.

Delete the given Zone specified by the parameter {zone_id}.

Delete the given Zone Alias specified by the parameter {zonealias_id}.

Delete the given Zone Referrer specified by the parameter {zonereferrer_id}.

Edit the given Zone specified by the parameter {zone_id} with the specified request parameters.

Edit the given Zone Alias specified by the parameter {zonealias_id} with the speciefied request parameters.

Edit the given Zone Referrer specified by the parameter {zonereferrer_id} with the speciefied request parameters.

Returns a list of Image Processing statistics for a given time range.

Returns a list of all Zone Aliases on the specified account.

Returns a list of all Zone Referrers on the specified account.

Returns a list of all Zones on the specified account.

Clears the entire cache of a Pull Zone specified by the {zone_id} parameter.

Clears the cache for the defined URL(s) by the {zone_id} parameter.

Returns a list of state statistics for a given time range.

Returns a list of storage statistics for a given time range.

Returns a list of traffic statistics for a given time range.

Returns a Zone specified by the {zone_id} parameter.

Link to this section Functions

Link to this function

add_zone(client, params)

View Source

Add a new Zone with the specified parameters for the accessing user.

Link to this function

add_zone_aliases(client, params)

View Source

Adds a Zone Aliases for a given Zone.

Link to this function

add_zone_referrers(client, params)

View Source

Adds a Zone Referrers for a given Zone.

Returns the credit balance.

Link to this function

credits_statistics(client, query_params)

View Source

Returns a list of credit bookings for a given time range.

Link to this function

delete_zone(client, zone_id)

View Source

Delete the given Zone specified by the parameter {zone_id}.

Link to this function

delete_zone_aliases(client, zonealias_id)

View Source

Delete the given Zone Alias specified by the parameter {zonealias_id}.

Link to this function

delete_zone_referrers(client, zonereferrer_id)

View Source

Delete the given Zone Referrer specified by the parameter {zonereferrer_id}.

Link to this function

edit_zone(client, zone_id, params)

View Source

Edit the given Zone specified by the parameter {zone_id} with the specified request parameters.

Link to this function

edit_zone_aliases(client, params)

View Source

Edit the given Zone Alias specified by the parameter {zonealias_id} with the speciefied request parameters.

Link to this function

edit_zone_referrers(client, zonereferrer_id, params)

View Source

Edit the given Zone Referrer specified by the parameter {zonereferrer_id} with the speciefied request parameters.

Link to this function

image_processing_statistics(client, query_params)

View Source

Returns a list of Image Processing statistics for a given time range.

Link to this function

list_zone_aliases(client)

View Source

Returns a list of all Zone Aliases on the specified account.

Link to this function

list_zone_referrers(client)

View Source

Returns a list of all Zone Referrers on the specified account.

Returns a list of all Zones on the specified account.

Link to this function

purge_zone_cache(client, zone_id)

View Source

Clears the entire cache of a Pull Zone specified by the {zone_id} parameter.

Link to this function

purge_zone_url(client, zone_id, urls)

View Source

Clears the cache for the defined URL(s) by the {zone_id} parameter.

Link to this function

status_statistics(client, query_params)

View Source

Returns a list of state statistics for a given time range.

Link to this function

storage_statistics(client, query_params)

View Source

Returns a list of storage statistics for a given time range.

Link to this function

traffic_statistics(client, query_params)

View Source

Returns a list of traffic statistics for a given time range.

Link to this function

view_zone(client, zone_id)

View Source

Returns a Zone specified by the {zone_id} parameter.