From 542395682248f4ea0a384de9987a01c53aceaf71 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Tue, 3 Mar 2026 14:25:09 +0100 Subject: [PATCH 1/3] Extract and re-use common example API responses --- .../components/examples/build-response.yaml | 29 ++++ .../examples/run-list-response.yaml | 36 ++++ .../examples/run-metamorph-response.yaml | 78 +++++++++ .../components/examples/run-response.yaml | 74 +++++++++ .../openapi/paths/actor-runs/actor-runs.yaml | 39 +---- .../paths/actor-runs/actor-runs@{runId}.yaml | 154 +----------------- .../actor-runs@{runId}@metamorph.yaml | 81 +-------- .../actor-runs/actor-runs@{runId}@reboot.yaml | 77 +-------- .../actor-runs@{runId}@resurrect.yaml | 77 +-------- .../actor-tasks@{actorTaskId}@runs.yaml | 39 +---- .../actor-tasks@{actorTaskId}@runs@last.yaml | 77 +-------- .../paths/actors/acts@{actorId}@builds.yaml | 32 +--- .../actors/acts@{actorId}@builds@default.yaml | 32 +--- .../acts@{actorId}@builds@{buildId}.yaml | 32 +--- .../paths/actors/acts@{actorId}@runs.yaml | 116 +------------ .../actors/acts@{actorId}@runs@last.yaml | 77 +-------- .../actors/acts@{actorId}@runs@{runId}.yaml | 77 +-------- ...acts@{actorId}@runs@{runId}@metamorph.yaml | 81 +-------- ...acts@{actorId}@runs@{runId}@resurrect.yaml | 77 +-------- 19 files changed, 268 insertions(+), 1017 deletions(-) create mode 100644 apify-api/openapi/components/examples/build-response.yaml create mode 100644 apify-api/openapi/components/examples/run-list-response.yaml create mode 100644 apify-api/openapi/components/examples/run-metamorph-response.yaml create mode 100644 apify-api/openapi/components/examples/run-response.yaml diff --git a/apify-api/openapi/components/examples/build-response.yaml b/apify-api/openapi/components/examples/build-response.yaml new file mode 100644 index 0000000000..f084229f5d --- /dev/null +++ b/apify-api/openapi/components/examples/build-response.yaml @@ -0,0 +1,29 @@ +value: + data: + id: HG7ML7M8z78YcAPEB + actId: janedoe~my-actor + userId: klmdEpoiojmdEMlk3 + startedAt: "2019-11-30T07:34:24.202Z" + finishedAt: "2019-12-12T09:30:12.202Z" + status: SUCCEEDED + meta: + origin: WEB + clientIp: 172.234.12.34 + userAgent: Mozilla/5.0 (iPad) + stats: + durationMillis: 1000 + runTimeSecs: 45.718 + computeUnits: 0.012699444444444444 + options: + useCache: false + betaPackages: false + memoryMbytes: 1024 + diskMbytes: 2048 + usage: + ACTOR_COMPUTE_UNITS: 0.08 + usageTotalUsd: 0.02 + usageUsd: + ACTOR_COMPUTE_UNITS: 0.02 + inputSchema: '{\n \"title\": \"Schema for ... }' + readme: '# Magic Actor\nThis Actor is magic.' + buildNumber: 0.1.1 diff --git a/apify-api/openapi/components/examples/run-list-response.yaml b/apify-api/openapi/components/examples/run-list-response.yaml new file mode 100644 index 0000000000..7f8ed55e45 --- /dev/null +++ b/apify-api/openapi/components/examples/run-list-response.yaml @@ -0,0 +1,36 @@ +value: + data: + total: 2 + offset: 0 + limit: 1000 + desc: false + count: 2 + items: + - id: HG7ML7M8z78YcAPEB + actId: HDSasDasz78YcAPEB + actorTaskId: KJHSKHausidyaJKHs + status: SUCCEEDED + startedAt: "2019-11-30T07:34:24.202Z" + finishedAt: "2019-12-12T09:30:12.202Z" + buildId: HG7ML7M8z78YcAPEB + buildNumber: 0.0.2 + meta: + origin: WEB + usageTotalUsd: 0.2 + defaultKeyValueStoreId: sfAjeR4QmeJCQzTfe + defaultDatasetId: 3ZojQDdFTsyE7Moy4 + defaultRequestQueueId: so93g2shcDzK3pA85 + - id: HG7ML7M8z78YcAPEB + actId: HDSasDasz78YcAPEB + actorTaskId: KJHSKHausidyaJKHs + status: FAILED + startedAt: "2019-12-12T07:34:14.202Z" + finishedAt: "2019-12-13T08:36:13.202Z" + buildId: u78dML7M8z78YcAPEB + buildNumber: 0.2.2 + meta: + origin: DEVELOPMENT + usageTotalUsd: 0.6 + defaultKeyValueStoreId: sffsouqlseJCQzTfe + defaultDatasetId: CFGggdjQDsyE7Moyw + defaultRequestQueueId: soowucklrmDzKpA8x diff --git a/apify-api/openapi/components/examples/run-metamorph-response.yaml b/apify-api/openapi/components/examples/run-metamorph-response.yaml new file mode 100644 index 0000000000..b5e3491814 --- /dev/null +++ b/apify-api/openapi/components/examples/run-metamorph-response.yaml @@ -0,0 +1,78 @@ +value: + data: + id: HG7ML7M8z78YcAPEB + actId: janedoe~my-actor + userId: PNWZBd7Z9c746JAnF + startedAt: "2019-11-30T07:34:24.202Z" + finishedAt: null + status: RUNNING + statusMessage: Actor is running + isStatusMessageTerminal: false + meta: + origin: WEB + clientIp: 172.234.12.34 + userAgent: Mozilla/5.0 (iPad) + stats: + inputBodyLen: 240 + migrationCount: 0 + restartCount: 0 + resurrectCount: 1 + memAvgBytes: 35914228.4 + memMaxBytes: 38244352 + memCurrentBytes: 0 + cpuAvgUsage: 0.00955965 + cpuMaxUsage: 3.1546 + cpuCurrentUsage: 0 + netRxBytes: 2652 + netTxBytes: 1338 + durationMillis: 26239 + runTimeSecs: 26.239 + metamorph: 0 + computeUnits: 0.0072886 + options: + build: latest + timeoutSecs: 300 + memoryMbytes: 1024 + diskMbytes: 2048 + buildId: HG7ML7M8z78YcAPEB + exitCode: 0 + generalAccess: RESTRICTED + defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ + defaultDatasetId: wmKPijuyDnPZAPRMk + defaultRequestQueueId: FL35cSF7jrxr3BY39 + metamorphs: + - createdAt: "2019-11-30T07:39:24.202Z" + actorId: nspoEjklmnsF2oosD + buildId: ME6oKecqy5kXDS4KQ + inputKey: INPUT-METAMORPH-1 + buildNumber: 0.1.10 + containerUrl: "https://hfewsyknno9o.runs.apify.com" + isContainerServerReady: false + gitBranchName: master + usage: + ACTOR_COMPUTE_UNITS: 3 + DATASET_READS: 4 + DATASET_WRITES: 4 + KEY_VALUE_STORE_READS: 5 + KEY_VALUE_STORE_WRITES: 3 + KEY_VALUE_STORE_LISTS: 5 + REQUEST_QUEUE_READS: 2 + REQUEST_QUEUE_WRITES: 1 + DATA_TRANSFER_INTERNAL_GBYTES: 1 + DATA_TRANSFER_EXTERNAL_GBYTES: 3 + PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 + PROXY_SERPS: 3 + usageTotalUsd: 0.2654 + usageUsd: + ACTOR_COMPUTE_UNITS: 0.072 + DATASET_READS: 0.0004 + DATASET_WRITES: 0.0002 + KEY_VALUE_STORE_READS: 0.0006 + KEY_VALUE_STORE_WRITES: 0.002 + KEY_VALUE_STORE_LISTS: 0.004 + REQUEST_QUEUE_READS: 0.005 + REQUEST_QUEUE_WRITES: 0.02 + DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 + DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 + PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 + PROXY_SERPS: 0.0006 diff --git a/apify-api/openapi/components/examples/run-response.yaml b/apify-api/openapi/components/examples/run-response.yaml new file mode 100644 index 0000000000..a88abca412 --- /dev/null +++ b/apify-api/openapi/components/examples/run-response.yaml @@ -0,0 +1,74 @@ +value: + data: + id: HG7ML7M8z78YcAPEB + actId: HDSasDasz78YcAPEB + userId: 7sT5jcggjjA9fNcxF + actorTaskId: KJHSKHausidyaJKHs + startedAt: "2019-11-30T07:34:24.202Z" + finishedAt: "2019-12-12T09:30:12.202Z" + status: RUNNING + statusMessage: Actor is running + isStatusMessageTerminal: false + meta: + origin: WEB + clientIp: 172.234.12.34 + userAgent: Mozilla/5.0 (iPad) + stats: + inputBodyLen: 240 + migrationCount: 0 + restartCount: 0 + resurrectCount: 2 + memAvgBytes: 267874071.9 + memMaxBytes: 404713472 + memCurrentBytes: 0 + cpuAvgUsage: 33.75321011075384 + cpuMaxUsage: 169.65073553494125 + cpuCurrentUsage: 0 + netRxBytes: 103508042 + netTxBytes: 4854600 + durationMillis: 248472 + runTimeSecs: 248.472 + metamorph: 0 + computeUnits: 0.13804 + options: + build: latest + timeoutSecs: 300 + memoryMbytes: 1024 + diskMbytes: 2048 + buildId: 7sT5jcggjjA9fNcxF + exitCode: 0 + generalAccess: RESTRICTED + defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ + defaultDatasetId: wmKPijuyDnPZAPRMk + defaultRequestQueueId: FL35cSF7jrxr3BY39 + buildNumber: 0.0.36 + containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" + isContainerServerReady: true + gitBranchName: master + usage: + ACTOR_COMPUTE_UNITS: 3 + DATASET_READS: 4 + DATASET_WRITES: 4 + KEY_VALUE_STORE_READS: 5 + KEY_VALUE_STORE_WRITES: 3 + KEY_VALUE_STORE_LISTS: 5 + REQUEST_QUEUE_READS: 2 + REQUEST_QUEUE_WRITES: 1 + DATA_TRANSFER_INTERNAL_GBYTES: 1 + DATA_TRANSFER_EXTERNAL_GBYTES: 3 + PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 + PROXY_SERPS: 3 + usageTotalUsd: 0.2654 + usageUsd: + ACTOR_COMPUTE_UNITS: 0.072 + DATASET_READS: 0.0004 + DATASET_WRITES: 0.0002 + KEY_VALUE_STORE_READS: 0.0006 + KEY_VALUE_STORE_WRITES: 0.002 + KEY_VALUE_STORE_LISTS: 0.004 + REQUEST_QUEUE_READS: 0.005 + REQUEST_QUEUE_WRITES: 0.02 + DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 + DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 + PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 + PROXY_SERPS: 0.0006 diff --git a/apify-api/openapi/paths/actor-runs/actor-runs.yaml b/apify-api/openapi/paths/actor-runs/actor-runs.yaml index 0afc4cd21f..8816ddedf4 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs.yaml @@ -90,42 +90,9 @@ get: schema: allOf: - $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml - example: - data: - total: 2 - offset: 0 - limit: 1000 - desc: false - count: 2 - items: - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: SUCCEEDED - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - buildId: HG7ML7M8z78YcAPEB - buildNumber: 0.0.2 - meta: - origin: WEB - usageTotalUsd: 0.2 - defaultKeyValueStoreId: sfAjeR4QmeJCQzTfe - defaultDatasetId: 3ZojQDdFTsyE7Moy4 - defaultRequestQueueId: so93g2shcDzK3pA85 - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: FAILED - startedAt: "2019-12-12T07:34:14.202Z" - finishedAt: "2019-12-13T08:36:13.202Z" - buildId: u78dML7M8z78YcAPEB - buildNumber: 0.2.2 - meta: - origin: DEVELOPMENT - usageTotalUsd: 0.6 - defaultKeyValueStoreId: sffsouqlseJCQzTfe - defaultDatasetId: CFGggdjQDsyE7Moyw - defaultRequestQueueId: soowucklrmDzKpA8x + examples: + example: + $ref: ../../components/examples/run-list-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml index bea65669dd..eb1ed1f005 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml @@ -105,80 +105,9 @@ get: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -249,80 +178,9 @@ put: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml index f5cb45c12a..47311cea31 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml @@ -59,84 +59,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: PNWZBd7Z9c746JAnF - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: null - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 1 - memAvgBytes: 35914228.4 - memMaxBytes: 38244352 - memCurrentBytes: 0 - cpuAvgUsage: 0.00955965 - cpuMaxUsage: 3.1546 - cpuCurrentUsage: 0 - netRxBytes: 2652 - netTxBytes: 1338 - durationMillis: 26239 - runTimeSecs: 26.239 - metamorph: 0 - computeUnits: 0.0072886 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: HG7ML7M8z78YcAPEB - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - metamorphs: - - createdAt: "2019-11-30T07:39:24.202Z" - actorId: nspoEjklmnsF2oosD - buildId: ME6oKecqy5kXDS4KQ - inputKey: INPUT-METAMORPH-1 - buildNumber: 0.1.10 - containerUrl: "https://hfewsyknno9o.runs.apify.com" - isContainerServerReady: false - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-metamorph-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml index 9fe9a9bef3..b5b40ce406 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml @@ -28,80 +28,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml index 658183de7a..7d7aac5a44 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml @@ -57,80 +57,9 @@ post: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml index 93ba6d8f3b..d80995d16e 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml @@ -86,42 +86,9 @@ get: type: array items: $ref: ../../components/schemas/actor-runs/RunShort.yaml - example: - data: - total: 2 - offset: 0 - limit: 1000 - desc: false - count: 2 - items: - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: SUCCEEDED - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - buildId: HG7ML7M8z78YcAPEB - buildNumber: 0.0.2 - meta: - origin: WEB - usageTotalUsd: 0.2 - defaultKeyValueStoreId: sfAjeR4QmeJCQzTfe - defaultDatasetId: 3ZojQDdFTsyE7Moy4 - defaultRequestQueueId: so93g2shcDzK3pA85 - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: FAILED - startedAt: "2019-12-12T07:34:14.202Z" - finishedAt: "2019-12-13T08:36:13.202Z" - buildId: u78dML7M8z78YcAPEB - buildNumber: 0.2.2 - meta: - origin: DEVELOPMENT - usageTotalUsd: 0.6 - defaultKeyValueStoreId: sffsouqlseJCQzTfe - defaultDatasetId: CFGggdjQDsyE7Moyw - defaultRequestQueueId: soowucklrmDzKpA8x + examples: + example: + $ref: ../../components/examples/run-list-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml index 1c059fdf04..dd5965c8de 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml @@ -80,80 +80,9 @@ get: properties: data: $ref: ../../components/schemas/actor-runs/Run.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml index 8d29deaabb..f1f030cba3 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml @@ -159,35 +159,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: klmdEpoiojmdEMlk3 - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: SUCCEEDED - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - durationMillis: 1000 - runTimeSecs: 45.718 - computeUnits: 0.012699444444444444 - options: - useCache: false - betaPackages: false - memoryMbytes: 1024 - diskMbytes: 2048 - usage: - ACTOR_COMPUTE_UNITS: 0.08 - usageTotalUsd: 0.02 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.02 - inputSchema: '{\n \"title\": \"Schema for ... }' - readme: '# Magic Actor\nThis Actor is magic.' - buildNumber: 0.1.1 + examples: + example: + $ref: ../../components/examples/build-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml index c08ea12a70..3f04022210 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml @@ -43,35 +43,9 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: klmdEpoiojmdEMlk3 - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: SUCCEEDED - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - durationMillis: 1000 - runTimeSecs: 45.718 - computeUnits: 0.012699444444444444 - options: - useCache: false - betaPackages: false - memoryMbytes: 1024 - diskMbytes: 2048 - usage: - ACTOR_COMPUTE_UNITS: 0.08 - usageTotalUsd: 0.02 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.02 - inputSchema: '{\n \"title\": \"Schema for ... }' - readme: '# Magic Actor\nThis Actor is magic.' - buildNumber: 0.1.1 + examples: + example: + $ref: ../../components/examples/build-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml x-js-parent: ActorClient diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml index 93fa25068a..4e78650688 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml @@ -50,35 +50,9 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: klmdEpoiojmdEMlk3 - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: SUCCEEDED - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - durationMillis: 1000 - runTimeSecs: 45.718 - computeUnits: 0.012699444444444444 - options: - useCache: false - betaPackages: false - memoryMbytes: 1024 - diskMbytes: 2048 - usage: - ACTOR_COMPUTE_UNITS: 0.08 - usageTotalUsd: 0.02 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.02 - inputSchema: '{\n \"title\": \"Schema for ... }' - readme: '# Magic Actor\nThis Actor is magic.' - buildNumber: 0.1.1 + examples: + example: + $ref: ../../components/examples/build-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml index fc7ff45c80..4085a7d481 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml @@ -96,42 +96,9 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml - example: - data: - total: 2 - offset: 0 - limit: 1000 - desc: false - count: 2 - items: - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: SUCCEEDED - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - buildId: HG7ML7M8z78YcAPEB - buildNumber: 0.0.2 - meta: - origin: WEB - usageTotalUsd: 0.2 - defaultKeyValueStoreId: sfAjeR4QmeJCQzTfe - defaultDatasetId: 3ZojQDdFTsyE7Moy4 - defaultRequestQueueId: so93g2shcDzK3pA85 - - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - actorTaskId: KJHSKHausidyaJKHs - status: FAILED - startedAt: "2019-12-12T07:34:14.202Z" - finishedAt: "2019-12-13T08:36:13.202Z" - buildId: u78dML7M8z78YcAPEB - buildNumber: 0.2.2 - meta: - origin: DEVELOPMENT - usageTotalUsd: 0.6 - defaultKeyValueStoreId: sffsouqlseJCQzTfe - defaultDatasetId: CFGggdjQDsyE7Moyw - defaultRequestQueueId: soowucklrmDzKpA8x + examples: + example: + $ref: ../../components/examples/run-list-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -290,80 +257,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml index 1307b9cf47..89dfd4b78c 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml @@ -82,80 +82,9 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml index bb52dfeb68..9abeed4c9f 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml @@ -54,80 +54,9 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml index 7b028833c2..d58a1859d0 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml @@ -71,84 +71,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: PNWZBd7Z9c746JAnF - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: null - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 1 - memAvgBytes: 35914228.4 - memMaxBytes: 38244352 - memCurrentBytes: 0 - cpuAvgUsage: 0.00955965 - cpuMaxUsage: 3.1546 - cpuCurrentUsage: 0 - netRxBytes: 2652 - netTxBytes: 1338 - durationMillis: 26239 - runTimeSecs: 26.239 - metamorph: 0 - computeUnits: 0.0072886 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: HG7ML7M8z78YcAPEB - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - metamorphs: - - createdAt: "2019-11-30T07:39:24.202Z" - actorId: nspoEjklmnsF2oosD - buildId: ME6oKecqy5kXDS4KQ - inputKey: INPUT-METAMORPH-1 - buildNumber: 0.1.10 - containerUrl: "https://hfewsyknno9o.runs.apify.com" - isContainerServerReady: false - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-metamorph-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml index 644d211a8e..78a1283461 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml @@ -85,80 +85,9 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - example: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 + examples: + example: + $ref: ../../components/examples/run-response.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false From c6d55c2146b0520495daeead972b7e56571299d8 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Tue, 3 Mar 2026 16:16:53 +0100 Subject: [PATCH 2/3] Run autogenerated example where possible --- .../components/examples/build-response.yaml | 29 ------- .../examples/run-metamorph-response.yaml | 78 ------------------- .../components/examples/run-response.yaml | 74 ------------------ .../ListOfRunsResponseExample.yaml} | 0 .../openapi/paths/actor-runs/actor-runs.yaml | 2 +- .../paths/actor-runs/actor-runs@{runId}.yaml | 8 +- .../actor-runs@{runId}@metamorph.yaml | 4 +- .../actor-runs/actor-runs@{runId}@reboot.yaml | 4 +- .../actor-runs@{runId}@resurrect.yaml | 4 +- .../actor-tasks@{actorTaskId}@runs.yaml | 4 +- .../actor-tasks@{actorTaskId}@runs@last.yaml | 4 +- .../paths/actors/acts@{actorId}@builds.yaml | 4 +- .../actors/acts@{actorId}@builds@default.yaml | 4 +- .../acts@{actorId}@builds@{buildId}.yaml | 4 +- .../paths/actors/acts@{actorId}@runs.yaml | 6 +- .../actors/acts@{actorId}@runs@last.yaml | 4 +- .../actors/acts@{actorId}@runs@{runId}.yaml | 4 +- ...acts@{actorId}@runs@{runId}@metamorph.yaml | 4 +- ...acts@{actorId}@runs@{runId}@resurrect.yaml | 4 +- .../openapi/paths/datasets/datasets.yaml | 14 ---- .../paths/datasets/datasets@{datasetId}.yaml | 28 ------- .../key-value-stores/key-value-stores.yaml | 12 --- .../paths/request-queues/request-queues.yaml | 30 +------ .../request-queues@{queueId}.yaml | 60 +------------- 24 files changed, 23 insertions(+), 366 deletions(-) delete mode 100644 apify-api/openapi/components/examples/build-response.yaml delete mode 100644 apify-api/openapi/components/examples/run-metamorph-response.yaml delete mode 100644 apify-api/openapi/components/examples/run-response.yaml rename apify-api/openapi/components/{examples/run-list-response.yaml => schemas/actor-runs/ListOfRunsResponseExample.yaml} (100%) diff --git a/apify-api/openapi/components/examples/build-response.yaml b/apify-api/openapi/components/examples/build-response.yaml deleted file mode 100644 index f084229f5d..0000000000 --- a/apify-api/openapi/components/examples/build-response.yaml +++ /dev/null @@ -1,29 +0,0 @@ -value: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: klmdEpoiojmdEMlk3 - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: SUCCEEDED - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - durationMillis: 1000 - runTimeSecs: 45.718 - computeUnits: 0.012699444444444444 - options: - useCache: false - betaPackages: false - memoryMbytes: 1024 - diskMbytes: 2048 - usage: - ACTOR_COMPUTE_UNITS: 0.08 - usageTotalUsd: 0.02 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.02 - inputSchema: '{\n \"title\": \"Schema for ... }' - readme: '# Magic Actor\nThis Actor is magic.' - buildNumber: 0.1.1 diff --git a/apify-api/openapi/components/examples/run-metamorph-response.yaml b/apify-api/openapi/components/examples/run-metamorph-response.yaml deleted file mode 100644 index b5e3491814..0000000000 --- a/apify-api/openapi/components/examples/run-metamorph-response.yaml +++ /dev/null @@ -1,78 +0,0 @@ -value: - data: - id: HG7ML7M8z78YcAPEB - actId: janedoe~my-actor - userId: PNWZBd7Z9c746JAnF - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: null - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 1 - memAvgBytes: 35914228.4 - memMaxBytes: 38244352 - memCurrentBytes: 0 - cpuAvgUsage: 0.00955965 - cpuMaxUsage: 3.1546 - cpuCurrentUsage: 0 - netRxBytes: 2652 - netTxBytes: 1338 - durationMillis: 26239 - runTimeSecs: 26.239 - metamorph: 0 - computeUnits: 0.0072886 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: HG7ML7M8z78YcAPEB - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - metamorphs: - - createdAt: "2019-11-30T07:39:24.202Z" - actorId: nspoEjklmnsF2oosD - buildId: ME6oKecqy5kXDS4KQ - inputKey: INPUT-METAMORPH-1 - buildNumber: 0.1.10 - containerUrl: "https://hfewsyknno9o.runs.apify.com" - isContainerServerReady: false - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 diff --git a/apify-api/openapi/components/examples/run-response.yaml b/apify-api/openapi/components/examples/run-response.yaml deleted file mode 100644 index a88abca412..0000000000 --- a/apify-api/openapi/components/examples/run-response.yaml +++ /dev/null @@ -1,74 +0,0 @@ -value: - data: - id: HG7ML7M8z78YcAPEB - actId: HDSasDasz78YcAPEB - userId: 7sT5jcggjjA9fNcxF - actorTaskId: KJHSKHausidyaJKHs - startedAt: "2019-11-30T07:34:24.202Z" - finishedAt: "2019-12-12T09:30:12.202Z" - status: RUNNING - statusMessage: Actor is running - isStatusMessageTerminal: false - meta: - origin: WEB - clientIp: 172.234.12.34 - userAgent: Mozilla/5.0 (iPad) - stats: - inputBodyLen: 240 - migrationCount: 0 - restartCount: 0 - resurrectCount: 2 - memAvgBytes: 267874071.9 - memMaxBytes: 404713472 - memCurrentBytes: 0 - cpuAvgUsage: 33.75321011075384 - cpuMaxUsage: 169.65073553494125 - cpuCurrentUsage: 0 - netRxBytes: 103508042 - netTxBytes: 4854600 - durationMillis: 248472 - runTimeSecs: 248.472 - metamorph: 0 - computeUnits: 0.13804 - options: - build: latest - timeoutSecs: 300 - memoryMbytes: 1024 - diskMbytes: 2048 - buildId: 7sT5jcggjjA9fNcxF - exitCode: 0 - generalAccess: RESTRICTED - defaultKeyValueStoreId: eJNzqsbPiopwJcgGQ - defaultDatasetId: wmKPijuyDnPZAPRMk - defaultRequestQueueId: FL35cSF7jrxr3BY39 - buildNumber: 0.0.36 - containerUrl: "https://g8kd8kbc5ge8.runs.apify.net" - isContainerServerReady: true - gitBranchName: master - usage: - ACTOR_COMPUTE_UNITS: 3 - DATASET_READS: 4 - DATASET_WRITES: 4 - KEY_VALUE_STORE_READS: 5 - KEY_VALUE_STORE_WRITES: 3 - KEY_VALUE_STORE_LISTS: 5 - REQUEST_QUEUE_READS: 2 - REQUEST_QUEUE_WRITES: 1 - DATA_TRANSFER_INTERNAL_GBYTES: 1 - DATA_TRANSFER_EXTERNAL_GBYTES: 3 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 34 - PROXY_SERPS: 3 - usageTotalUsd: 0.2654 - usageUsd: - ACTOR_COMPUTE_UNITS: 0.072 - DATASET_READS: 0.0004 - DATASET_WRITES: 0.0002 - KEY_VALUE_STORE_READS: 0.0006 - KEY_VALUE_STORE_WRITES: 0.002 - KEY_VALUE_STORE_LISTS: 0.004 - REQUEST_QUEUE_READS: 0.005 - REQUEST_QUEUE_WRITES: 0.02 - DATA_TRANSFER_INTERNAL_GBYTES: 0.0004 - DATA_TRANSFER_EXTERNAL_GBYTES: 0.0002 - PROXY_RESIDENTIAL_TRANSFER_GBYTES: 0.16 - PROXY_SERPS: 0.0006 diff --git a/apify-api/openapi/components/examples/run-list-response.yaml b/apify-api/openapi/components/schemas/actor-runs/ListOfRunsResponseExample.yaml similarity index 100% rename from apify-api/openapi/components/examples/run-list-response.yaml rename to apify-api/openapi/components/schemas/actor-runs/ListOfRunsResponseExample.yaml diff --git a/apify-api/openapi/paths/actor-runs/actor-runs.yaml b/apify-api/openapi/paths/actor-runs/actor-runs.yaml index 8816ddedf4..cd651c228d 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs.yaml @@ -92,7 +92,7 @@ get: - $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml examples: example: - $ref: ../../components/examples/run-list-response.yaml + $ref: ../../components/schemas/actor-runs/ListOfRunsResponseExample.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml index eb1ed1f005..eed9629d0b 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml @@ -105,9 +105,7 @@ get: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -178,9 +176,7 @@ put: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml index 47311cea31..e3fb708ad8 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml @@ -59,9 +59,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-metamorph-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml index b5b40ce406..b1b7e91cd9 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml @@ -28,9 +28,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml index 7d7aac5a44..d3c49ad15c 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml @@ -57,9 +57,7 @@ post: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml index d80995d16e..3102dedad3 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml @@ -86,9 +86,7 @@ get: type: array items: $ref: ../../components/schemas/actor-runs/RunShort.yaml - examples: - example: - $ref: ../../components/examples/run-list-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml index dd5965c8de..94d67f1ffc 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml @@ -80,9 +80,7 @@ get: properties: data: $ref: ../../components/schemas/actor-runs/Run.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml index f1f030cba3..3eb75b7be5 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml @@ -159,9 +159,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - examples: - example: - $ref: ../../components/examples/build-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml index 3f04022210..7dc2edc429 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml @@ -43,9 +43,7 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - examples: - example: - $ref: ../../components/examples/build-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml x-js-parent: ActorClient diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml index 4e78650688..0d72fb5f75 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml @@ -50,9 +50,7 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - examples: - example: - $ref: ../../components/examples/build-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml index 4085a7d481..8840459954 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml @@ -98,7 +98,7 @@ get: $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml examples: example: - $ref: ../../components/examples/run-list-response.yaml + $ref: ../../components/schemas/actor-runs/ListOfRunsResponseExample.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -257,9 +257,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml index 89dfd4b78c..a6e8945156 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml @@ -82,9 +82,7 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml index 9abeed4c9f..a58d971ec2 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml @@ -54,9 +54,7 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml index d58a1859d0..3c43f972c6 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml @@ -71,9 +71,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-metamorph-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml index 78a1283461..a515b54b69 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml @@ -85,9 +85,7 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - examples: - example: - $ref: ../../components/examples/run-response.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/datasets/datasets.yaml b/apify-api/openapi/paths/datasets/datasets.yaml index 8dc0c602e6..3df552172f 100644 --- a/apify-api/openapi/paths/datasets/datasets.yaml +++ b/apify-api/openapi/paths/datasets/datasets.yaml @@ -148,20 +148,6 @@ post: application/json: schema: $ref: ../../components/schemas/datasets/DatasetResponse.yaml - example: - data: - id: WkzbQMuFYuamGv3YF - name: d7b9MDYsbtX5L7XAj - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - itemCount: 7 - cleanItemCount: 5 - actId: null - actRunId: null - fields: [] - consoleUrl: https://console.apify.com/storage/datasets/WkzbQMuFYuamGv3YF "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/datasets/datasets@{datasetId}.yaml b/apify-api/openapi/paths/datasets/datasets@{datasetId}.yaml index cf7a143316..6d76b14373 100644 --- a/apify-api/openapi/paths/datasets/datasets@{datasetId}.yaml +++ b/apify-api/openapi/paths/datasets/datasets@{datasetId}.yaml @@ -42,20 +42,6 @@ get: application/json: schema: $ref: ../../components/schemas/datasets/DatasetResponse.yaml - example: - data: - id: WkzbQMuFYuamGv3YF - name: d7b9MDYsbtX5L7XAj - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - itemCount: 7 - cleanItemCount: 5 - actId: null - actRunId: null - fields: [] - consoleUrl: https://console.apify.com/storage/datasets/WkzbQMuFYuamGv3YF "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -104,20 +90,6 @@ put: application/json: schema: $ref: ../../components/schemas/datasets/DatasetResponse.yaml - example: - data: - id: WkzbQMuFYuamGv3YF - name: d7b9MDYsbtX5L7XAj - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - itemCount: 7 - cleanItemCount: 5 - actId: null - actRunId: null - fields: [] - consoleUrl: https://console.apify.com/storage/datasets/WkzbQMuFYuamGv3YF "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/key-value-stores/key-value-stores.yaml b/apify-api/openapi/paths/key-value-stores/key-value-stores.yaml index 460632c80f..c8ba3d5baa 100644 --- a/apify-api/openapi/paths/key-value-stores/key-value-stores.yaml +++ b/apify-api/openapi/paths/key-value-stores/key-value-stores.yaml @@ -130,18 +130,6 @@ post: application/json: schema: $ref: ../../components/schemas/key-value-stores/KeyValueStoreResponse.yaml - example: - data: - id: WkzbQMuFYuamGv3YF - name: d7b9MDYsbtX5L7XAj - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - actId: null - actRunId: null - consoleUrl: https://console.apify.com/storage/key-value-stores/WkzbQMuFYuamGv3YF - keysPublicUrl: https://api.apify.com/v2/key-value-stores/WkzbQMuFYuamGv3YF/keys?signature=abc123 "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/request-queues/request-queues.yaml b/apify-api/openapi/paths/request-queues/request-queues.yaml index 542d9364e2..d750e6d4b1 100644 --- a/apify-api/openapi/paths/request-queues/request-queues.yaml +++ b/apify-api/openapi/paths/request-queues/request-queues.yaml @@ -125,34 +125,8 @@ post: content: application/json: schema: - allOf: - - $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF + $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml b/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml index 434b82c94d..329143daac 100644 --- a/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml +++ b/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml @@ -20,34 +20,8 @@ get: content: application/json: schema: - allOf: - - $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF + $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -100,34 +74,8 @@ put: content: application/json: schema: - allOf: - - $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF - example: - data: - id: WkzbQMuFYuamGv3YF - name: some-name - userId: wRsJZtadYvn4mBZmm - createdAt: "2019-12-12T07:34:14.202Z" - modifiedAt: "2019-12-13T08:36:13.202Z" - accessedAt: "2019-12-14T08:36:13.202Z" - totalRequestCount: 870 - handledRequestCount: 100 - pendingRequestCount: 670 - hadMultipleClients: true - consoleUrl: https://console.apify.com/storage/request-queues/WkzbQMuFYuamGv3YF + $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml + "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false From 98224c5b2fd8c544ca32757383c1fe2f7be33c13 Mon Sep 17 00:00:00 2001 From: Josef Prochazka Date: Tue, 3 Mar 2026 17:20:16 +0100 Subject: [PATCH 3/3] Remove blank lines and move example to proper folder --- .../actor-runs => examples}/ListOfRunsResponseExample.yaml | 0 apify-api/openapi/paths/actor-runs/actor-runs.yaml | 2 +- apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml | 2 -- .../openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml | 1 - .../openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml | 1 - .../openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml | 1 - .../paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml | 1 - .../paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml | 1 - apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml | 1 - .../openapi/paths/actors/acts@{actorId}@builds@default.yaml | 1 - .../openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml | 1 - apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml | 3 +-- apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml | 1 - .../openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml | 1 - .../paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml | 1 - .../paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml | 1 - apify-api/openapi/paths/request-queues/request-queues.yaml | 1 - .../openapi/paths/request-queues/request-queues@{queueId}.yaml | 2 -- 18 files changed, 2 insertions(+), 20 deletions(-) rename apify-api/openapi/components/{schemas/actor-runs => examples}/ListOfRunsResponseExample.yaml (100%) diff --git a/apify-api/openapi/components/schemas/actor-runs/ListOfRunsResponseExample.yaml b/apify-api/openapi/components/examples/ListOfRunsResponseExample.yaml similarity index 100% rename from apify-api/openapi/components/schemas/actor-runs/ListOfRunsResponseExample.yaml rename to apify-api/openapi/components/examples/ListOfRunsResponseExample.yaml diff --git a/apify-api/openapi/paths/actor-runs/actor-runs.yaml b/apify-api/openapi/paths/actor-runs/actor-runs.yaml index cd651c228d..e450c81a8a 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs.yaml @@ -92,7 +92,7 @@ get: - $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml examples: example: - $ref: ../../components/schemas/actor-runs/ListOfRunsResponseExample.yaml + $ref: ../../components/examples/ListOfRunsResponseExample.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml index eed9629d0b..22b2240d04 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}.yaml @@ -105,7 +105,6 @@ get: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -176,7 +175,6 @@ put: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml index e3fb708ad8..54c1a8ada5 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@metamorph.yaml @@ -59,7 +59,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml index b1b7e91cd9..a6f960b301 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@reboot.yaml @@ -28,7 +28,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml index d3c49ad15c..cb69d5d522 100644 --- a/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actor-runs/actor-runs@{runId}@resurrect.yaml @@ -57,7 +57,6 @@ post: schema: allOf: - $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml index 3102dedad3..fae0200e71 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs.yaml @@ -86,7 +86,6 @@ get: type: array items: $ref: ../../components/schemas/actor-runs/RunShort.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml index 94d67f1ffc..f26794d370 100644 --- a/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml +++ b/apify-api/openapi/paths/actor-tasks/actor-tasks@{actorTaskId}@runs@last.yaml @@ -80,7 +80,6 @@ get: properties: data: $ref: ../../components/schemas/actor-runs/Run.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml index 3eb75b7be5..f9b5655b31 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds.yaml @@ -159,7 +159,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml index 7dc2edc429..90f2ad1a90 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@default.yaml @@ -43,7 +43,6 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml x-js-parent: ActorClient diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml index 0d72fb5f75..a4363371fb 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@builds@{buildId}.yaml @@ -50,7 +50,6 @@ get: application/json: schema: $ref: ../../components/schemas/actor-builds/BuildResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml index 8840459954..c1228cf015 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs.yaml @@ -98,7 +98,7 @@ get: $ref: ../../components/schemas/actor-runs/ListOfRunsResponse.yaml examples: example: - $ref: ../../components/schemas/actor-runs/ListOfRunsResponseExample.yaml + $ref: ../../components/examples/ListOfRunsResponseExample.yaml "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -257,7 +257,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml index a6e8945156..fc30e56fd3 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@last.yaml @@ -82,7 +82,6 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml index a58d971ec2..2d80eedbdd 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}.yaml @@ -54,7 +54,6 @@ get: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml index 3c43f972c6..4d434df7e2 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@metamorph.yaml @@ -71,7 +71,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: true diff --git a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml index a515b54b69..0bee3982b1 100644 --- a/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml +++ b/apify-api/openapi/paths/actors/acts@{actorId}@runs@{runId}@resurrect.yaml @@ -85,7 +85,6 @@ post: application/json: schema: $ref: ../../components/schemas/actor-runs/RunResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/request-queues/request-queues.yaml b/apify-api/openapi/paths/request-queues/request-queues.yaml index d750e6d4b1..bd758c2f1a 100644 --- a/apify-api/openapi/paths/request-queues/request-queues.yaml +++ b/apify-api/openapi/paths/request-queues/request-queues.yaml @@ -126,7 +126,6 @@ post: application/json: schema: $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false diff --git a/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml b/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml index 329143daac..b04938bbf0 100644 --- a/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml +++ b/apify-api/openapi/paths/request-queues/request-queues@{queueId}.yaml @@ -21,7 +21,6 @@ get: application/json: schema: $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false @@ -75,7 +74,6 @@ put: application/json: schema: $ref: ../../components/schemas/request-queues/RequestQueueResponse.yaml - "400": $ref: ../../components/responses/BadRequest.yaml deprecated: false