Skip to content

Commit 8390474

Browse files
authored
Merge pull request #77 from apify/feat/kv-store-schema-naming
feat: use collection query key instead of recordGroup
2 parents 3524afd + 4cf1195 commit 8390474

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/KEY_VALUE_STORE_SCHEMA.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Key-value store schema has two main use cases described in the following example
1111

1212
1. Some Actors such as [Instagram scraper](https://apify.com/jaroslavhejlek/instagram-scraper)
1313
store multiple types of files into the key-value store. Let's say the scraper stores images and user pictures.
14-
So for each of these, we would define a prefix group and allow the user to list images from a single group in both the
14+
So for each of these, we would define a prefix group called collection and allow the user to list images from a single collection in both the
1515
UI and API.
1616

1717
```jsonc
@@ -94,10 +94,10 @@ Contrary to dataset schema, the record in key-value store represents output that
9494

9595
## API implications
9696

97-
Enable user to list keys for specific record group:
97+
Enable user to list keys for specific collection:
9898

9999
```
100-
https://api.apify.com/v2/key-value-stores/storeId/keys?recordGroup=postImages&exclusiveStartKey=xxx
100+
https://api.apify.com/v2/key-value-stores/storeId/keys?collection=postImages&exclusiveStartKey=xxx
101101
```
102102

103103
In addition to this user will be able to list by prefix directly:

0 commit comments

Comments
 (0)