|
34 | 34 | style: simple |
35 | 35 | schema: |
36 | 36 | type: string |
37 | | - example: some key |
| 37 | + example: someKey |
38 | 38 | responses: |
39 | 39 | '200': |
40 | 40 | description: '' |
|
65 | 65 | - https://docs.apify.com/api/v2#/reference/key-value-stores/get-record |
66 | 66 | - https://docs.apify.com/api/v2#tag/Key-value-storesRecord/operation/keyValueStore_record_get |
67 | 67 | x-js-parent: KeyValueStoreClient |
| 68 | + x-js-name: getRecord |
| 69 | + x-js-doc-url: https://docs.apify.com/api/client/js/reference/class/KeyValueStoreClient#getRecord |
| 70 | + x-py-parent: KeyValueStoreClientAsync |
| 71 | + x-py-name: get_record |
| 72 | + x-py-doc-url: https://docs.apify.com/api/client/python/reference/class/KeyValueStoreClientAsync#get_record |
| 73 | +head: |
| 74 | + tags: |
| 75 | + - Storage/Key-value stores |
| 76 | + summary: Check if a record exists |
| 77 | + description: | |
| 78 | + Check if a value is stored in the key-value store under a specific key. |
| 79 | + operationId: keyValueStore_record_head |
| 80 | + security: |
| 81 | + - apiKeyStoreId: [] |
| 82 | + - httpBearerStoreId: [] |
| 83 | + parameters: |
| 84 | + - name: storeId |
| 85 | + in: path |
| 86 | + description: Key-value store ID or `username~store-name`. |
| 87 | + required: true |
| 88 | + style: simple |
| 89 | + schema: |
| 90 | + type: string |
| 91 | + example: WkzbQMuFYuamGv3YF |
| 92 | + - name: recordKey |
| 93 | + in: path |
| 94 | + description: Key of the record. |
| 95 | + required: true |
| 96 | + style: simple |
| 97 | + schema: |
| 98 | + type: string |
| 99 | + example: someKey |
| 100 | + responses: |
| 101 | + '200': |
| 102 | + description: 'The record exists' |
| 103 | + headers: {} |
| 104 | + '404': |
| 105 | + description: 'The record does not exist' |
| 106 | + headers: {} |
| 107 | + deprecated: false |
| 108 | + x-js-parent: KeyValueStoreClient |
68 | 109 | x-js-name: recordExists |
69 | 110 | x-js-doc-url: https://docs.apify.com/api/client/js/reference/class/KeyValueStoreClient#recordExists |
70 | 111 | x-py-parent: KeyValueStoreClientAsync |
71 | | - x-py-name: stream_record |
72 | | - x-py-doc-url: https://docs.apify.com/api/client/python/reference/class/KeyValueStoreClientAsync#stream_record |
| 112 | + x-py-name: record_exists |
| 113 | + x-py-doc-url: https://docs.apify.com/api/client/python/reference/class/KeyValueStoreClientAsync#record_exists |
73 | 114 | put: |
74 | 115 | tags: |
75 | 116 | - Storage/Key-value stores |
|
108 | 149 | style: simple |
109 | 150 | schema: |
110 | 151 | type: string |
111 | | - example: some key |
| 152 | + example: someKey |
112 | 153 | - name: Content-Encoding |
113 | 154 | in: header |
114 | 155 | description: '' |
@@ -177,7 +218,7 @@ delete: |
177 | 218 | style: simple |
178 | 219 | schema: |
179 | 220 | type: string |
180 | | - example: some key |
| 221 | + example: someKey |
181 | 222 | responses: |
182 | 223 | '204': |
183 | 224 | description: '' |
|
0 commit comments