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
Recently, we introduced two new endpoints that return the OpenAPI
specification:
- `/acts/<actorId>/builds/<buildId>/openapi-specification`
- `/actor-builds/<buildId>/openapi-specification`
**This PR updates the documentation to include these endpoints.**
@TC-MO Let me, please, know if you think we should add any additional
information 🙏
Copy file name to clipboardExpand all lines: apify-api/openapi/components/tags.yaml
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,15 @@
251
251
```
252
252
253
253
In order to save new items to the dataset, send HTTP POST request with JSON payload to the same URL.
254
+
- name: Actors/Get OpenAPI specification
255
+
x-displayName: Get OpenAPI specification
256
+
x-parent-tag-name: Actors
257
+
x-trait: 'true'
258
+
description: |
259
+
Get the OpenAPI specification for Actor builds. Two similar endpoints are available:
260
+
261
+
- [First endpoint](/api/v2/act-openapi-specification-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build.
262
+
- [Second endpoint](/api/v2/actor-build-openapi-specification-get): Requires only `buildId`.
254
263
- name: Actor tasks
255
264
x-displayName: Actor tasks
256
265
x-legacy-doc-urls:
@@ -548,6 +557,15 @@
548
557
- '#tag/Actor-buildsBuild-log'
549
558
x-trait: 'true'
550
559
description: Check out [Logs](#/reference/logs) for full reference.
560
+
- name: Actor builds/Get OpenAPI specification
561
+
x-displayName: Get OpenAPI specification
562
+
x-parent-tag-name: Actor builds
563
+
x-trait: 'true'
564
+
description: |
565
+
Get the OpenAPI specification for Actor builds. Two similar endpoints are available:
566
+
567
+
- [First endpoint](/api/v2/act-openapi-specification-get): Requires both `actorId` and `buildId`. Use `default` as the `buildId` to get the OpenAPI schema for the default Actor build.
568
+
- [Second endpoint](/api/v2/actor-build-openapi-specification-get): Requires only `buildId`.
0 commit comments