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
+37-36Lines changed: 37 additions & 36 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ info:
7
7
contact:
8
8
name: Mendix Support
9
9
url: 'https://support.mendix.com'
10
+
email: support@mendix.com
10
11
servers:
11
12
- url: 'https://projects-api.home.mendix.com/v2'
12
13
paths:
@@ -104,28 +105,28 @@ paths:
104
105
properties:
105
106
categories:
106
107
type: array
107
-
description: 'Array of category assignments. Each item identifies a company custom field (fieldId) and the Code/Value to assign. Used when updating `category`.'
108
+
description: 'Array of category assignments. Each item identifies a company category (categoryId) and the Code/Value to assign. Used when updating `category`.'
108
109
items:
109
110
type: object
110
111
required:
111
-
- fieldId
112
+
- categoryId
112
113
- value
113
114
properties:
114
-
fieldId:
115
+
categoryId:
115
116
type: string
116
-
description: 'Identifier of the company custom field'
117
+
description: 'Identifier of the company category'
117
118
maxLength: 36
118
119
value:
119
120
type: string
120
-
description: 'The Code or Value to assign to the custom field. An empty string clears the assignment.'
121
+
description: 'The Code or Value to assign to the category. An empty string clears the assignment.'
121
122
maxLength: 500
122
123
examples:
123
124
category-update:
124
125
value:
125
126
categories:
126
-
- fieldId: '123456789'
127
+
- categoryId: '123456789'
127
128
value: 'NLD'
128
-
- fieldId: '987654321'
129
+
- categoryId: '987654321'
129
130
value: ''
130
131
responses:
131
132
'204':
@@ -263,7 +264,7 @@ paths:
263
264
tags:
264
265
- Projects
265
266
summary: 'Get the status of a job creating a project'
266
-
description: 'Returns the status of the process that creates a project.</br>Every request must be authenticated through a Personal Access Token containing the `mx:app:create` scope.'
267
+
description: 'Returns the status of the process that creates a project.</br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:create`.'
267
268
operationId: get-project-job
268
269
parameters:
269
270
- $ref: '#/components/parameters/job-id'
@@ -281,13 +282,13 @@ paths:
281
282
tags:
282
283
- Users
283
284
summary: 'Get a list of projects the user is a team member of'
284
-
description: 'Returns a list of projects that the specified user is a team member of. The output is restricted based on the authorization of the calling user. Mendix administrators will get a list of all projects (active or inactive) owned by their company for the specified user. This includes external users hired by them to work on their projects. Project members must be active and will get a list of all active projects that they themselves are a team member of. Project members cannot request a list of projects on behalf of someone else.<br/>The result is sorted alphabetically by project name in ascending order.</br>Every request must be authenticated through a Personal Access Token containing the `mx:app:metadata:read` scope.'
285
+
description: 'Returns a list of projects that the specified user is a team member of. The output is restricted based on the authorization of the calling user. Mendix administrators will get a list of all projects (active or inactive) owned by their company for the specified user. This includes external users hired by them to work on their projects. Project members must be active and will get a list of all active projects that they themselves are a team member of. Project members cannot request a list of projects on behalf of someone else.<br/>The result is sorted alphabetically by project name in ascending order.</br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:metadata:read`.'
285
286
operationId: get-user-projects
286
287
parameters:
287
288
- $ref: '#/components/parameters/user-id'
288
289
- name: permissions
289
290
in: query
290
-
description: 'A comma-separated list of permissions that the user has within the project. Possible values are `administrator`, `technicalcontact`, `repositoryaccess`, `cloudaccess`, `storyaccess`, `invitationrights`. The values are applied to the query using the AND operator.'
291
+
description: 'A commaseparated list of permissions the user has within the project. Possible values are `administrator`, `technicalcontact`, `repositoryaccess`, `cloudaccess`, `storyaccess`, `invitationrights`. The values are applied to the query using the AND operator'
291
292
schema:
292
293
type: string
293
294
- name: isPinnedByUser
@@ -311,13 +312,13 @@ paths:
311
312
tags:
312
313
- Accounts
313
314
summary: 'Get a list of project roles for a specified account.'
314
-
description: 'Returns a list of project roles for a specified account or company. The output is restricted based on the authorization of the calling user. The calling user must be a member of the specified company.</br></br>Every request must be authenticated through a Personal Access Token containing the `mx:app:roles:read` scope.'
315
+
description: 'Returns a list of project roles for a specified account (or company). The output is restricted based on the authorization of the calling user. The calling user must be a member of the specified company.</br></br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:roles:read`.'
315
316
operationId: get-company-roles
316
317
parameters:
317
318
- $ref: '#/components/parameters/account-id'
318
319
- name: changedSince
319
320
in: query
320
-
description: 'If supplied, only roles created or changed since this date will be returned. The date and time should be provided in the ISO 8601 format, for example `2024-08-21T11:07:00Z`.'
321
+
description: 'If supplied only roles created or changed since this date will be returned. This date time should be provided in the ISO 8601 format, for example `2024-08-21T11:07:00Z`'
321
322
schema:
322
323
type: string
323
324
format: date-time
@@ -339,12 +340,12 @@ paths:
339
340
tags:
340
341
- Accounts
341
342
summary: 'Get a list of company-owned projects'
342
-
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 Admin.</br>Every request must be authenticated through a Personal Access Token containing the `mx:app:metadata:read` scope.'
343
+
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`.'
343
344
operationId: get-account-projects
344
345
parameters:
345
346
- name: createdSince
346
347
in: query
347
-
description: 'Retrieve all projects created after this date. Time is in UTC and must be provided in this format: 2020-01-16T05:53:28Z.'
348
+
description: 'Retrieve all projects created after this date. Time is in UTC and must be provided in this format: 2020-01-16T05:53:28Z'
348
349
schema:
349
350
type: string
350
351
- $ref: '#components/parameters/limit'
@@ -394,7 +395,7 @@ components:
394
395
description: Unique identifier in the Mendix Platform.
395
396
Account:
396
397
type: object
397
-
description: 'Account or company that owns the resource'
398
+
description: 'Account (or company) that owns the resource'
398
399
properties:
399
400
accountId:
400
401
type: string
@@ -420,7 +421,7 @@ components:
420
421
$ref: '#/components/schemas/Account'
421
422
Page:
422
423
type: object
423
-
description: 'Contains information about the current page, and the total number of elements to be retrieved.'
424
+
description: 'Contains information about the current page, and total elements to be retrieved'
424
425
properties:
425
426
totalElements:
426
427
type: integer
@@ -452,7 +453,7 @@ components:
452
453
description: 'URL of the cloud portal the project is hosted on.'
453
454
active:
454
455
type: boolean
455
-
description: 'Indicates whether a project is active and can be maintained by a team. Inactive projects will only be returned to Mendix Admins. Note this attribute does not indicate whether the project is actively deployed or running in the cloud.'
456
+
description: 'Indicates whether a project is active and can be maintained by a team. Inactive projects will only be returned to Mendix administrators. Note this attribute does not indicate whether the project is actively deployed or running in the cloud.'
456
457
account:
457
458
$ref: "#/components/schemas/Account"
458
459
ProjectRole:
@@ -498,13 +499,13 @@ components:
498
499
properties:
499
500
environmentType:
500
501
type: string
501
-
description: 'The type of environment.'
502
+
description: 'Type of the environment.'
502
503
enum:
503
504
- non_production
504
505
- production
505
506
accessType:
506
507
type: string
507
-
description: 'The type of access.'
508
+
description: 'Type of the access.'
508
509
enum:
509
510
- no_access
510
511
- access
@@ -517,7 +518,7 @@ components:
517
518
description: 'Indicates whether the role has environment transportation rights.'
518
519
hasBackupAccess:
519
520
type: boolean
520
-
description: 'Indicates whether the role is allowed to access the environment''s backups.'
521
+
description: 'Indicates whether the role is allowed to access the environment'' backups.'
521
522
hasMonitoringAccess:
522
523
type: boolean
523
524
description: 'Indicates whether the role has access to the environment''s monitoring.'
@@ -590,7 +591,7 @@ components:
590
591
description: Unique identifier of the member
591
592
roleId:
592
593
type: string
593
-
description: The unique identifier of the role that will be assigned to the member.
594
+
description: Unique identifier of the role that will be assigned to the member
594
595
x-examples:
595
596
Example 1:
596
597
memberId: d207ff9b-3603-4060-aa0a-62d5b264bac7
@@ -608,7 +609,7 @@ components:
608
609
properties:
609
610
name:
610
611
type: string
611
-
description: The name of the project.
612
+
description: Name of the project
612
613
maxLength: 100
613
614
summary:
614
615
type: string
@@ -617,10 +618,10 @@ components:
617
618
maxLength: 400
618
619
image:
619
620
type: string
620
-
description: 'Base-64 encoded string of the project icon image. The file size is limited to 5MB, minimum of 200 x 200 px and maximum of 400 x 400 px.'
621
+
description: 'Base-64 encoded string of the project icon image. The file size is limited to 5MB, minimum of 200 x 200 px and amaximum of 400 x 400 px.'
621
622
templateId:
622
623
type: string
623
-
description: 'Identifier of the template that the project will be copied from. If empty, the default template is used.'
624
+
description: 'Identifier of the template that the project will be copied from. If empty, the default template will be used.'
description: "For more information about requesting and using a token, refer to the [documentation](https://docs.mendix.com/community-tools/mendix-profile/user-settings/#pat).<br/>The header must be set to `MxToken <Your PAT>`."
646
+
description: "For more information about requesting and using a token see the [documentation](https://docs.mendix.com/community-tools/mendix-profile/user-settings/#pat).<br/>The header must be set to `MxToken <Your PAT>`."
646
647
name: Authorization
647
648
in: header
648
649
responses:
@@ -678,7 +679,7 @@ components:
678
679
description: Date and time in UTC when the project was created.
679
680
active:
680
681
type: boolean
681
-
description: 'Indicates whether a project is active or not. Inactive projects will only be returned to Mendix Admins.'
682
+
description: 'Indicates whether a project is active or not. Inactive projects will only be returned to Mendix administrators.'
682
683
createdBy:
683
684
type: object
684
685
description: Contains information about the person that created this project.
@@ -743,10 +744,10 @@ components:
743
744
description: URL of the project image/logo.
744
745
createdOn:
745
746
type: string
746
-
description: Date and time when the project was created, expressed in UTC.
747
+
description: Date and time in UTC when the project was created.
747
748
active:
748
749
type: boolean
749
-
description: Indicates whether a project is active or not. Inactive projects will only be returned to Mendix Admins.
750
+
description: Indicates whether a project is active or not. Inactive projects will only be returned to Mendix administrators.
750
751
createdBy:
751
752
type: object
752
753
description: Contains information about the person that created this project.
@@ -764,7 +765,7 @@ components:
764
765
maxLength: 50
765
766
storyTool:
766
767
type: string
767
-
description: The tool or service used to manage the workload of the project. Can be empty if no tool has been chosen yet.
768
+
description: The tool or service used to manage the workload of the project. Could be empty if no tool has been chosen yet
768
769
enum:
769
770
- Epics
770
771
- Jira
@@ -781,10 +782,10 @@ components:
781
782
- Mendix_for_Private_Cloud
782
783
targetCloud:
783
784
type: string
784
-
description: URL of the cloud portal where the project is hosted
785
+
description: URL of the cloud portal the project is hosted on
785
786
members:
786
787
type: array
787
-
description: Array of members in the project. Inactive members will only be returned to Mendix Admins.
788
+
description: Array of members in the project. Inactive members will only be returned for Mendix Administrators
788
789
items:
789
790
allOf:
790
791
- $ref: '#/components/schemas/User'
@@ -819,7 +820,7 @@ components:
819
820
maxLength: 500
820
821
categoryId:
821
822
type: string
822
-
description: ID of the category (also known as 'FieldId')
823
+
description: ID of the category (also known as categoryId)
823
824
maxLength: 36
824
825
values:
825
826
type: array
@@ -915,7 +916,7 @@ components:
915
916
description: URL of the avatar image of the member.
916
917
isActive:
917
918
type: boolean
918
-
description: Indicates whether the member is an active member on the platform.
919
+
description: Indicator of whether the member is an active member on the platform
919
920
company:
920
921
type: object
921
922
description: Contains information of the company to which the member belongs.
@@ -959,7 +960,7 @@ components:
959
960
properties:
960
961
jobId:
961
962
type: string
962
-
description: Unique identifier of the job that created the project. Use this ID to query the status of the process.
963
+
description: Unique identifier of the job that creates the project. Use this ID to query the status of the process.
0 commit comments