You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apify-api/openapi/openapi.yaml
+32-32Lines changed: 32 additions & 32 deletions
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ info:
10
10
The Apify API (version 2) provides programmatic access to the [Apify
11
11
platform](https://docs.apify.com). The API is organized
12
12
around [RESTful](https://en.wikipedia.org/wiki/Representational_state_transfer)
13
-
HTTP endpoints.
14
-
13
+
HTTP endpoints.
14
+
15
15
You can download the complete OpenAPI schema of Apify API in the [YAML](http://docs.apify.com/api/openapi.yaml) or [JSON](http://docs.apify.com/api/openapi.json) formats. The source code is also available on [GitHub](https://github.com/apify/apify-docs/tree/master/apify-api/openapi).
16
16
17
17
All requests and responses (including errors) are encoded in
@@ -66,39 +66,39 @@ info:
66
66
## Basic usage
67
67
<span id="/introduction/basic-usage"></span>
68
68
69
-
To run an actor, send a POST request to the [Run
70
-
actor](#/reference/actors/run-collection/run-actor) endpoint using either the
71
-
actor ID code (e.g. `vKg4IjxZbEYTYeW8T`) or its name (e.g.
69
+
To run an Actor, send a POST request to the [Run
70
+
Actor](#/reference/actors/run-collection/run-actor) endpoint using either the
71
+
Actor ID code (e.g. `vKg4IjxZbEYTYeW8T`) or its name (e.g.
72
72
`janedoe~my-actor`):
73
73
74
74
`https://api.apify.com/v2/acts/[actor_id]/runs`
75
75
76
-
If the actor is not runnable anonymously, you will receive a 401 or 403
76
+
If the Actor is not runnable anonymously, you will receive a 401 or 403
Copy file name to clipboardExpand all lines: apify-api/openapi/paths/actor-builds/actor-builds@{buildId}@openapi.json.yaml
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
get:
2
2
tags:
3
-
- Actor builds/Get OpenAPI definition
3
+
- Actor builds
4
4
summary: Get OpenAPI definition
5
5
description: |
6
+
Get the OpenAPI definition for Actor builds. Two similar endpoints are available:
7
+
8
+
- [First endpoint](/api/v2/act-openapi-json-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build.
9
+
- [Second endpoint](/api/v2/actor-build-openapi-json-get): Requires only `buildId`.
10
+
6
11
Get the OpenAPI definition for a specific Actor build.
7
12
Authentication is based on the build's unique ID. No authentication token is required.
8
-
13
+
9
14
**Note**: You can also use the `/api/v2/act-openapi-json-get` endpoint to get the OpenAPI definition for a build.
0 commit comments