Skip to content

Commit 8efbe7a

Browse files
fix(api-schema): add missing 'effectivePlatformFeatures', 'createdAt', 'isPaying' to UserPrivateInfo (#1569)
https://api.apify.com/v2/users/me?token=<TOKEN>
1 parent abe4ae4 commit 8efbe7a

File tree

3 files changed

+72
-0
lines changed

3 files changed

+72
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
title: EffectivePlatformFeature
2+
required:
3+
- isEnabled
4+
- disabledReason
5+
- disabledReasonType
6+
- isTrial
7+
- trialExpirationAt
8+
type: object
9+
properties:
10+
isEnabled:
11+
type: boolean
12+
example: true
13+
disabledReason:
14+
type: string
15+
example: "The \"Selected public Actors for developers\" feature is not enabled for your account. Please upgrade your plan or contact [email protected]"
16+
nullable: true
17+
disabledReasonType:
18+
type: string
19+
example: "DISABLED"
20+
nullable: true
21+
isTrial:
22+
type: boolean
23+
example: false
24+
trialExpirationAt:
25+
type: string
26+
example: "2025-01-01T14:00:00.000Z"
27+
nullable: true
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
title: EffectivePlatformFeatures
2+
required:
3+
- ACTORS
4+
- STORAGE
5+
- SCHEDULER
6+
- PROXY
7+
- PROXY_EXTERNAL_ACCESS
8+
- PROXY_RESIDENTIAL
9+
- PROXY_SERPS
10+
- WEBHOOKS
11+
- ACTORS_PUBLIC_ALL
12+
- ACTORS_PUBLIC_DEVELOPER
13+
type: object
14+
properties:
15+
ACTORS:
16+
$ref: './EffectivePlatformFeature.yaml'
17+
STORAGE:
18+
$ref: './EffectivePlatformFeature.yaml'
19+
SCHEDULER:
20+
$ref: './EffectivePlatformFeature.yaml'
21+
PROXY:
22+
$ref: './EffectivePlatformFeature.yaml'
23+
PROXY_EXTERNAL_ACCESS:
24+
$ref: './EffectivePlatformFeature.yaml'
25+
PROXY_RESIDENTIAL:
26+
$ref: './EffectivePlatformFeature.yaml'
27+
PROXY_SERPS:
28+
$ref: './EffectivePlatformFeature.yaml'
29+
WEBHOOKS:
30+
$ref: './EffectivePlatformFeature.yaml'
31+
ACTORS_PUBLIC_ALL:
32+
$ref: './EffectivePlatformFeature.yaml'
33+
ACTORS_PUBLIC_DEVELOPER:
34+
$ref: './EffectivePlatformFeature.yaml'

apify-api/openapi/components/schemas/users/UserPrivateInfo.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ required:
66
- email
77
- proxy
88
- plan
9+
- effectivePlatformFeatures
10+
- createdAt
11+
- isPaying
912
type: object
1013
properties:
1114
id:
@@ -23,3 +26,11 @@ properties:
2326
$ref: ./Proxy.yaml
2427
plan:
2528
$ref: ./Plan.yaml
29+
effectivePlatformFeatures:
30+
$ref: ./EffectivePlatformFeatures.yaml
31+
createdAt:
32+
type: string
33+
example: "2022-11-29T14:48:29.381Z"
34+
isPaying:
35+
type: boolean
36+
example: true

0 commit comments

Comments
 (0)