Skip to content

Commit 462c8b8

Browse files
authored
feat(openapi): Describe Server Actor tenancy (#3130)
1 parent 218428f commit 462c8b8

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

‎apify-api/openapi/components/schemas/actor-runs/Run.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ properties:
9393
anyOf:
9494
- $ref: ./RunStandby.yaml
9595
- type: "null"
96-
description: Standby configuration of the run. `null` for runs that are not Actor Standby runs.
96+
description: Server Actor deployment of this run, `null` for runs not started by a Server Actor request.
9797
integrationTracking:
9898
description: Present only when the run was started by a third-party integration.
9999
$ref: ../common/IntegrationTracking.yaml

‎apify-api/openapi/components/schemas/actor-runs/RunStandby.yaml‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@ required:
66
properties:
77
deployment:
88
type: string
9-
examples: [SINGLE_TENANT]
9+
enum:
10+
- SINGLE_TENANT
11+
- MULTI_TENANT_OWNER_PAID
12+
- MULTI_TENANT_FREE_USERS
13+
- MULTI_TENANT_PAYING_USERS
14+
examples: [MULTI_TENANT_PAYING_USERS]
1015
description: |
11-
How the Standby run is deployed: `SINGLE_TENANT`, `MULTI_TENANT_FREE_USERS`, `MULTI_TENANT_PAYING_USERS` or `MULTI_TENANT_OWNER_PAID`. `SINGLE_TENANT` is a private instance in the user's account.
12-
The `MULTI_TENANT_*` values are runs in the Actor owner's account that serve requests from many users.
16+
Which pool the Server Actor run serves. `SINGLE_TENANT` is a private instance in the caller's account.
17+
The `MULTI_TENANT_*` pools run in the Actor owner's account and serve many callers;
18+
charges in them require a `requestId` (see the charge endpoint).

0 commit comments

Comments
 (0)