Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions apify-api/openapi/components/responses/Forbidden.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
description: Forbidden - insufficient permissions to perform this action.
content:
application/json:
schema:
$ref: ../schemas/common/ErrorResponse.yaml
example:
error:
type: permission-denied
message: You do not have permission to perform this action.
2 changes: 2 additions & 0 deletions apify-api/openapi/paths/actor-builds/actor-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,6 @@ get:
$ref: ../../components/schemas/actor-builds/ListOfBuildsResponse.yaml
"400":
$ref: ../../components/responses/BadRequest.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
deprecated: false
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ get:
- $ref: ../../components/schemas/actor-builds/BuildResponse.yaml
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
"404":
$ref: ../../components/responses/NotFound.yaml
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/actor-builds/build-object/get-build
Expand Down Expand Up @@ -86,6 +92,10 @@ delete:
content: {}
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"404":
$ref: ../../components/responses/NotFound.yaml
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/actor-builds/delete-build/delete-build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ post:
- $ref: ../../components/schemas/actor-builds/BuildResponse.yaml
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/actor-builds/abort-build/abort-build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ get:
description: |
If `true` or `1` then the logs will be streamed as long as the run or
build is running.
required: true
required: false
style: form
explode: true
schema:
Expand All @@ -30,7 +30,7 @@ get:
description: |
If `true` or `1` then the web browser will download the log file rather
than open it in a tab.
required: true
required: false
style: form
explode: true
schema:
Expand All @@ -54,6 +54,8 @@ get:
2017-07-14T06:00:49.752Z Some useful debug information follows.
"400":
$ref: ../../components/responses/BadRequest.yaml
"404":
$ref: ../../components/responses/NotFound.yaml
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/actor-builds/build-log/get-log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ get:
description: A standard OpenAPI 3.x JSON document.
"400":
$ref: ../../components/responses/BadRequest.yaml
"404":
$ref: ../../components/responses/NotFound.yaml
x-js-parent: BuildClient
x-js-name: getOpenApiDefinition
x-js-doc-url: https://docs.apify.com/api/client/js/reference/class/BuildClient#getOpenApiDefinition
Expand Down