5
5
description : API endpoints for LFX Community Data Platform application
6
6
7
7
servers :
8
- - url : https://cm.lfx.dev/api
8
+ - url : https://cm.lfx.dev/api/v1
9
9
description : LFX CM Production
10
10
11
11
tags :
@@ -18,7 +18,7 @@ security:
18
18
- BearerAuth : []
19
19
20
20
paths :
21
- /tenant/{tenantId}/ member/{memberId}/organization :
21
+ /member/{memberId}/organization :
22
22
get :
23
23
security :
24
24
- BearerAuth : []
@@ -27,25 +27,11 @@ paths:
27
27
summary : List Work History Organizations
28
28
description : Retrieve a list of organizations for a specific profile
29
29
parameters :
30
- - name : tenantId
31
- in : path
32
- required : true
33
- schema :
34
- type : string
35
30
- name : memberId
36
31
in : path
37
32
required : true
38
33
schema :
39
34
type : string
40
- - name : segments
41
- in : query
42
- required : true
43
- schema :
44
- type : array
45
- items :
46
- type : string
47
- minItems : 1
48
- description : Array of segment IDs
49
35
responses :
50
36
' 200 ' :
51
37
description : Successful operation
@@ -68,25 +54,11 @@ paths:
68
54
summary : Create Work History Organization
69
55
description : Create a new organization for a specific profile
70
56
parameters :
71
- - name : tenantId
72
- in : path
73
- required : true
74
- schema :
75
- type : string
76
57
- name : memberId
77
58
in : path
78
59
required : true
79
60
schema :
80
61
type : string
81
- - name : segments
82
- in : query
83
- required : true
84
- schema :
85
- type : array
86
- items :
87
- type : string
88
- minItems : 1
89
- description : Array of segment IDs
90
62
requestBody :
91
63
required : true
92
64
content :
@@ -134,7 +106,7 @@ paths:
134
106
' 404 ' :
135
107
description : Member not found
136
108
137
- /tenant/{tenantId}/ member/{memberId}/organization/{organizationId } :
109
+ /member/{memberId}/organization/{workHistoryId } :
138
110
patch :
139
111
security :
140
112
- BearerAuth : []
@@ -143,30 +115,16 @@ paths:
143
115
summary : Update Work History Organization
144
116
description : Update an existing organization for a specific profile
145
117
parameters :
146
- - name : tenantId
147
- in : path
148
- required : true
149
- schema :
150
- type : string
151
118
- name : memberId
152
119
in : path
153
120
required : true
154
121
schema :
155
122
type : string
156
- - name : organizationId
123
+ - name : workHistoryId
157
124
in : path
158
125
required : true
159
126
schema :
160
127
type : string
161
- - name : segments
162
- in : query
163
- required : true
164
- schema :
165
- type : array
166
- items :
167
- type : string
168
- minItems : 1
169
- description : Array of sub-project IDs
170
128
requestBody :
171
129
required : true
172
130
content :
@@ -175,7 +133,7 @@ paths:
175
133
type : object
176
134
required :
177
135
- id
178
- - organizationId
136
+ - workHistoryId
179
137
- source
180
138
properties :
181
139
id :
@@ -227,30 +185,16 @@ paths:
227
185
summary : Delete Work History Organization
228
186
description : Delete an organization for a specific profile
229
187
parameters :
230
- - name : tenantId
231
- in : path
232
- required : true
233
- schema :
234
- type : string
235
188
- name : memberId
236
189
in : path
237
190
required : true
238
191
schema :
239
192
type : string
240
- - name : organizationId
193
+ - name : workHistoryId
241
194
in : path
242
195
required : true
243
196
schema :
244
197
type : string
245
- - name : segments
246
- in : query
247
- required : true
248
- schema :
249
- type : array
250
- items :
251
- type : string
252
- minItems : 1
253
- description : Array of segment IDs
254
198
responses :
255
199
' 200 ' :
256
200
description : Successful operation
@@ -263,7 +207,7 @@ paths:
263
207
' 404 ' :
264
208
description : Organization or member not found
265
209
266
- /tenant/{tenantId}/ member/{memberId}/affiliation :
210
+ /member/{memberId}/affiliation :
267
211
get :
268
212
security :
269
213
- BearerAuth : []
@@ -272,25 +216,11 @@ paths:
272
216
summary : List Project Affiliations
273
217
description : Retrieve a list of project affiliations for a specific profile
274
218
parameters :
275
- - name : tenantId
276
- in : path
277
- required : true
278
- schema :
279
- type : string
280
219
- name : memberId
281
220
in : path
282
221
required : true
283
222
schema :
284
223
type : string
285
- - name : segments
286
- in : query
287
- required : true
288
- schema :
289
- type : array
290
- items :
291
- type : string
292
- minItems : 1
293
- description : Array of segment IDs
294
224
responses :
295
225
' 200 ' :
296
226
description : Successful operation
@@ -313,25 +243,11 @@ paths:
313
243
summary : Update Multiple Project Affiliations
314
244
description : Bulk update project affiliations for a specific profile
315
245
parameters :
316
- - name : tenantId
317
- in : path
318
- required : true
319
- schema :
320
- type : string
321
246
- name : memberId
322
247
in : path
323
248
required : true
324
249
schema :
325
250
type : string
326
- - name : segments
327
- in : query
328
- required : true
329
- schema :
330
- type : array
331
- items :
332
- type : string
333
- minItems : 1
334
- description : Array of segment IDs
335
251
requestBody :
336
252
required : true
337
253
content :
0 commit comments