diff --git a/apify-api/openapi/components/schemas/actor-pricing-info/FlatPricePerMonthActorPricingInfo.yaml b/apify-api/openapi/components/schemas/actor-pricing-info/FlatPricePerMonthActorPricingInfo.yaml index 6ce7b75c71..9c51db757b 100644 --- a/apify-api/openapi/components/schemas/actor-pricing-info/FlatPricePerMonthActorPricingInfo.yaml +++ b/apify-api/openapi/components/schemas/actor-pricing-info/FlatPricePerMonthActorPricingInfo.yaml @@ -4,8 +4,6 @@ allOf: - type: object required: - pricingModel - - pricePerUnitUsd - - trialMinutes properties: pricingModel: $ref: ./PricingModel.yaml diff --git a/apify-api/openapi/components/schemas/actor-pricing-info/PayPerEventActorPricingInfo.yaml b/apify-api/openapi/components/schemas/actor-pricing-info/PayPerEventActorPricingInfo.yaml index 92b5ba9aa3..af41d649c4 100644 --- a/apify-api/openapi/components/schemas/actor-pricing-info/PayPerEventActorPricingInfo.yaml +++ b/apify-api/openapi/components/schemas/actor-pricing-info/PayPerEventActorPricingInfo.yaml @@ -4,7 +4,6 @@ allOf: - type: object required: - pricingModel - - pricingPerEvent properties: pricingModel: $ref: ./PricingModel.yaml diff --git a/apify-api/openapi/components/schemas/actor-pricing-info/PricePerDatasetItemActorPricingInfo.yaml b/apify-api/openapi/components/schemas/actor-pricing-info/PricePerDatasetItemActorPricingInfo.yaml index 845eacd839..11fd82e01c 100644 --- a/apify-api/openapi/components/schemas/actor-pricing-info/PricePerDatasetItemActorPricingInfo.yaml +++ b/apify-api/openapi/components/schemas/actor-pricing-info/PricePerDatasetItemActorPricingInfo.yaml @@ -4,8 +4,6 @@ allOf: - type: object required: - pricingModel - - pricePerUnitUsd - - unitName properties: pricingModel: $ref: ./PricingModel.yaml diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index b3f76d9d9e..c828d1e486 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -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: diff --git a/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml b/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml index 0723482907..dc4b9a3f59 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunOptions.yaml @@ -23,7 +23,7 @@ properties: minimum: 0 examples: [2048] maxItems: - type: integer + type: [integer, "null"] minimum: 1 examples: [1000] maxTotalChargeUsd: diff --git a/apify-api/openapi/components/schemas/actor-runs/RunStats.yaml b/apify-api/openapi/components/schemas/actor-runs/RunStats.yaml index e6827b1580..9af46b96a1 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunStats.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunStats.yaml @@ -6,7 +6,7 @@ required: type: object properties: inputBodyLen: - type: integer + type: [integer, "null"] minimum: 0 examples: [240] migrationCount: diff --git a/apify-api/openapi/components/schemas/common/errors/ActorErrors.yaml b/apify-api/openapi/components/schemas/common/errors/ActorErrors.yaml index 9034a50075..86d117fe1b 100644 --- a/apify-api/openapi/components/schemas/common/errors/ActorErrors.yaml +++ b/apify-api/openapi/components/schemas/common/errors/ActorErrors.yaml @@ -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 diff --git a/apify-api/openapi/components/schemas/request-queues/SharedProperties.yaml b/apify-api/openapi/components/schemas/request-queues/SharedProperties.yaml index 978c9fba9e..0cc68413a8 100644 --- a/apify-api/openapi/components/schemas/request-queues/SharedProperties.yaml +++ b/apify-api/openapi/components/schemas/request-queues/SharedProperties.yaml @@ -15,7 +15,6 @@ UniqueKey: RequestUrl: type: string - format: uri description: The URL of the request. examples: [https://apify.com] diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml index 0a0405e2c9..f36c58fd01 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml @@ -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": diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks.yaml index a07449a249..9d444e3b15 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks.yaml @@ -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": diff --git a/apify-api/openapi/paths/key-value-stores/key-value-stores@{storeId}@records@{recordKey}.yaml b/apify-api/openapi/paths/key-value-stores/key-value-stores@{storeId}@records@{recordKey}.yaml index c268c09a58..fa55ce1f21 100644 --- a/apify-api/openapi/paths/key-value-stores/key-value-stores@{storeId}@records@{recordKey}.yaml +++ b/apify-api/openapi/paths/key-value-stores/key-value-stores@{storeId}@records@{recordKey}.yaml @@ -38,9 +38,6 @@ get: description: "" headers: {} content: - application/json: - schema: - $ref: ../../components/schemas/key-value-stores/RecordResponse.yaml "*/*": schema: {} "302":