Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ sharedGet: &sharedGet
example: <items><item><foo>bar</foo></item><item><foo2>bar2</foo2></item></items>
"400":
$ref: ../../responses/BadRequest.yaml
"402":
$ref: ../../responses/PaymentRequired.yaml
deprecated: false

listById:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ sharedGet: &sharedGet
$ref: ../../responses/BadRequest.yaml
"401":
$ref: ../../responses/Unauthorized.yaml
"402":
$ref: ../../responses/PaymentRequired.yaml
"403":
$ref: ../../responses/Forbidden.yaml
"404":
Expand Down
2 changes: 2 additions & 0 deletions apify-api/openapi/components/objects/datasets/dataset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ sharedTaskLastRun: &sharedTaskLastRun
sharedGet: &sharedGet
responses:
<<: [*common200, *commonErrors]
"402":
$ref: ../../responses/PaymentRequired.yaml
deprecated: false

getById:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ sharedTagTaskLastRun: &sharedTagTaskLastRun
sharedGet: &sharedGet
responses:
<<: *commonErrors
"402":
$ref: ../../responses/PaymentRequired.yaml
"200":
description: ""
headers: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ sharedTagTaskLastRun: &sharedTagTaskLastRun
sharedGet: &sharedGet
responses:
<<: *commonErrors
"402":
$ref: ../../responses/PaymentRequired.yaml
"200":
description: ""
headers: {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ sharedTaskLastRun: &sharedTaskLastRun
sharedGet: &sharedGet
responses:
<<: [*common200, *commonErrors]
"402":
$ref: ../../responses/PaymentRequired.yaml
deprecated: false

getById:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ sharedGet: &sharedGet
application/json:
schema:
$ref: ../../schemas/request-queues/HeadResponse.yaml
"402":
$ref: ../../responses/PaymentRequired.yaml
<<: *commonErrors
deprecated: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ sharedGet: &sharedGet
application/json:
schema:
$ref: ../../schemas/request-queues/RequestResponse.yaml
"402":
$ref: ../../responses/PaymentRequired.yaml
<<: *commonErrors
deprecated: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ sharedGet: &sharedGet
application/json:
schema:
$ref: ../../schemas/request-queues/ListOfRequestsResponse.yaml
"402":
$ref: ../../responses/PaymentRequired.yaml
<<: *commonErrors
deprecated: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ sharedTaskLastRun: &sharedTaskLastRun
sharedGet: &sharedGet
responses:
<<: [*common200, *commonErrors]
"402":
$ref: ../../responses/PaymentRequired.yaml
deprecated: false

getById:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ properties:
examples: [2048]
maxItems:
type: [integer, "null"]
minimum: 1
minimum: 0
examples: [1000]
maxTotalChargeUsd:
type: number
type: [number, "null"]
minimum: 0
examples: [5]
2 changes: 1 addition & 1 deletion apify-api/openapi/components/schemas/actors/Actor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ properties:
type: [string, "null"]
examples: ["https://my-actor.apify.actor"]
notice:
type: string
type: [string, "null"]
examples: [NONE]
categories:
type: array
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ title: KeyValueStoreStats
required:
- readCount
- writeCount
- deleteCount
- listCount
type: object
properties:
readCount:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ required:
- name
- username
- stats
- currentPricingInfo
type: object
properties:
id:
Expand Down Expand Up @@ -34,7 +33,7 @@ properties:
- MARKETING
- LEAD_GENERATION
notice:
type: string
type: [string, "null"]
pictureUrl:
type: [string, "null"]
format: uri
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
title: UserPrivateInfo
required:
- username
- proxy
- plan
- effectivePlatformFeatures
- isPaying
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ properties:
type: [boolean, "null"]
examples: [false]
requestUrl:
type: string
type: [string, "null"]
format: uri
examples: ["http://example.com/"]
payloadTemplate:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ get:
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"402":
$ref: ../../components/responses/PaymentRequired.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
"404":
Expand Down Expand Up @@ -175,6 +177,8 @@ post:
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"402":
$ref: ../../components/responses/PaymentRequired.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
"404":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ post:
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"402":
$ref: ../../components/responses/PaymentRequired.yaml
"403":
$ref: ../../components/responses/Forbidden.yaml
"404":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ get:
$ref: ../../components/schemas/actor-builds/BuildResponse.yaml
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
# Although the endpoint does not require a token, the API still validates any token that is supplied and returns 401 for an invalid one.
$ref: ../../components/responses/Unauthorized.yaml
"403":
# It should be 404, but is 403 for backwards compatibility. https://github.com/apify/apify-core/pull/17414
$ref: ../../components/responses/Forbidden.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ post:
myOtherValue: some other value
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"402":
$ref: ../../components/responses/PaymentRequired.yaml
"403":
Expand Down
2 changes: 2 additions & 0 deletions apify-api/openapi/paths/store/store.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ get:
$ref: ../../components/schemas/store/ListOfActorsInStoreResponse.yaml
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
$ref: ../../components/responses/Unauthorized.yaml
"405":
$ref: ../../components/responses/MethodNotAllowed.yaml
"429":
Expand Down
Loading