@hackage hsakamai0.1.0.1
Akamai API(Edgegrid and Netstorage)
Categories
License
BSD-3-Clause
Maintainer
junji.hashimoto@gmail.com
Links
Versions
Installation
Dependencies (15)
- aeson
- base >=4.7 && <5
- bytestring
- case-insensitive
- conduit
- cryptonite Show all…
Dependents (0)
hsakamai
Akamai API for Haskell.
Install
$ stack install
Usage for Netstorage
Put netstorage.yml in a local directory.
The format is below.
$ cat > netstorage.yml
hostname: hostname-of-netstorage
key: secret-key
keyname: keyname
cpcode: cpcode
ssl: false
Next use netstorage command.
$ netstorage --help
Usage: netstorage COMMAND
Available options:
-h,--help Show this help text
Available commands:
download download
upload upload
dir dir
stat stat
delete delete
config config
Usage for Fast-Purge
Put edgegrid.yml in a local directory.
The format is below.
$ cat > edgegrid.yml
clientsecret: xx
hostname: xx
accesstoken: xx
clienttoken: xx
Next use purge command.
$ purge --help
Usage: purge COMMAND
Available options:
-h,--help Show this help text
Available commands:
invalidate-url invalidate-url
invalidate-cpcode invalidate-cpcode
invalidate-tag invalidate-tag
delete-url delete-url
delete-cpcode delete-cpcode
delete-tag delete-tag
config config
$ purge invalidate-url Production https://foo.com
