Storage
Datasets, key-value stores and request queues. {kind} is datasets, key-value-stores or request-queues.
Storages of the acting account, oldest first
Storages of the acting account, oldest first (?offset, ?limit ≤1000, ?desc, ?unnamed=0 for named only)
Create resource
Get or create a named storage {name: [a-zA-Z0-9-]{1,63}}; 201 when created, 200 when it existed
Action delete
action delete: delete up to 200 storages of this kind and their contents (each as the single DELETE does it). Ids not of your account, of another kind or repeated: 422, nothing deleted. 20 a minute
A storage
A storage
Update resource
{name} renames (named storages are kept past retention); {name: null} makes it unnamed
Delete the storage and its contents
Delete the storage and its contents
A new signing key for this storage
A new signing key for this storage: every public link already handed out for it stops working, items_public_url and keys_public_url included, and so does the `?signature=` of a single record (which carries no expiry of its own). Returns the storage with its new links. Needs storage.write; a run token cannot call it. 20 a minute
List items (datasets)
Items. format=json (default: { data: items, meta: { total, offset, limit, count, desc } }) | jsonl | csv | xlsx | html | xml | rss; offset, limit, desc, clean, skip_hidden, fields, omit, unwind, flatten (comma lists), view (dataset schema view), delimiter, bom, skip_header_row, xml_root, xml_row. Item bodies are returned as stored. limit defaults to and is capped at 250000 for json, jsonl and csv (streamed) and 20000 for xlsx, html, xml and rss. Pagination also in X-Lantfly-Pagination-{Total,Offset,Limit,Count,Desc} headers; for streamed formats Count is the stored items in the page (before clean/unwind), meta.count the items sent. Without a token: `?signature=` from items_public_url, or the owner's general access
Push one item
Push one item (object) or a list
Keys in order
Keys in order (?limit ≤1000, ?exclusive_start_key): { data: [{ key, size, content_type }], meta: { count, limit, is_truncated, next_exclusive_start_key } }
The record's bytes with its content type
The record's bytes with its content type
Store the body under the request's Content-Type
Store the body under the request's Content-Type (≤100 MB; keys a-zA-Z0-9!-_.'() ≤256)
Delete a record
Delete a record
Requests in id order
Requests in id order (?limit ≤10000, ?cursor = meta.next_cursor, ?handled=0|1): { data: QueueRequest[], meta: { count, limit, next_cursor } }
Add request to request queue
Add {url, unique_key?, method?, payload?, headers?, user_data?} (?forefront=1); deduplicated by unique_key (default url). 201 new, 200 already there: { request_id, was_already_present, was_already_handled }
Remove a request
Remove a request