Skip to content

Commit 62bb4e7

Browse files
authored
feat(api): add collection and prefix query params to get list of kv store keys (#1564)
Document new query params for `GET: https://api.apify.com/v2/key-value-stores/storeId/keys`: apify/apify-core#20726 Based on https://github.com/apify/actor-whitepaper/blob/master/pages/KEY_VALUE_STORE_SCHEMA.md#api-implications
1 parent c6b07e5 commit 62bb4e7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

apify-api/openapi/paths/key-value-stores/key-value-stores@{storeId}@keys.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,19 @@ get:
3838
type: number
3939
format: double
4040
example: 100
41+
- name: collection
42+
in: query
43+
description: Limit the results to keys that belong to a specific collection from the key-value store schema.
44+
The key-value store need to have a schema defined for this parameter to work.
45+
schema:
46+
type: string
47+
example: postImages
48+
- name: prefix
49+
in: query
50+
description: Limit the results to keys that start with a specific prefix.
51+
schema:
52+
type: string
53+
example: post-images-
4154
responses:
4255
'200':
4356
description: ''

0 commit comments

Comments
 (0)