Skip to content

Commit df90bb6

Browse files
authored
Merge branch 'master' into turn-back-Apify-vale-rules
2 parents 82f3e5b + a5e73b2 commit df90bb6

File tree

79 files changed

+1683
-1297
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1683
-1297
lines changed

.github/workflows/nginx.conf-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
nginx-test-job:
1010
runs-on: ubuntu-latest
1111
container:
12-
image: docker.io/library/nginx:1.28.0-alpine-slim
12+
image: docker.io/library/nginx:1.29.1-alpine-slim
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v5

apify-api/openapi/components/schemas/actors/UpdateActorRequest.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,24 @@ properties:
5050
oneOf:
5151
- nullable: true
5252
- $ref: ./DefaultRunOptions.yaml
53+
taggedBuilds:
54+
type: object
55+
description: |
56+
Object containing the Actor's tagged builds, where the key is the tag name (e.g., _latest_) and the value is an object containing the build ID.
57+
The object you provide will completely overwrite all existing tagged builds for the Actor.
58+
59+
- To create or reassign a tag: Include it in the object with the desired `buildId`.
60+
- To remove a specific tag: Submit the object without that tag's key.
61+
- To remove all tags: Provide an empty object: `{}`.
62+
- If this field is omitted or `null`, the existing tags will not be changed.
63+
nullable: true
64+
additionalProperties:
65+
type: object
66+
required:
67+
- buildId
68+
properties:
69+
buildId:
70+
type: string
71+
example:
72+
latest:
73+
buildId: z2EryhbfhgSyqj6Hn

apify-api/openapi/paths/actor-runs/actor-runs.yaml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get:
1212
By default, the records are sorted by the `startedAt` field in ascending
1313
order. Therefore, you can use pagination to incrementally fetch all records while
1414
new ones are still being created. To sort the records in descending order, use
15-
`desc=1` parameter. You can also filter runs by status ([available
15+
`desc=1` parameter. You can also filter runs by `startedAt`` and `status`` fields ([available
1616
statuses](https://docs.apify.com/platform/actors/running/runs-and-builds#lifecycle)).
1717
operationId: actorRuns_get
1818
parameters:
@@ -58,6 +58,28 @@ get:
5858
schema:
5959
type: string
6060
example: SUCCEEDED
61+
- name: startedAfter
62+
in: query
63+
description: |
64+
Filter runs that started after the specified date and time (inclusive).
65+
The value must be a valid ISO 8601 datetime string (UTC).
66+
style: form
67+
explode: true
68+
schema:
69+
type: string
70+
format: date-time
71+
example: "2025-09-01T00:00:00.000Z"
72+
- name: startedBefore
73+
in: query
74+
description: |
75+
Filter runs that started before the specified date and time (inclusive).
76+
The value must be a valid ISO 8601 datetime string (UTC).
77+
style: form
78+
explode: true
79+
schema:
80+
type: string
81+
format: date-time
82+
example: "2025-09-17T23:59:59.000Z"
6183
responses:
6284
# todo 404?
6385
'200':

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ post:
77
The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,
88
the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
99
10+
:::info Learn more about pay-per-event pricing
11+
12+
For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
13+
14+
:::
15+
1016
operationId: PostChargeRun
1117
parameters:
1218
- name: runId

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,28 @@ get:
6666
schema:
6767
type: string
6868
example: SUCCEEDED
69+
- name: startedAfter
70+
in: query
71+
description: |
72+
Filter runs that started after the specified date and time (inclusive).
73+
The value must be a valid ISO 8601 datetime string (UTC).
74+
style: form
75+
explode: true
76+
schema:
77+
type: string
78+
format: date-time
79+
example: "2025-09-01T00:00:00.000Z"
80+
- name: startedBefore
81+
in: query
82+
description: |
83+
Filter runs that started before the specified date and time (inclusive).
84+
The value must be a valid ISO 8601 datetime string (UTC).
85+
style: form
86+
explode: true
87+
schema:
88+
type: string
89+
format: date-time
90+
example: "2025-09-17T23:59:59.000Z"
6991
responses:
7092
'200':
7193
description: ''

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ get:
55
description: |
66
Returns dataset object for given dataset ID.
77
8+
This does not return dataset items, only information about the storage itself.
9+
To retrieve dataset items, use the [List dataset items](/api/v2/dataset-items-get) endpoint.
10+
811
:::note
912
1013
Keep in mind that attributes `itemCount` and `cleanItemCount` are not propagated right away after data are pushed into a dataset.

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,14 @@ get:
367367
schema:
368368
type: boolean
369369
example: false
370+
- name: signature
371+
in: query
372+
description: Signature used to access the items.
373+
required: false
374+
style: simple
375+
schema:
376+
type: string
377+
example: 2wTI46Bg8qWQrV7tavlPI
370378
responses:
371379
'200':
372380
description: ''

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ get:
4848
schema:
4949
type: string
5050
example: post-images-
51+
- name: signature
52+
in: query
53+
description: Signature used to access the keys.
54+
required: false
55+
style: simple
56+
schema:
57+
type: string
58+
example: 2wTI46Bg8qWQrV7tavlPI
5159
responses:
5260
'200':
5361
description: ''

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ get:
3232
schema:
3333
type: string
3434
example: someKey
35+
- name: signature
36+
in: query
37+
description: Signature used to access the record.
38+
required: false
39+
style: simple
40+
schema:
41+
type: string
42+
example: 2wTI46Bg8qWQrV7tavlPI
3543
responses:
3644
'200':
3745
description: ''

apify-api/plugins/decorators/client-references-links-decorator.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ function ClientReferencesLinksDecorator(target) {
3434
const pyLink = target[X_PY_DOC_URLS_PROPERTY];
3535
const jsLink = target[X_JS_DOC_URLS_PROPERTY];
3636

37-
const jsImgUrl = 'https://raw.githubusercontent.com/apify/openapi/b1206ac2adf8f39b05e5a09bf32c2802af58d851/assets/javascript.svg';
38-
const pyImgUrl = 'https://raw.githubusercontent.com/apify/openapi/b1206ac2adf8f39b05e5a09bf32c2802af58d851/assets/python.svg';
37+
const jsImgUrl = '/img/javascript-40x40.svg';
38+
const pyImgUrl = '/img/python-40x40.svg';
3939

4040
const jsAlt = 'Apify API JavaScript Client Reference';
4141
const pyAlt = 'Apify API Python Client Reference';
@@ -49,11 +49,13 @@ function ClientReferencesLinksDecorator(target) {
4949
}
5050

5151
if (pyLink) {
52-
prepend += `<a href="${pyLink}" target="_blank"><img src="${pyImgUrl}" class="openapi-clients-box-icon" alt="${pyAlt}"/></a>`;
52+
prepend += `<a href="${pyLink}" target="_blank" class="client-docs-link">
53+
<img src="${pyImgUrl}" class="openapi-clients-box-icon" width="24px" height="24px" alt="${pyAlt}"/>Python</a>`;
5354
}
5455

5556
if (jsLink) {
56-
prepend += `<a href="${jsLink}" target="_blank"><img src="${jsImgUrl}" class="openapi-clients-box-icon" alt="${jsAlt}" /></a>`;
57+
prepend += `<a href="${jsLink}" target="_blank" class="client-docs-link">
58+
<img src="${jsImgUrl}" class="openapi-clients-box-icon" width="24px" height="24px" alt="${jsAlt}" />JavaScript</a>`;
5759
}
5860

5961
prepend += `</span>`;

0 commit comments

Comments
 (0)