Skip to content

Commit

Permalink
feat: add storages code samples
Browse files Browse the repository at this point in the history
  • Loading branch information
m-murasovs committed Dec 17, 2024
1 parent e28c4c1 commit 7c0ad98
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/dataset_delete.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify datasets rm <DATASET ID>
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/dataset_items_post.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify datasets push-items <DATASET ID> '{ "foo": "bar" }'
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/dataset_put.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify datasets rename <DATASET ID> <DATASET NAME>
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/datasets_get.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify datasets ls
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/datasets_post.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify datasets create <DATASET NAME>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores rm <STORE ID>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores keys <STORE ID>
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/keyValueStore_put.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores rename <STORE ID> <STORE NAME>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores delete-value <STORE ID> INPUT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores get-value <STORE ID> INPUT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores set-value <STORE ID> OUTPUT '{"new": "value"}'
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/keyValueStores_get.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores ls
1 change: 1 addition & 0 deletions apify-api/openapi/code_samples/curl/keyValueStores_post.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
apify key-value-stores create <STORE NAME>

0 comments on commit 7c0ad98

Please sign in to comment.