You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: static/openapi-spec/projects-v2.yaml
+36-8Lines changed: 36 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ paths:
16
16
tags:
17
17
- Projects
18
18
summary: 'Get a list of company-owned projects'
19
-
description: 'Returns a list of projects owned by the company of the requesting user. Inactive projects are only returned if the requesting user is a Mendix Administrator.</br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:metadata:read`.'
19
+
deprecated: true
20
+
description: 'This operation has been deprecated. Clients are redirected to `GET /accounts/{account-id}/projects`.'
20
21
operationId: get-projects
21
22
parameters:
22
23
- name: createdSince
@@ -27,14 +28,10 @@ paths:
27
28
- $ref: '#components/parameters/limit'
28
29
- $ref: '#components/parameters/offset'
29
30
responses:
30
-
'200':
31
-
$ref: '#/components/responses/ProjectsResponse'
32
-
'400':
33
-
$ref: '#/components/responses/Http400'
31
+
'308':
32
+
$ref: '#/components/responses/Http308'
34
33
'401':
35
34
$ref: '#/components/responses/Http401'
36
-
'500':
37
-
$ref: '#/components/responses/Http500'
38
35
post:
39
36
tags:
40
37
- Projects
@@ -268,6 +265,30 @@ paths:
268
265
$ref: '#/components/responses/Http404'
269
266
'500':
270
267
$ref: '#/components/responses/Http500'
268
+
'/accounts/{account-id}/projects':
269
+
get:
270
+
tags:
271
+
- Accounts
272
+
summary: 'Get a list of company-owned projects'
273
+
description: 'Returns a list of projects owned by the company of the requesting user. Inactive projects are only returned if the requesting user is a Mendix Administrator.</br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:metadata:read`.'
274
+
operationId: get-account-projects
275
+
parameters:
276
+
- name: createdSince
277
+
in: query
278
+
description: 'Retrieve all projects created after this date. Time is in UTC and must be provided in this format: 2020-01-16T05:53:28Z'
0 commit comments