Jun 3, 2021 — API and CLI enhancements and bug fixes
over 3 years ago by skotyck@akamai.com
We've made several enhancements and bug fixes to the administrative API and command-line interface for EdgeKV.
Updates to the EdgeKV APIs:
- We've updated the JSON input and output format for the initialize and namespace endpoints to comply with REST API best practices.
- When listing namespaces you can now optionally display namespace details, such as geoLocation and retentionInSeconds.
- Namespace commands now show a geoLocation attribute that currently defaults to the US.
- When listing tokens you can optionally return a list of expired tokens. Expired tokens cannot be used but do count towards your account token limit as documented here.
Updates to the EdgeKV CLI package:'
(Note that you need to install the latest EdgeKV CLI package to access these enhancements and bug fixes.)
- The CLI now accepts the renamed JSON returned by the EdgeKV API. This update enables all CLI commands to display properly.
- Specifying a retention period is now mandatory when creating a namespace. This previously defaulted to six months, but is now configurable.
- When listing namespaces you can optionally retrieve namespace details such as geoLocation and retentionInSeconds.
- Namespace commands now show a geoLocation attribute that currently defaults to the US.
- When listing tokens you can optionally return a list of expired tokens. Expired tokens cannot be used but do count towards your account token limit as documented here.
- The CLI can now display empty string or “null” values stored in EdgeKV.