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
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ allOf:
- type: object
required:
- pricingModel
- pricePerUnitUsd
- trialMinutes
properties:
pricingModel:
$ref: ./PricingModel.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ allOf:
- type: object
required:
- pricingModel
- pricingPerEvent
properties:
pricingModel:
$ref: ./PricingModel.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ allOf:
- type: object
required:
- pricingModel
- pricePerUnitUsd
- unitName
properties:
pricingModel:
$ref: ./PricingModel.yaml
Expand Down
2 changes: 1 addition & 1 deletion apify-api/openapi/components/schemas/actor-runs/Run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ properties:
additionalProperties:
type: string
buildNumber:
type: string
type: [string, "null"]
examples: [0.0.36]
description: Build number of the Actor build used for this run.
containerUrl:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ properties:
minimum: 0
examples: [2048]
maxItems:
type: integer
type: [integer, "null"]
minimum: 1
examples: [1000]
maxTotalChargeUsd:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ required:
type: object
properties:
inputBodyLen:
type: integer
type: [integer, "null"]
minimum: 0
examples: [240]
migrationCount:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ActorNotFoundError:
properties:
type:
type: string
enum: [actor-not-found]
enum: [actor-not-found, record-not-found]
message:
type: string
example: Actor was not found
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ UniqueKey:

RequestUrl:
type: string
format: uri
description: The URL of the request.
examples: [https://apify.com]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ post:
responses:
"201":
description: "The charge was successful. Note that you still have to make sure in your Actor that the total charge for the run respects the maximum value set by the user, as the API does not check this. Above the limit, the charges reported as successful in API will not be added to your payouts, but you will still bear the associated costs. Use the Apify charge manager or SDK to avoid having to deal with this manually."
content:
application/json:
schema:
type: object
"400":
$ref: ../../components/responses/BadRequest.yaml
"401":
Expand Down
2 changes: 2 additions & 0 deletions apify-api/openapi/paths/actor-tasks/actor-tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,8 @@ post:
$ref: ../../components/responses/Forbidden.yaml
"405":
$ref: ../../components/responses/MethodNotAllowed.yaml
"409":
$ref: ../../components/responses/Conflict.yaml
"413":
$ref: ../../components/responses/PayloadTooLarge.yaml
"415":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ get:
description: ""
headers: {}
content:
application/json:
schema:
$ref: ../../components/schemas/key-value-stores/RecordResponse.yaml
"*/*":
schema: {}
"302":
Expand Down
Loading