Skip to content

Commit a6ec9a2

Browse files
committed
enable redirect for few testing endpoints and one category
1 parent 268f6f2 commit a6ec9a2

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed

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

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,22 @@ post:
55
description: |
66
Runs a specific Actor and returns its output.
77
8-
98
The POST payload including its `Content-Type` header is passed as `INPUT` to
109
the Actor (usually <code>application/json</code>).
11-
1210
The HTTP response contains Actors `OUTPUT` record from its default
1311
key-value store.
1412
15-
1613
The Actor is started with the default options; you can override them using
1714
various URL query parameters.
18-
1915
If the Actor run exceeds 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds,
2016
the HTTP response will have status 408 (Request Timeout).
2117
22-
2318
Beware that it might be impossible to maintain an idle HTTP connection for a
2419
long period of time, due to client timeout or network conditions. Make sure your HTTP client is
2520
configured to have a long enough connection timeout.
26-
2721
If the connection breaks, you will not receive any information about the run
2822
and its status.
2923
30-
3124
To run the Actor asynchronously, use the [Run
3225
Actor](#/reference/actors/run-collection/run-actor) API endpoint instead.
3326
operationId: act_runSync_post
@@ -42,9 +35,9 @@ post:
4235
example: janedoe~my-actor
4336
- name: outputRecordKey
4437
in: query
45-
description: |-
38+
description: |
4639
Key of the record from run's default key-value store to be returned
47-
in the response. By default, it is `OUTPUT`.
40+
in the response. By default, it is `OUTPUT`.
4841
style: form
4942
explode: true
5043
schema:
@@ -103,12 +96,9 @@ post:
10396
description: |
10497
Specifies optional webhooks associated with the Actor run, which can be
10598
used to receive a notification
106-
10799
e.g. when the Actor finished or failed. The value is a Base64-encoded
108100
JSON array of objects defining the webhooks. For more information, see
109-
110-
[Webhooks
111-
documentation](https://docs.apify.com/platform/integrations/webhooks).
101+
[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).
112102
style: form
113103
explode: true
114104
schema:
@@ -143,9 +133,8 @@ post:
143133
example:
144134
error:
145135
type: run-failed
146-
message: >-
147-
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status:
148-
FAILED)
136+
message: |
137+
Actor run did not succeed (run ID: 55uatRrZib4xbZs, status: FAILED)
149138
'408':
150139
description: ''
151140
headers: {}
@@ -168,23 +157,17 @@ get:
168157
summary: Without input
169158
description: |
170159
Runs a specific Actor and returns its output.
171-
172160
The run must finish in 300<!-- MAX_ACTOR_JOB_SYNC_WAIT_SECS --> seconds
173161
otherwise the API endpoint returns a timeout error.
174-
175162
The Actor is not passed any input.
176163
177-
178164
Beware that it might be impossible to maintain an idle HTTP connection for a
179165
long period of time,
180-
181166
due to client timeout or network conditions. Make sure your HTTP client is
182167
configured to have a long enough connection timeout.
183-
184168
If the connection breaks, you will not receive any information about the run
185169
and its status.
186170
187-
188171
To run the Actor asynchronously, use the [Run
189172
Actor](#/reference/actors/run-collection/run-actor) API endpoint instead.
190173
operationId: act_runSync_get
@@ -199,9 +182,9 @@ get:
199182
example: janedoe~my-actor
200183
- name: outputRecordKey
201184
in: query
202-
description: |-
185+
description: |
203186
Key of the record from run's default key-value store to be returned
204-
in the response. By default, it is `OUTPUT`.
187+
in the response. By default, it is `OUTPUT`.
205188
style: form
206189
explode: true
207190
schema:
@@ -260,12 +243,9 @@ get:
260243
description: |
261244
Specifies optional webhooks associated with the Actor run, which can be
262245
used to receive a notification
263-
264246
e.g. when the Actor finished or failed. The value is a Base64-encoded
265247
JSON array of objects defining the webhooks. For more information, see
266-
267-
[Webhooks
268-
documentation](https://docs.apify.com/platform/integrations/webhooks).
248+
[Webhooks documentation](https://docs.apify.com/platform/integrations/webhooks).
269249
style: form
270250
explode: true
271251
schema:

0 commit comments

Comments
 (0)