File tree Expand file tree Collapse file tree 5 files changed +145
-113
lines changed Expand file tree Collapse file tree 5 files changed +145
-113
lines changed Original file line number Diff line number Diff line change 1
- 0.0.13
1
+ 0.0.14
Original file line number Diff line number Diff line change @@ -5,113 +5,3 @@ userID:
5
5
schema :
6
6
type : string
7
7
description : User ID for authenticated users or cookie ID for non-authenticated repeated users (visitors).
8
-
9
- userProfile :
10
- type : object
11
- required :
12
- - user
13
- properties :
14
- user :
15
- type : string
16
- predictions :
17
- type : object
18
- title : predictions
19
- properties :
20
- funnel_stage :
21
- type : object
22
- description : Prediction for the **funnel_stage** model.
23
- properties :
24
- value :
25
- type : array
26
- items :
27
- title : funnel_stage
28
- type : object
29
- properties :
30
- name :
31
- type : string
32
- probability :
33
- type : number
34
- format : double
35
- minimum : 0
36
- maximum : 1
37
- required :
38
- - name
39
- - probability
40
- lastUpdatedAt :
41
- type : string
42
- required :
43
- - value
44
- - lastUpdatedAt
45
- order_value :
46
- type : object
47
- description : Prediction for the **order_value** model.
48
- properties :
49
- value :
50
- type : number
51
- format : double
52
- minimum : 0
53
- lastUpdatedAt :
54
- type : string
55
- required :
56
- - value
57
- - lastUpdatedAt
58
- affinities :
59
- type : object
60
- description : Prediction for the **affinities** model.
61
- properties :
62
- value :
63
- type : array
64
- items :
65
- title : affinity
66
- type : object
67
- properties :
68
- name :
69
- type : string
70
- value :
71
- type : string
72
- probability :
73
- type : number
74
- format : double
75
- minimum : 0
76
- maximum : 1
77
- required :
78
- - name
79
- - value
80
- - probability
81
- lastUpdatedAt :
82
- type : string
83
- required :
84
- - value
85
- - lastUpdatedAt
86
- properties :
87
- type : object
88
- title : properties
89
- description : Properties for the user profile.
90
- properties :
91
- raw :
92
- type : object
93
- description : Raw user properties (key-value pairs).
94
- computed :
95
- type : object
96
- description : Computed user properties (key-value pairs).
97
- custom :
98
- type : object
99
- description : Custom user properties (key-value pairs).
100
- segments :
101
- type : object
102
- title : segments
103
- required :
104
- - computed
105
- - custom
106
- description : Segments that the user belongs to.
107
- properties :
108
- computed :
109
- type : array
110
- description : List of computed segments IDs.
111
- items :
112
- type : string
113
- custom :
114
- type : array
115
- description : List of custom segments IDs.
116
- items :
117
- type : string
Original file line number Diff line number Diff line change 19
19
application/json :
20
20
schema :
21
21
title : fetchUserProfileResponse
22
- $ref : ' ../../common/parameters .yml#/userProfile'
22
+ $ref : ' ../../responses/UserProfile .yml#/userProfile'
23
23
' 404 ' :
24
24
$ref : ' ../../responses/UserNotFound.yml'
25
25
' 405 ' :
Original file line number Diff line number Diff line change 24
24
users :
25
25
type : array
26
26
items :
27
- $ref : ' ../../common/parameters .yml#/userProfile'
27
+ $ref : ' ../../responses/UserProfile .yml#/userProfile'
28
28
previousPageToken :
29
29
$ref : ' ../../common/schemas/Params.yml#/previousPageToken'
30
30
nextPageToken :
Original file line number Diff line number Diff line change
1
+ userProfile :
2
+ type : object
3
+ required :
4
+ - user
5
+ properties :
6
+ user :
7
+ type : string
8
+ predictions :
9
+ type : object
10
+ title : predictions
11
+ properties :
12
+ funnel_stage :
13
+ $ref : ' #/predictionsfunnelStage'
14
+ order_value :
15
+ $ref : ' #/predictionsOrderValue'
16
+ affinities :
17
+ $ref : ' #/predictionsAffinities'
18
+ properties :
19
+ type : object
20
+ title : properties
21
+ description : Properties for the user profile.
22
+ properties :
23
+ raw :
24
+ type : object
25
+ description : Raw user properties (key-value pairs).
26
+ computed :
27
+ type : object
28
+ description : Computed user properties (key-value pairs).
29
+ custom :
30
+ type : object
31
+ description : Custom user properties (key-value pairs).
32
+ segments :
33
+ type : object
34
+ title : segments
35
+ required :
36
+ - computed
37
+ - custom
38
+ description : Segments that the user belongs to.
39
+ properties :
40
+ computed :
41
+ type : array
42
+ description : List of computed segments IDs.
43
+ items :
44
+ type : string
45
+ custom :
46
+ type : array
47
+ description : List of custom segments IDs.
48
+ items :
49
+ type : string
50
+
51
+ error :
52
+ type : object
53
+ description : The error when the model is not available.
54
+ properties :
55
+ error :
56
+ type : string
57
+ required :
58
+ - error
59
+
60
+ predictionsfunnelStage :
61
+ oneOf :
62
+ - $ref : ' #/funnelStageSuccess'
63
+ - $ref : ' #/error'
64
+
65
+ funnelStageSuccess :
66
+ type : object
67
+ description : Prediction for the **funnel_stage** model.
68
+ properties :
69
+ value :
70
+ type : array
71
+ items :
72
+ title : funnel_stage
73
+ type : object
74
+ properties :
75
+ name :
76
+ type : string
77
+ probability :
78
+ type : number
79
+ format : double
80
+ minimum : 0
81
+ maximum : 1
82
+ required :
83
+ - name
84
+ - probability
85
+ lastUpdatedAt :
86
+ type : string
87
+ required :
88
+ - value
89
+ - lastUpdatedAt
90
+
91
+ predictionsOrderValue :
92
+ oneOf :
93
+ - $ref : ' #/orderValueSuccess'
94
+ - $ref : ' #/error'
95
+
96
+ orderValueSuccess :
97
+ type : object
98
+ description : Prediction for the **order_value** model.
99
+ properties :
100
+ value :
101
+ type : number
102
+ format : double
103
+ minimum : 0
104
+ lastUpdatedAt :
105
+ type : string
106
+ required :
107
+ - value
108
+ - lastUpdatedAt
109
+
110
+ predictionsAffinities :
111
+ oneOf :
112
+ - $ref : ' #/affinitiesSuccess'
113
+ - $ref : ' #/error'
114
+
115
+ affinitiesSuccess :
116
+ type : object
117
+ description : Prediction for the **affinities** model.
118
+ properties :
119
+ value :
120
+ type : array
121
+ items :
122
+ title : affinity
123
+ type : object
124
+ properties :
125
+ name :
126
+ type : string
127
+ value :
128
+ type : string
129
+ probability :
130
+ type : number
131
+ format : double
132
+ minimum : 0
133
+ maximum : 1
134
+ required :
135
+ - name
136
+ - value
137
+ - probability
138
+ lastUpdatedAt :
139
+ type : string
140
+ required :
141
+ - value
142
+ - lastUpdatedAt
You can’t perform that action at this time.
0 commit comments