From 8e8a80638c5351afb950b4699b27f81678eb32e8 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Fri, 22 May 2026 20:17:13 +0200 Subject: [PATCH 1/9] fix(openapi): add buildNumber to BuildShort schema The build list endpoint returns buildNumber, but it was missing from the BuildShort schema. As a result, generated clients (e.g. Pydantic models in apify-client-python) treated it as an undeclared extra field, exposing it only under the camelCase name and breaking the snake_case convention. --- .../openapi/components/schemas/actor-builds/BuildShort.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index a421e00b6c..2e49ed80ca 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -4,6 +4,7 @@ required: - status - startedAt - usageTotalUsd + - buildNumber type: object properties: id: @@ -25,5 +26,8 @@ properties: usageTotalUsd: type: number examples: [0.02] + buildNumber: + type: string + examples: [0.1.1] meta: $ref: ./BuildsMeta.yaml From 9703299e7a42f622dc722822cf5dda793bc8af1d Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Sat, 23 May 2026 20:07:39 +0200 Subject: [PATCH 2/9] fix(openapi): add missing response fields surfaced by Python client tests Co-Authored-By: Claude Opus 4.7 (1M context) --- .../schemas/actor-builds/Build.yaml | 15 ++++++ .../schemas/actor-builds/BuildShort.yaml | 6 +++ .../schemas/actor-builds/BuildStats.yaml | 3 ++ .../components/schemas/actor-runs/Run.yaml | 4 ++ .../schemas/actor-runs/RunShort.yaml | 6 +++ .../components/schemas/actors/Actor.yaml | 32 +++++++++++++ .../components/schemas/actors/ActorStats.yaml | 28 +++++++++++ .../schemas/actors/TaggedBuildInfo.yaml | 4 ++ .../schemas/datasets/DatasetListItem.yaml | 10 ++++ .../schemas/datasets/ListOfDatasets.yaml | 4 ++ .../key-value-stores/KeyValueStore.yaml | 8 ++++ .../key-value-stores/KeyValueStoreStats.yaml | 3 ++ .../ListOfKeyValueStores.yaml | 4 ++ .../request-queues/ListOfRequestQueues.yaml | 4 ++ .../schemas/request-queues/RequestQueue.yaml | 6 +++ .../request-queues/RequestQueueShort.yaml | 4 ++ .../schemas/schedules/Schedule.yaml | 7 +++ .../schemas/store/CurrentPricingInfo.yaml | 47 +++++++++++++++++++ .../schemas/store/StoreListActor.yaml | 15 ++++++ .../components/schemas/users/Current.yaml | 3 ++ .../components/schemas/users/Limits.yaml | 3 ++ .../components/schemas/users/Plan.yaml | 16 +++++++ .../components/schemas/users/ProxyGroup.yaml | 2 +- .../webhook-dispatches/WebhookDispatch.yaml | 18 +++++++ .../webhooks/ExampleWebhookDispatch.yaml | 4 ++ .../schemas/webhooks/WebhookShort.yaml | 9 ++++ 26 files changed, 264 insertions(+), 1 deletion(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index ec4e745d36..820951c339 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -64,6 +64,21 @@ properties: buildNumber: type: string examples: [0.1.1] + actVersion: + type: object + description: Snapshot of the Actor version that this build was created from. + properties: + gitRepoUrl: + type: string + examples: ["https://github.com/apifytech/actor-crawler.git#experimental:web-scraper"] + sourceType: + $ref: ../actors/VersionSourceType.yaml + buildTag: + type: string + examples: [experimental] + versionNumber: + type: string + examples: ["0.0"] actorDefinition: anyOf: - $ref: ../actors/ActorDefinition.yaml diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index 2e49ed80ca..c0c85c6072 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -13,6 +13,9 @@ properties: actId: type: string examples: [janedoe~my-actor] + userId: + type: string + examples: [klmdEpoiojmdEMlk3] status: $ref: ../common/ActorJobStatus.yaml startedAt: @@ -29,5 +32,8 @@ properties: buildNumber: type: string examples: [0.1.1] + buildNumberInt: + type: integer + examples: [10000] meta: $ref: ./BuildsMeta.yaml diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildStats.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildStats.yaml index 770d1aab7c..6e98b57b1e 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildStats.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildStats.yaml @@ -12,3 +12,6 @@ properties: computeUnits: type: number examples: [0.0126994444444444] + imageSizeBytes: + type: integer + examples: [975770223] diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index ea7ecce77a..b0f100b639 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -177,3 +177,7 @@ properties: items: $ref: ./Metamorph.yaml - type: "null" + platformUsageBillingModel: + type: string + description: Indicates which party covers platform usage costs for this run. + examples: [USER] diff --git a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml index 07ddacfe19..60e4fce957 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml @@ -18,6 +18,9 @@ properties: actId: type: string examples: [HDSasDasz78YcAPEB] + userId: + type: string + examples: [7sT5jcggjjA9fNcxF] actorTaskId: type: [string, "null"] examples: [KJHSKHausidyaJKHs] @@ -37,6 +40,9 @@ properties: buildNumber: type: string examples: [0.0.2] + buildNumberInt: + type: integer + examples: [10000] meta: $ref: ./RunMeta.yaml usageTotalUsd: diff --git a/apify-api/openapi/components/schemas/actors/Actor.yaml b/apify-api/openapi/components/schemas/actors/Actor.yaml index 3e775637cc..4cacd68d4e 100644 --- a/apify-api/openapi/components/schemas/actors/Actor.yaml +++ b/apify-api/openapi/components/schemas/actors/Actor.yaml @@ -81,3 +81,35 @@ properties: readmeSummary: type: string description: A brief, LLM-generated readme summary + seoTitle: + type: [string, "null"] + examples: [Web Scraper] + seoDescription: + type: [string, "null"] + examples: ["Crawls websites using Chrome and extracts data from pages using JavaScript."] + pictureUrl: + type: [string, "null"] + examples: ["https://apify-image-uploads-prod.s3.amazonaws.com/.../actor-picture.png"] + standbyUrl: + type: [string, "null"] + examples: ["https://my-actor.apify.actor"] + notice: + type: string + examples: [NONE] + categories: + type: array + items: + type: string + examples: [["DEVELOPER_TOOLS", "OPEN_SOURCE"]] + isCritical: + type: boolean + examples: [false] + isGeneric: + type: boolean + examples: [false] + isSourceCodeHidden: + type: boolean + examples: [false] + hasNoDataset: + type: boolean + examples: [false] diff --git a/apify-api/openapi/components/schemas/actors/ActorStats.yaml b/apify-api/openapi/components/schemas/actors/ActorStats.yaml index af846b5a42..e23b67ab8b 100644 --- a/apify-api/openapi/components/schemas/actors/ActorStats.yaml +++ b/apify-api/openapi/components/schemas/actors/ActorStats.yaml @@ -26,3 +26,31 @@ properties: type: string format: date-time examples: ["2019-07-08T14:01:05.546Z"] + actorReviewCount: + type: integer + examples: [69] + actorReviewRating: + type: number + examples: [4.7] + bookmarkCount: + type: integer + examples: [1269] + publicActorRunStats30Days: + type: object + description: Run status counts over the past 30 days. + properties: + ABORTED: + type: integer + examples: [2542] + FAILED: + type: integer + examples: [1234] + SUCCEEDED: + type: integer + examples: [732805] + "TIMED-OUT": + type: integer + examples: [12556] + TOTAL: + type: integer + examples: [749137] diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml index 50e0aa9e61..1e62c27c46 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml @@ -10,6 +10,10 @@ properties: type: string description: The build number/version string. examples: [0.0.2] + buildNumberInt: + type: integer + description: The build number encoded as a single integer. + examples: [42] finishedAt: type: [string, "null"] format: date-time diff --git a/apify-api/openapi/components/schemas/datasets/DatasetListItem.yaml b/apify-api/openapi/components/schemas/datasets/DatasetListItem.yaml index 334b6d52be..dcaa73b769 100644 --- a/apify-api/openapi/components/schemas/datasets/DatasetListItem.yaml +++ b/apify-api/openapi/components/schemas/datasets/DatasetListItem.yaml @@ -43,3 +43,13 @@ properties: actRunId: type: [string, "null"] examples: [HG7ML7M8z78YcAPEB] + title: + type: [string, "null"] + examples: [My Dataset] + username: + type: string + examples: [janedoe] + generalAccess: + $ref: ../common/GeneralAccess.yaml + stats: + $ref: ./DatasetStats.yaml diff --git a/apify-api/openapi/components/schemas/datasets/ListOfDatasets.yaml b/apify-api/openapi/components/schemas/datasets/ListOfDatasets.yaml index 9158b6f120..e1add95a53 100644 --- a/apify-api/openapi/components/schemas/datasets/ListOfDatasets.yaml +++ b/apify-api/openapi/components/schemas/datasets/ListOfDatasets.yaml @@ -5,6 +5,10 @@ allOf: required: - items properties: + unnamed: + type: boolean + description: Whether the listing was filtered to only unnamed datasets. + examples: [false] items: type: array items: diff --git a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStore.yaml b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStore.yaml index 6341cf9200..5272e24988 100644 --- a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStore.yaml +++ b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStore.yaml @@ -45,6 +45,14 @@ properties: format: uri description: A public link to access keys of the key-value store directly. examples: [https://api.apify.com/v2/key-value-stores/WkzbQMuFYuamGv3YF/keys?signature=abc123] + recordsPublicUrl: + type: string + format: uri + description: A public link to access records of the key-value store directly. + examples: [https://api.apify.com/v2/key-value-stores/WkzbQMuFYuamGv3YF/records] + schema: + type: [object, "null"] + description: Optional JSON schema describing the keys stored in the key-value store. urlSigningSecretKey: type: [string, "null"] description: A secret key for generating signed public URLs. It is only provided to clients with WRITE permission for the key-value store. diff --git a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml index 60f372cb17..2bf4db71b5 100644 --- a/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml +++ b/apify-api/openapi/components/schemas/key-value-stores/KeyValueStoreStats.yaml @@ -21,3 +21,6 @@ properties: s3StorageBytes: type: integer examples: [18] + storageBytes: + type: integer + examples: [457225] diff --git a/apify-api/openapi/components/schemas/key-value-stores/ListOfKeyValueStores.yaml b/apify-api/openapi/components/schemas/key-value-stores/ListOfKeyValueStores.yaml index 89cd49dfc7..64ae644471 100644 --- a/apify-api/openapi/components/schemas/key-value-stores/ListOfKeyValueStores.yaml +++ b/apify-api/openapi/components/schemas/key-value-stores/ListOfKeyValueStores.yaml @@ -5,6 +5,10 @@ allOf: required: - items properties: + unnamed: + type: boolean + description: Whether the listing was filtered to only unnamed key-value stores. + examples: [false] items: type: array items: diff --git a/apify-api/openapi/components/schemas/request-queues/ListOfRequestQueues.yaml b/apify-api/openapi/components/schemas/request-queues/ListOfRequestQueues.yaml index 3587976478..fbfe9d458f 100644 --- a/apify-api/openapi/components/schemas/request-queues/ListOfRequestQueues.yaml +++ b/apify-api/openapi/components/schemas/request-queues/ListOfRequestQueues.yaml @@ -6,6 +6,10 @@ allOf: required: - items properties: + unnamed: + type: boolean + description: Whether the listing was filtered to only unnamed request queues. + examples: [false] items: type: array description: The array of request queues. diff --git a/apify-api/openapi/components/schemas/request-queues/RequestQueue.yaml b/apify-api/openapi/components/schemas/request-queues/RequestQueue.yaml index d15fda7622..a0f9253c2e 100644 --- a/apify-api/openapi/components/schemas/request-queues/RequestQueue.yaml +++ b/apify-api/openapi/components/schemas/request-queues/RequestQueue.yaml @@ -21,6 +21,12 @@ properties: examples: [some-name] userId: $ref: ./SharedProperties.yaml#/QueueUserId + actId: + type: [string, "null"] + description: The ID of the Actor that created this request queue. + actRunId: + type: [string, "null"] + description: The ID of the Actor run that created this request queue. createdAt: $ref: ./SharedProperties.yaml#/QueueCreatedAt modifiedAt: diff --git a/apify-api/openapi/components/schemas/request-queues/RequestQueueShort.yaml b/apify-api/openapi/components/schemas/request-queues/RequestQueueShort.yaml index 8ee8bd79d4..ff2b875fa5 100644 --- a/apify-api/openapi/components/schemas/request-queues/RequestQueueShort.yaml +++ b/apify-api/openapi/components/schemas/request-queues/RequestQueueShort.yaml @@ -51,3 +51,7 @@ properties: description: The ID of the Actor run that created this request queue. hadMultipleClients: $ref: ./SharedProperties.yaml#/HadMultipleClients + generalAccess: + $ref: ../common/GeneralAccess.yaml + stats: + $ref: ./RequestQueueStats.yaml diff --git a/apify-api/openapi/components/schemas/schedules/Schedule.yaml b/apify-api/openapi/components/schemas/schedules/Schedule.yaml index 625c8627ca..36511f0579 100644 --- a/apify-api/openapi/components/schemas/schedules/Schedule.yaml +++ b/apify-api/openapi/components/schemas/schedules/Schedule.yaml @@ -25,6 +25,13 @@ Schedule: examples: [Schedule of actor ...] title: type: [string, "null"] + notifications: + type: object + description: Notification settings for this schedule. + properties: + email: + type: boolean + examples: [true] actions: type: array items: diff --git a/apify-api/openapi/components/schemas/store/CurrentPricingInfo.yaml b/apify-api/openapi/components/schemas/store/CurrentPricingInfo.yaml index df6b72be74..306093f6b8 100644 --- a/apify-api/openapi/components/schemas/store/CurrentPricingInfo.yaml +++ b/apify-api/openapi/components/schemas/store/CurrentPricingInfo.yaml @@ -6,3 +6,50 @@ properties: pricingModel: type: string examples: [FREE] + apifyMarginPercentage: + type: number + examples: [0.2] + createdAt: + type: string + format: date-time + examples: ["2023-01-01T00:00:00.000Z"] + startedAt: + type: string + format: date-time + examples: ["2023-01-01T00:00:00.000Z"] + notifiedAboutChangeAt: + type: [string, "null"] + format: date-time + examples: [null] + notifiedAboutFutureChangeAt: + type: [string, "null"] + format: date-time + examples: [null] + isPriceChangeNotificationSuppressed: + type: boolean + examples: [false] + forceContainsSignificantPriceChange: + type: boolean + examples: [false] + isPPEPlatformUsagePaidByUser: + type: boolean + examples: [false] + reasonForChange: + type: [string, "null"] + examples: [null] + trialMinutes: + type: [integer, "null"] + examples: [null] + unitName: + type: [string, "null"] + examples: [null] + pricePerUnitUsd: + type: [number, "null"] + examples: [null] + minimalMaxTotalChargeUsd: + type: [number, "null"] + examples: [0.5] + pricingPerEvent: + type: [object, "null"] + description: Per-event pricing configuration for pay-per-event Actors. + additionalProperties: true diff --git a/apify-api/openapi/components/schemas/store/StoreListActor.yaml b/apify-api/openapi/components/schemas/store/StoreListActor.yaml index 76784b9c7b..db9ad775ce 100644 --- a/apify-api/openapi/components/schemas/store/StoreListActor.yaml +++ b/apify-api/openapi/components/schemas/store/StoreListActor.yaml @@ -56,6 +56,21 @@ properties: isWhiteListedForAgenticPayment: type: [boolean, "null"] description: Whether the Actor is whitelisted for agentic payment processing. + isWhiteListedForAgenticPayments: + type: [boolean, "null"] + description: Whether the Actor is whitelisted for agentic payment processing. + actorReviewCount: + type: integer + examples: [69] + actorReviewRating: + type: number + examples: [4.7] + bookmarkCount: + type: integer + examples: [1269] + badge: + type: [string, "null"] + examples: [null] readmeSummary: type: string description: A brief, LLM-generated readme summary diff --git a/apify-api/openapi/components/schemas/users/Current.yaml b/apify-api/openapi/components/schemas/users/Current.yaml index 77bd69e1cb..d1560f2912 100644 --- a/apify-api/openapi/components/schemas/users/Current.yaml +++ b/apify-api/openapi/components/schemas/users/Current.yaml @@ -42,3 +42,6 @@ properties: teamAccountSeatCount: type: integer examples: [5] + scheduleCount: + type: integer + examples: [77] diff --git a/apify-api/openapi/components/schemas/users/Limits.yaml b/apify-api/openapi/components/schemas/users/Limits.yaml index efda956dc4..4b34e95cf6 100644 --- a/apify-api/openapi/components/schemas/users/Limits.yaml +++ b/apify-api/openapi/components/schemas/users/Limits.yaml @@ -46,3 +46,6 @@ properties: dataRetentionDays: type: integer examples: [90] + maxScheduleCount: + type: integer + examples: [100] diff --git a/apify-api/openapi/components/schemas/users/Plan.yaml b/apify-api/openapi/components/schemas/users/Plan.yaml index 8471b794d3..0e3c9bd4cb 100644 --- a/apify-api/openapi/components/schemas/users/Plan.yaml +++ b/apify-api/openapi/components/schemas/users/Plan.yaml @@ -89,3 +89,19 @@ properties: items: type: string examples: [[]] + tier: + type: string + examples: [FREE] + apiRateLimitBoosts: + type: integer + examples: [0] + maxScheduleCount: + type: integer + examples: [100] + maxConcurrentActorRuns: + type: integer + examples: [25] + planPricing: + type: object + description: Pricing details for this plan. + additionalProperties: true diff --git a/apify-api/openapi/components/schemas/users/ProxyGroup.yaml b/apify-api/openapi/components/schemas/users/ProxyGroup.yaml index ed7e403845..098e3e802b 100644 --- a/apify-api/openapi/components/schemas/users/ProxyGroup.yaml +++ b/apify-api/openapi/components/schemas/users/ProxyGroup.yaml @@ -9,7 +9,7 @@ properties: type: string examples: [Group1] description: - type: string + type: [string, "null"] examples: [Group1 description] availableCount: type: integer diff --git a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml index 7b0cde4175..7d313dacf8 100644 --- a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml +++ b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml @@ -38,6 +38,24 @@ properties: actorRunId: type: string examples: [JgwXN9BdwxGcu9MMF] + webhook: + title: webhook + type: [object, "null"] + description: A summary of the webhook that triggered this dispatch. + properties: + actionType: + type: string + examples: [HTTP_REQUEST] + condition: + type: object + additionalProperties: true + requestUrl: + type: string + format: uri + examples: ["https://example.com/webhook"] + isAdHoc: + type: boolean + examples: [false] calls: title: calls type: array diff --git a/apify-api/openapi/components/schemas/webhooks/ExampleWebhookDispatch.yaml b/apify-api/openapi/components/schemas/webhooks/ExampleWebhookDispatch.yaml index 719990542c..5e3bd04dce 100644 --- a/apify-api/openapi/components/schemas/webhooks/ExampleWebhookDispatch.yaml +++ b/apify-api/openapi/components/schemas/webhooks/ExampleWebhookDispatch.yaml @@ -9,3 +9,7 @@ properties: type: [string, "null"] format: date-time examples: ["2019-12-13T08:36:13.202Z"] + removedAt: + type: [string, "null"] + format: date-time + examples: [null] diff --git a/apify-api/openapi/components/schemas/webhooks/WebhookShort.yaml b/apify-api/openapi/components/schemas/webhooks/WebhookShort.yaml index 1b90649d75..a075d248a5 100644 --- a/apify-api/openapi/components/schemas/webhooks/WebhookShort.yaml +++ b/apify-api/openapi/components/schemas/webhooks/WebhookShort.yaml @@ -28,6 +28,15 @@ properties: isAdHoc: type: [boolean, "null"] examples: [false] + isApifyIntegration: + type: boolean + examples: [false] + isEnabled: + type: boolean + examples: [true] + actionType: + type: string + examples: [HTTP_REQUEST] shouldInterpolateStrings: type: [boolean, "null"] examples: [false] From 403eda27b7d70dfd47716a1103a4b8a1cfbbc4e7 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Sat, 23 May 2026 20:57:45 +0200 Subject: [PATCH 3/9] fix(openapi): address review feedback on field additions Co-Authored-By: Claude Opus 4.7 (1M context) --- .../components/schemas/actor-builds/Build.yaml | 13 ++++++++++--- .../components/schemas/schedules/Schedule.yaml | 1 + .../schemas/store/ListOfActorsInStoreResponse.yaml | 4 ++-- .../components/schemas/store/StoreListActor.yaml | 3 --- .../schemas/webhook-dispatches/WebhookDispatch.yaml | 5 ++--- 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index 820951c339..a981c0947a 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -65,12 +65,10 @@ properties: type: string examples: [0.1.1] actVersion: + title: BuildActVersion type: object description: Snapshot of the Actor version that this build was created from. properties: - gitRepoUrl: - type: string - examples: ["https://github.com/apifytech/actor-crawler.git#experimental:web-scraper"] sourceType: $ref: ../actors/VersionSourceType.yaml buildTag: @@ -79,6 +77,15 @@ properties: versionNumber: type: string examples: ["0.0"] + gitRepoUrl: + type: string + description: URL of the git repository, present when sourceType is GIT_REPO. + examples: ["https://github.com/apifytech/actor-crawler.git#experimental:web-scraper"] + sourceFiles: + type: array + description: Inline source files, present when sourceType is SOURCE_FILES. + items: + $ref: ../actors/SourceCodeFile.yaml actorDefinition: anyOf: - $ref: ../actors/ActorDefinition.yaml diff --git a/apify-api/openapi/components/schemas/schedules/Schedule.yaml b/apify-api/openapi/components/schemas/schedules/Schedule.yaml index 36511f0579..c437e03fcd 100644 --- a/apify-api/openapi/components/schemas/schedules/Schedule.yaml +++ b/apify-api/openapi/components/schemas/schedules/Schedule.yaml @@ -26,6 +26,7 @@ Schedule: title: type: [string, "null"] notifications: + title: ScheduleNotifications type: object description: Notification settings for this schedule. properties: diff --git a/apify-api/openapi/components/schemas/store/ListOfActorsInStoreResponse.yaml b/apify-api/openapi/components/schemas/store/ListOfActorsInStoreResponse.yaml index 0f2094fdef..eae6c79baf 100644 --- a/apify-api/openapi/components/schemas/store/ListOfActorsInStoreResponse.yaml +++ b/apify-api/openapi/components/schemas/store/ListOfActorsInStoreResponse.yaml @@ -33,7 +33,7 @@ example: lastRunStartedAt: "2019-07-08T14:01:05.546Z" currentPricingInfo: pricingModel: FREE - isWhiteListedForAgenticPayment: true + isWhiteListedForAgenticPayments: true - id: zdc3Pyhyz3m8vjDeM title: My Public Actor name: my-public-actor @@ -57,4 +57,4 @@ example: lastRunStartedAt: "2019-07-08T14:01:05.546Z" currentPricingInfo: pricingModel: FREE - isWhiteListedForAgenticPayment: false + isWhiteListedForAgenticPayments: false diff --git a/apify-api/openapi/components/schemas/store/StoreListActor.yaml b/apify-api/openapi/components/schemas/store/StoreListActor.yaml index db9ad775ce..ee1208e4a2 100644 --- a/apify-api/openapi/components/schemas/store/StoreListActor.yaml +++ b/apify-api/openapi/components/schemas/store/StoreListActor.yaml @@ -53,9 +53,6 @@ properties: $ref: ../actors/ActorStats.yaml currentPricingInfo: $ref: ./CurrentPricingInfo.yaml - isWhiteListedForAgenticPayment: - type: [boolean, "null"] - description: Whether the Actor is whitelisted for agentic payment processing. isWhiteListedForAgenticPayments: type: [boolean, "null"] description: Whether the Actor is whitelisted for agentic payment processing. diff --git a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml index 7d313dacf8..21b4c2adac 100644 --- a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml +++ b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml @@ -39,7 +39,7 @@ properties: type: string examples: [JgwXN9BdwxGcu9MMF] webhook: - title: webhook + title: WebhookDispatchWebhookSummary type: [object, "null"] description: A summary of the webhook that triggered this dispatch. properties: @@ -47,8 +47,7 @@ properties: type: string examples: [HTTP_REQUEST] condition: - type: object - additionalProperties: true + $ref: ../webhooks/WebhookCondition.yaml requestUrl: type: string format: uri From 086542e6ed7561cf7b5cdf05f88d7f9cfde6e716 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Sat, 23 May 2026 21:21:33 +0200 Subject: [PATCH 4/9] fix(openapi): permissive actVersion.sourceType + optional DatasetStats fields CI integration tests failed because: - the API returns sourceType=SOURCE_CODE which is not in VersionSourceType enum - DatasetStats list responses omit storageBytes (only inflatedBytes/readCount/writeCount are returned) Co-Authored-By: Claude Opus 4.7 (1M context) --- .../openapi/components/schemas/actor-builds/Build.yaml | 4 +++- .../components/schemas/datasets/DatasetStats.yaml | 9 +++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index a981c0947a..40e5e18fb2 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -70,7 +70,9 @@ properties: description: Snapshot of the Actor version that this build was created from. properties: sourceType: - $ref: ../actors/VersionSourceType.yaml + type: string + description: The source type of the Actor version (e.g. SOURCE_FILES, GIT_REPO, TARBALL, GITHUB_GIST). + examples: [SOURCE_FILES] buildTag: type: string examples: [experimental] diff --git a/apify-api/openapi/components/schemas/datasets/DatasetStats.yaml b/apify-api/openapi/components/schemas/datasets/DatasetStats.yaml index 7ec31499bc..ed2f50262f 100644 --- a/apify-api/openapi/components/schemas/datasets/DatasetStats.yaml +++ b/apify-api/openapi/components/schemas/datasets/DatasetStats.yaml @@ -1,8 +1,4 @@ title: DatasetStats -required: - - readCount - - writeCount - - storageBytes type: object properties: readCount: @@ -13,4 +9,9 @@ properties: examples: [3] storageBytes: type: integer + description: Total storage size in bytes. Only returned by the single-dataset endpoint. examples: [783] + inflatedBytes: + type: integer + description: Uncompressed size in bytes. Only returned by the dataset list endpoint. + examples: [0] From 21cd13599917636d5e492a1301a7078b9c69b4fc Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Sat, 23 May 2026 21:46:50 +0200 Subject: [PATCH 5/9] fix(openapi): extend VersionSourceType + extract WebhookDispatchWebhookSummary - VersionSourceType: add SOURCE_CODE value the API actually returns (was producing literal_error in client validation) - WebhookDispatch.webhook: extract inline object to a top-level WebhookDispatchWebhookSummary schema so codegen doesn't synthesize a Webhook1 name that collides with the Webhook schema Co-Authored-By: Claude Opus 4.7 (1M context) --- .../schemas/actor-builds/Build.yaml | 4 +--- .../schemas/actors/VersionSourceType.yaml | 1 + .../webhook-dispatches/WebhookDispatch.yaml | 19 +++---------------- .../WebhookDispatchWebhookSummary.yaml | 16 ++++++++++++++++ 4 files changed, 21 insertions(+), 19 deletions(-) create mode 100644 apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatchWebhookSummary.yaml diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index 40e5e18fb2..a981c0947a 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -70,9 +70,7 @@ properties: description: Snapshot of the Actor version that this build was created from. properties: sourceType: - type: string - description: The source type of the Actor version (e.g. SOURCE_FILES, GIT_REPO, TARBALL, GITHUB_GIST). - examples: [SOURCE_FILES] + $ref: ../actors/VersionSourceType.yaml buildTag: type: string examples: [experimental] diff --git a/apify-api/openapi/components/schemas/actors/VersionSourceType.yaml b/apify-api/openapi/components/schemas/actors/VersionSourceType.yaml index 5a27bca03d..e3c611155a 100644 --- a/apify-api/openapi/components/schemas/actors/VersionSourceType.yaml +++ b/apify-api/openapi/components/schemas/actors/VersionSourceType.yaml @@ -4,4 +4,5 @@ enum: - GIT_REPO - TARBALL - GITHUB_GIST + - SOURCE_CODE type: string diff --git a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml index 21b4c2adac..44d03aa85b 100644 --- a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml +++ b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatch.yaml @@ -39,22 +39,9 @@ properties: type: string examples: [JgwXN9BdwxGcu9MMF] webhook: - title: WebhookDispatchWebhookSummary - type: [object, "null"] - description: A summary of the webhook that triggered this dispatch. - properties: - actionType: - type: string - examples: [HTTP_REQUEST] - condition: - $ref: ../webhooks/WebhookCondition.yaml - requestUrl: - type: string - format: uri - examples: ["https://example.com/webhook"] - isAdHoc: - type: boolean - examples: [false] + anyOf: + - $ref: ./WebhookDispatchWebhookSummary.yaml + - type: "null" calls: title: calls type: array diff --git a/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatchWebhookSummary.yaml b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatchWebhookSummary.yaml new file mode 100644 index 0000000000..4a65ed216b --- /dev/null +++ b/apify-api/openapi/components/schemas/webhook-dispatches/WebhookDispatchWebhookSummary.yaml @@ -0,0 +1,16 @@ +title: WebhookDispatchWebhookSummary +description: A summary of the webhook that triggered this dispatch. +type: object +properties: + actionType: + type: string + examples: [HTTP_REQUEST] + condition: + $ref: ../webhooks/WebhookCondition.yaml + requestUrl: + type: string + format: uri + examples: ["https://example.com/webhook"] + isAdHoc: + type: boolean + examples: [false] From d6d1c6ac8b34862c55e94ecc89965c49d4e4d6d3 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Sat, 23 May 2026 22:26:33 +0200 Subject: [PATCH 6/9] fix(openapi): add regex pattern to buildNumber and versionNumber fields --- apify-api/openapi/components/schemas/actor-builds/Build.yaml | 2 ++ .../openapi/components/schemas/actor-builds/BuildShort.yaml | 1 + apify-api/openapi/components/schemas/actor-runs/Run.yaml | 1 + apify-api/openapi/components/schemas/actor-runs/RunShort.yaml | 1 + .../components/schemas/actors/CreateOrUpdateVersionRequest.yaml | 1 + .../openapi/components/schemas/actors/TaggedBuildInfo.yaml | 1 + apify-api/openapi/components/schemas/actors/Version.yaml | 1 + 7 files changed, 8 insertions(+) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index a981c0947a..704dd079a8 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -63,6 +63,7 @@ properties: examples: ['# Magic Actor\nThis Actor is magic.'] buildNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: [0.1.1] actVersion: title: BuildActVersion @@ -76,6 +77,7 @@ properties: examples: [experimental] versionNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: ["0.0"] gitRepoUrl: type: string diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index c0c85c6072..65c8dd8ef8 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -31,6 +31,7 @@ properties: examples: [0.02] buildNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: [0.1.1] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index b0f100b639..344f79ebc8 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -133,6 +133,7 @@ properties: type: string buildNumber: type: [string, "null"] + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ 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/RunShort.yaml b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml index 60e4fce957..c1bdd09250 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml @@ -39,6 +39,7 @@ properties: examples: [HG7ML7M8z78YcAPEB] buildNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: [0.0.2] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml index f7d8d80fae..dea0a41ecc 100644 --- a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml +++ b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml @@ -3,6 +3,7 @@ type: object properties: versionNumber: type: [string, "null"] + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: ["0.0"] sourceType: anyOf: diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml index 1e62c27c46..f919f48b87 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml @@ -8,6 +8,7 @@ properties: examples: [z2EryhbfhgSyqj6Hn] buildNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ description: The build number/version string. examples: [0.0.2] buildNumberInt: diff --git a/apify-api/openapi/components/schemas/actors/Version.yaml b/apify-api/openapi/components/schemas/actors/Version.yaml index ba6044cdc9..d83e6fa375 100644 --- a/apify-api/openapi/components/schemas/actors/Version.yaml +++ b/apify-api/openapi/components/schemas/actors/Version.yaml @@ -6,6 +6,7 @@ required: properties: versionNumber: type: string + pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ examples: ["0.0"] sourceType: anyOf: From d3a8c6bec5ee218f5cccda8e823aad686ddc6ec8 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Mon, 25 May 2026 09:44:38 +0200 Subject: [PATCH 7/9] fix regexes --- apify-api/openapi/components/schemas/actor-builds/Build.yaml | 4 ++-- .../openapi/components/schemas/actor-builds/BuildShort.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/Run.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/RunShort.yaml | 2 +- .../schemas/actors/CreateOrUpdateVersionRequest.yaml | 2 +- .../openapi/components/schemas/actors/TaggedBuildInfo.yaml | 2 +- apify-api/openapi/components/schemas/actors/TaggedBuilds.yaml | 2 +- apify-api/openapi/components/schemas/actors/Version.yaml | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index 704dd079a8..ab7a233c19 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -63,7 +63,7 @@ properties: examples: ['# Magic Actor\nThis Actor is magic.'] buildNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ examples: [0.1.1] actVersion: title: BuildActVersion @@ -77,7 +77,7 @@ properties: examples: [experimental] versionNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ examples: ["0.0"] gitRepoUrl: type: string diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index 65c8dd8ef8..ab16c7ae97 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -31,7 +31,7 @@ properties: examples: [0.02] buildNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ examples: [0.1.1] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index 344f79ebc8..34e7002c29 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -133,7 +133,7 @@ properties: type: string buildNumber: type: [string, "null"] - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ 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/RunShort.yaml b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml index c1bdd09250..652d70070e 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml @@ -39,7 +39,7 @@ properties: examples: [HG7ML7M8z78YcAPEB] buildNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ examples: [0.0.2] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml index dea0a41ecc..090ee5805f 100644 --- a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml +++ b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml @@ -3,7 +3,7 @@ type: object properties: versionNumber: type: [string, "null"] - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ examples: ["0.0"] sourceType: anyOf: diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml index f919f48b87..55f8488aa8 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml @@ -8,7 +8,7 @@ properties: examples: [z2EryhbfhgSyqj6Hn] buildNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ description: The build number/version string. examples: [0.0.2] buildNumberInt: diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuilds.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuilds.yaml index a24f6a6019..0788f4a026 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuilds.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuilds.yaml @@ -12,5 +12,5 @@ example: finishedAt: "2019-06-10T11:15:49.286Z" beta: buildId: abc123def456 - buildNumber: 1.0.0-beta + buildNumber: 1.0.5 finishedAt: "2019-07-15T14:30:00.000Z" diff --git a/apify-api/openapi/components/schemas/actors/Version.yaml b/apify-api/openapi/components/schemas/actors/Version.yaml index d83e6fa375..ee0366dbe6 100644 --- a/apify-api/openapi/components/schemas/actors/Version.yaml +++ b/apify-api/openapi/components/schemas/actors/Version.yaml @@ -6,7 +6,7 @@ required: properties: versionNumber: type: string - pattern: ^[0-9]+(\.[0-9]+)+(-[0-9A-Za-z][0-9A-Za-z\-\.]*)?$ + pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ examples: ["0.0"] sourceType: anyOf: From a15f6c24a4fb9889128c4283b8f92290338406f3 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Mon, 25 May 2026 09:58:22 +0200 Subject: [PATCH 8/9] Updates version regexes --- apify-api/openapi/components/schemas/actor-builds/Build.yaml | 4 ++-- .../openapi/components/schemas/actor-builds/BuildShort.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/Run.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/RunShort.yaml | 2 +- .../schemas/actors/CreateOrUpdateVersionRequest.yaml | 2 +- .../openapi/components/schemas/actors/TaggedBuildInfo.yaml | 2 +- apify-api/openapi/components/schemas/actors/Version.yaml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index ab7a233c19..8903ca570d 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -63,7 +63,7 @@ properties: examples: ['# Magic Actor\nThis Actor is magic.'] buildNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ examples: [0.1.1] actVersion: title: BuildActVersion @@ -77,7 +77,7 @@ properties: examples: [experimental] versionNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])$ examples: ["0.0"] gitRepoUrl: type: string diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index ab16c7ae97..3aaacd5103 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -31,7 +31,7 @@ properties: examples: [0.02] buildNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ examples: [0.1.1] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index 34e7002c29..cd1cb2ca1d 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -133,7 +133,7 @@ properties: type: string buildNumber: type: [string, "null"] - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ 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/RunShort.yaml b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml index 652d70070e..4f6ec70f6d 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml @@ -39,7 +39,7 @@ properties: examples: [HG7ML7M8z78YcAPEB] buildNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ examples: [0.0.2] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml index 090ee5805f..9c150a254e 100644 --- a/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml +++ b/apify-api/openapi/components/schemas/actors/CreateOrUpdateVersionRequest.yaml @@ -3,7 +3,7 @@ type: object properties: versionNumber: type: [string, "null"] - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])$ examples: ["0.0"] sourceType: anyOf: diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml index 55f8488aa8..a8be3accaa 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml @@ -8,7 +8,7 @@ properties: examples: [z2EryhbfhgSyqj6Hn] buildNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ description: The build number/version string. examples: [0.0.2] buildNumberInt: diff --git a/apify-api/openapi/components/schemas/actors/Version.yaml b/apify-api/openapi/components/schemas/actors/Version.yaml index ee0366dbe6..86dc4b2723 100644 --- a/apify-api/openapi/components/schemas/actors/Version.yaml +++ b/apify-api/openapi/components/schemas/actors/Version.yaml @@ -6,7 +6,7 @@ required: properties: versionNumber: type: string - pattern: ^(0|[1-9][0-9]?)\.(0|[1-9][0-9]?)$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])$ examples: ["0.0"] sourceType: anyOf: From 875356824197b2c26437a505fe2f9e610f1d6d09 Mon Sep 17 00:00:00 2001 From: Vlada Dusek Date: Mon, 25 May 2026 13:13:52 +0200 Subject: [PATCH 9/9] address feedback --- apify-api/openapi/components/schemas/actor-builds/Build.yaml | 2 +- .../openapi/components/schemas/actor-builds/BuildShort.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/Run.yaml | 2 +- apify-api/openapi/components/schemas/actor-runs/RunShort.yaml | 2 +- .../openapi/components/schemas/actors/TaggedBuildInfo.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apify-api/openapi/components/schemas/actor-builds/Build.yaml b/apify-api/openapi/components/schemas/actor-builds/Build.yaml index 8903ca570d..1b67edb43a 100644 --- a/apify-api/openapi/components/schemas/actor-builds/Build.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/Build.yaml @@ -63,7 +63,7 @@ properties: examples: ['# Magic Actor\nThis Actor is magic.'] buildNumber: type: string - pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$ examples: [0.1.1] actVersion: title: BuildActVersion diff --git a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml index 3aaacd5103..fe4e2b2322 100644 --- a/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml +++ b/apify-api/openapi/components/schemas/actor-builds/BuildShort.yaml @@ -31,7 +31,7 @@ properties: examples: [0.02] buildNumber: type: string - pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$ examples: [0.1.1] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actor-runs/Run.yaml b/apify-api/openapi/components/schemas/actor-runs/Run.yaml index cd1cb2ca1d..f9727b6755 100644 --- a/apify-api/openapi/components/schemas/actor-runs/Run.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/Run.yaml @@ -133,7 +133,7 @@ properties: type: string buildNumber: type: [string, "null"] - pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$ 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/RunShort.yaml b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml index 4f6ec70f6d..75e5800ea7 100644 --- a/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml +++ b/apify-api/openapi/components/schemas/actor-runs/RunShort.yaml @@ -39,7 +39,7 @@ properties: examples: [HG7ML7M8z78YcAPEB] buildNumber: type: string - pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$ examples: [0.0.2] buildNumberInt: type: integer diff --git a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml index a8be3accaa..08dfe5dae5 100644 --- a/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml +++ b/apify-api/openapi/components/schemas/actors/TaggedBuildInfo.yaml @@ -8,7 +8,7 @@ properties: examples: [z2EryhbfhgSyqj6Hn] buildNumber: type: string - pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})?$ + pattern: ^([0-9]|[1-9][0-9])\.([0-9]|[1-9][0-9])(\.[1-9][0-9]{0,4})$ description: The build number/version string. examples: [0.0.2] buildNumberInt: