Skip to content

Commit 333a116

Browse files
committed
Rename "Get items" API endpoint to "Get dataset items" for more clarity
1 parent dd2a76a commit 333a116

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

apify-api/openapi/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ info:
122122
```
123123
124124
However, there are a few explicitly described exceptions, such as
125-
Dataset [Get items](#/reference/datasets/item-collection/get-items) or
125+
[Get dataset items](#/reference/datasets/item-collection/get-items) or
126126
Key-value store [Get record](#/reference/key-value-stores/record/get-record)
127127
API endpoints, which return data in other formats.
128128
In case of an error, the response has the HTTP status code in the range of

apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ post:
153153
To fetch the Actor run results that are typically stored in the default
154154
dataset, you'll need to pass the ID received in the `defaultDatasetId` field
155155
received in the response JSON to the
156-
[Get items](#/reference/datasets/item-collection/get-items) API endpoint.
156+
[Get dataset items](#/reference/datasets/item-collection/get-items) API endpoint.
157157
operationId: actorTask_runs_post
158158
parameters:
159159
- name: actorTaskId

apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ post:
145145
146146
To fetch the Actor run results that are typically stored in the default
147147
dataset, you'll need to pass the ID received in the `defaultDatasetId` field
148-
received in the response JSON to the [Get items](#/reference/datasets/item-collection/get-items)
148+
received in the response JSON to the [Get dataset items](#/reference/datasets/item-collection/get-items)
149149
API endpoint.
150150
operationId: act_runs_post
151151
parameters:

apify-api/openapi/paths/datasets/datasets@{datasetId}@items.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
get:
22
tags:
33
- Storage/Datasets
4-
summary: Get items
4+
summary: Get dataset items
55
description: |
66
Returns data stored in the dataset in a desired format.
77

sources/academy/tutorials/api/run_actor_and_retrieve_data_via_api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ The **run info** JSON also contains the IDs of the default [dataset](/platform/s
254254

255255
> If you are scraping products, or any list of items with similar fields, the [dataset](/platform/storage/dataset) should be your storage of choice. Don't forget though, that dataset items are immutable. This means that you can only add to the dataset, and not change the content that is already inside it.
256256
257-
To retrieve the data from a dataset, send a GET request to the [**Get items**](/api/v2/dataset-items-get) endpoint and pass the `defaultDatasetId` into the URL. For a GET request to the default dataset, no token is needed.
257+
To retrieve the data from a dataset, send a GET request to the [**Get dataset items**](/api/v2/dataset-items-get) endpoint and pass the `defaultDatasetId` into the URL. For a GET request to the default dataset, no token is needed.
258258

259259
```cURL
260260
https://api.apify.com/v2/datasets/DATASET_ID/items

sources/platform/actors/running/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ print(dataset_items)
118118

119119
The newly started Actor runs under the account associated with the provided `token`, and therefore all resources consumed are charged to this user account.
120120

121-
Internally, the `call()` function invokes the [Run Actor](/api/v2/#/reference/actors/run-collection/run-actor) API endpoint, waits for the Actor to finish, and reads its output using the [Get items](/api/v2/#/reference/datasets/item-collection/get-items) API endpoint.
121+
Internally, the `call()` function invokes the [Run Actor](/api/v2/#/reference/actors/run-collection/run-actor) API endpoint, waits for the Actor to finish, and reads its output using the [Get dataset items](/api/v2/#/reference/datasets/item-collection/get-items) API endpoint.

0 commit comments

Comments
 (0)