apify-cli icon indicating copy to clipboard operation
apify-cli copied to clipboard

EPIC: Datasets / Key-Value-Stores Namespace

Open netmilk opened this issue 1 year ago • 0 comments

  • [ ] datasets
- [ ] `create [--name=<name>]`
- [ ] `ls [--offset=<num>] [--limit=<num>] [--desc] [--unnamed]`
- [ ] `info <dataset-id>` - Get info about a specific run
- [ ] `rm <dataset-id>`
- [ ] `rename <dataset-id> {<new-name> | --unname} [--force]`
- [ ] `get-items <dataset-id> [--limit=<num>] [--offset=<num>] [--format=<format>]`
- [ ] `push-items <dataset-id> <value>` - supports stdin if no`value`
  • [ ] key-value-stores
- [ ] `create [--name=<name>]`
- [ ] `ls [--offset=<num>] [--limit=<num>] [--desc] [--unnamed]` - Lists stores
- [ ] `info <kvs-id>` - Get info about a specific store
- [ ] `keys <kvs-id> [--exclusive-start-id=<id>] [--limit=<num>]` - List keys and sizes of records, like “list keys” API op
- [ ] `rm <kvs-id>`
- [ ] `rename <kvs-id> { <new-name> | --unname }`
- [ ] `set-value <kvs-id> <key> [value] --content-type=<type>` - If value missing, stdin expected, can be any blob
- [ ] `get-value <kvs-id> <key> [--only-content-type]` - Returns the value to *stdout* and the content-type to *stderr*
- [ ] `delete-value <kvs-id> <key>`

Internal Notion document

netmilk avatar Aug 30 '24 09:08 netmilk