diff --git a/content/en/docs/apidocs-mxsdk/apidocs/private-mendix-platform/project-api-v2.md b/content/en/docs/apidocs-mxsdk/apidocs/private-mendix-platform/project-api-v2.md index 7f31094aa86..b3270c56dc1 100644 --- a/content/en/docs/apidocs-mxsdk/apidocs/private-mendix-platform/project-api-v2.md +++ b/content/en/docs/apidocs-mxsdk/apidocs/private-mendix-platform/project-api-v2.md @@ -32,4 +32,4 @@ For information about Project API version 1, see [Project API - Version 1](/apid ## API Reference -{{< swaggerui src="/openapi-spec/openapi-project-v2.yaml" >}} +{{< swaggerui src="/openapi-spec/openapi-project-v2.0.1.yaml" >}} diff --git a/content/en/docs/private-platform/configuration/pmp-configure-aws-secret.md b/content/en/docs/private-platform/configuration/pmp-configure-aws-secret.md index 5d046146c2a..d433abe6b8c 100644 --- a/content/en/docs/private-platform/configuration/pmp-configure-aws-secret.md +++ b/content/en/docs/private-platform/configuration/pmp-configure-aws-secret.md @@ -144,10 +144,10 @@ When creating a property to use as a key for external secret storage, use the fo * Maia - * **AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM - * **AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM + * **Maia.AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM The following is a JSON template. Copy this template into your secret, and set the values that you want to use. Leave those you do not want to use empty. diff --git a/content/en/docs/private-platform/configuration/pmp-configure-azure-key-vault.md b/content/en/docs/private-platform/configuration/pmp-configure-azure-key-vault.md index 1ee6449071c..b84653b0139 100644 --- a/content/en/docs/private-platform/configuration/pmp-configure-azure-key-vault.md +++ b/content/en/docs/private-platform/configuration/pmp-configure-azure-key-vault.md @@ -147,10 +147,10 @@ When creating the JSON structure for your secret, you must use a flat key-value * Maia - * **AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM - * **AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM + * **Maia.AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM ### Configuring Azure AD Workload Identity diff --git a/content/en/docs/private-platform/configuration/pmp-configure-hashicorp-vault.md b/content/en/docs/private-platform/configuration/pmp-configure-hashicorp-vault.md index 92b3e94a416..bcdfd16019d 100644 --- a/content/en/docs/private-platform/configuration/pmp-configure-hashicorp-vault.md +++ b/content/en/docs/private-platform/configuration/pmp-configure-hashicorp-vault.md @@ -157,10 +157,10 @@ Use the exact key names specified by Private Mendix Platform, with dots (`.`) as * **Maia** - * **AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM - * **AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM - * **OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AmazonBedrockApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom AWS Bedrock LLM + * **Maia.AzureAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.AnthropicApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM + * **Maia.OpenAiApiKey** - An API key to allow [Maia](/private-mendix-platform/maia/) to connect to a custom Azure LLM ### Configuring the Kubernetes Authentication Method {#configure-k8s-auth} diff --git a/content/en/docs/private-platform/pmp-maia.md b/content/en/docs/private-platform/pmp-maia.md index 134248164b5..44564c3d552 100644 --- a/content/en/docs/private-platform/pmp-maia.md +++ b/content/en/docs/private-platform/pmp-maia.md @@ -16,6 +16,7 @@ Mendix AI Assistance (Maia) in Private Mendix Platform has the following capabil Starting point for app creation: * **Start with Maia** - a starting point in Studio Pro that helps you to start the app development process. Based on a required text description and an optional image or PDF, it generates an app that includes a domain model, data management overview pages, test data, and a tailored homepage. For more information, see [Start with Maia](/refguide/start-with-maia/). +* **Maia Make** - a unified conversational interface in Studio Pro that groups all AI-assisted development capabilities into a single chat experience. With this interface, everything happens in one place. Start a conversation, describe what you need, and Maia generates the necessary app artifacts, such as a new domain model, pages, and microflows. You can also ask it to explain documents for you, including your app logic and pages. For more information, see [Maia Make Capabilities](/refguide/maia-make/). Recommenders: diff --git a/content/en/docs/refguide/mendix-ai-assistance/maia-make/_index.md b/content/en/docs/refguide/mendix-ai-assistance/maia-make/_index.md index 56bb1949a2d..8d024d95dd1 100644 --- a/content/en/docs/refguide/mendix-ai-assistance/maia-make/_index.md +++ b/content/en/docs/refguide/mendix-ai-assistance/maia-make/_index.md @@ -187,6 +187,14 @@ To configure an OpenAI-compatible provider, follow these steps: 5. Optional: Enter your **API Key**. Studio Pro stores this key securely across sessions. 6. Click **Save Config**. +### LLM Gateway Configuration for Private Mendix Platform + +[Private Mendix Platform](/private-mendix-platform/) provides an environment where you can develop and deploy your applications within your own enterprise security boundary to ensure the highest levels of data security and compliance. Because Private Mendix Platform instances are hosted within the enterprise firewall, selecting an LLM provider other than the default [Mendix Platform](#mendix-platform) requires you to also configure the LLM Gateway URL. + +{{< figure src="/attachments/private-platform/pmp-llm-gateway.png" class="no-border" >}} + +The LLM Gateway URL is configured during the installation or upgrade of Private Mendix Platform. For more information, see [Installing Maia for Private Mendix Platform](/private-mendix-platform/quickstart/#maia). + ## Read More * [Mendix AI Assistance (Maia)](/refguide/mendix-ai-assistance/) diff --git a/content/en/docs/releasenotes/private-platform/2.8.md b/content/en/docs/releasenotes/private-platform/2.8.md new file mode 100644 index 00000000000..48b95cc90ee --- /dev/null +++ b/content/en/docs/releasenotes/private-platform/2.8.md @@ -0,0 +1,78 @@ +--- +title: "2.8" +url: /releasenotes/private-platform/2-8/ +description: "Release notes for version 2.8 of Private Mendix Platform" +weight: 5 +lts: true +--- + +These release notes cover changes made to the [Private Mendix Platform](/private-mendix-platform/) in version 2.8. + +{{% alert color="info" %}} +This is the [LTS](/releasenotes/studio-pro/lts-mts/#lts) version release. Customers are encouraged to upgrade to this version. [Previous MTS versions](/releasenotes/private-platform/1-13/) of Private Mendix Platform are no longer supported. +{{% /alert %}} + +## 2.8.0 + +### Release date: August 2, 2026 + +Version 2.8.0 of Private Mendix Platform introduces a number of new features, updates, and fixes. + +#### New Features + +##### Manage Platform Ops as Code + +You can now use Helm and Helmfile in order to automate the declarative installation of Private Mendix Platform and its components through GitOps and CI/CD pipelines. For more information, refer to the [Private Mendix Platform Quickstart Guide](/private-mendix-platform/helmfile-installation/). + +#### Improvements + +##### Improved Support for Maia Make + +We have significantly updated the functionality of [Maia Make](/refguide/maia-make/), and provided a new LLM Gateway component to help you configure Maia for Studio Pro 11.12 LTS. For more information, refer to the [Private Mendix Platform Quickstart Guide](/private-mendix-platform/quickstart/#maia). + +##### Connected Mode Enhancements + +To support deployments in Connected mode, we have provided the following enhancements: + +* You can now configure custom HTTP headers in the **Network and TLS** tab of the **Environment Details** page. +* You can configure constants and schedule events by importing and exporting a yaml file on the *Model Options** tab of the **Environment Details** page. +* Private Mendix Platform now supports runtime leaderless mode for connected environments, which allows nodes to dynamically choose a leader. + +#### Updates + +##### Studio Pro Updates + +* Studio Pro 9.24 LTS latest patch version updated to [9.24.43](/releasenotes/studio-pro/9.24/#92443) +* Studio Pro 10.24 LTS latest patch version updated to [10.24.21](/releasenotes/studio-pro/10.24/#102421) +* Studio Pro 11.6 MTS latest patch version updated to [11.12.1](/releasenotes/studio-pro/11.12/#11121) + +##### Other Platform Components + +* Mendix on Kubernetes Operator version [2.28.0](/releasenotes/developer-portal/mendix-for-private-cloud/#2.28.0) +* Private Cloud License Manager (PCLM) version 0.11.1 +* Interactor v1.25.4 +* Interactor Bridge v1.24.5 +* Collector v1.23.4 +* Authenticator v1.19.3 +* Maia 0.39.0 +* DocGen 1.0.4 + +privatecloud-license-manager:0.11.1 + +#### Fixes + +* (General) We have fixed an issue where it was impossible to select the user role when creating a local user during Private Mendix Platform installation. +* (General) We have solved an issue where unauthorized users could access Environment Details through the URL. +* (General) We have solved an issue where adding a user that was not a member of a group, resulted in a notification stating that the user would inherit roles. +* (General) We have solved an issue where changing user role resulted in a notification stating that the user was removed. +* (General) We have solved an issue which made it impossible to create a Set Constants role with specific permissions, even when no such role already existed. +* (General) We have fixed an issue where direct group memberships were lost when a group was moved in group hierarchy. +* (General) We have solved an issue where, after ownership was transferred away from a user that only had the direct Owner resource role, the old owner account would remain a member of the project with an unknown role and group. +* (General) We have improved the approve, decline, and delete behavior for Marketplace content. +* (General) We have resolved an issue where users outside a group could still see and download the content owned by the group. +* (General) We have fixed some CVEs related to the following: + + * Svix + * Mxpc + * Private Mendix Platform pipeline tools + * Build agent diff --git a/content/en/docs/releasenotes/private-platform/_index.md b/content/en/docs/releasenotes/private-platform/_index.md index 2e6f750aa36..10ff9284e9a 100644 --- a/content/en/docs/releasenotes/private-platform/_index.md +++ b/content/en/docs/releasenotes/private-platform/_index.md @@ -12,6 +12,7 @@ These release notes cover changes made to the [Private Mendix Platform](/private Release notes are available for the following versions of Private Mendix Platform: +* [2.8](/releasenotes/private-platform/2-8/) * [2.7](/releasenotes/private-platform/2-7/) * [2.6](/releasenotes/private-platform/2-6/) * [2.4](/releasenotes/private-platform/2-4/) diff --git a/static/attachments/private-platform/pmp-llm-gateway.png b/static/attachments/private-platform/pmp-llm-gateway.png new file mode 100644 index 00000000000..a4f13e6d920 Binary files /dev/null and b/static/attachments/private-platform/pmp-llm-gateway.png differ diff --git a/static/openapi-spec/openapi-project-v2.0.1.yaml b/static/openapi-spec/openapi-project-v2.0.1.yaml new file mode 100644 index 00000000000..852a62da2ca --- /dev/null +++ b/static/openapi-spec/openapi-project-v2.0.1.yaml @@ -0,0 +1,1397 @@ +openapi: 3.0.1 +info: + version: 2.0.1 + title: Project Service v2 + description: "Provide services for managing Project app, team members, sharing users and sharing groups access.\r\n" +servers: + - url: 'https://pmp-demo.privateplatform.mendix.com/projectservice/v2' +paths: + /projects: + get: + tags: + - projects + summary: Get my projects + description: Get my project list + operationId: getMyProjects + parameters: + - name: status + in: query + description: Get my active projects or archived projects + schema: + enum: + - Active + - Archived + responses: + '200': + $ref: '#/components/responses/projects' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + post: + tags: + - projects + summary: Create a new project + description: 'Create a new project with input app name, summary, template id' + operationId: createProject + requestBody: + description: Create new project request + required: false + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectCreateRequest' + examples: + Create a new project with template version uuid: + value: + name: Project-A + description: Project A + group: Group-X + useAppTemplate: true + appTemplate: + versionUUID: "344ac863-6510-46f5-b3de-06ce7e8489d3" + Create a new project with template id and template version: + value: + name: Project-A + description: Project A + group: Group-X + useAppTemplate: true + appTemplate: + templateId: "1" + templateVersion: "10.24.90436" + Create a new blank project without template: + value: + name: Project-A + description: Project A + group: Group-X + useAppTemplate: false + + responses: + '202': + $ref: '#/components/responses/job' + '400': + $ref: '#/components/responses/Error-400-project-creation' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + '/projects/jobs/{jobId}': + get: + tags: + - projects + summary: Get project creation status + description: Get project creation status + operationId: getJob + parameters: + - name: jobId + in: path + description: Job Id of project creation task + required: true + schema: + type: string + responses: + '200': + description: Get project creation job status successfully + content: + application/json: + schema: + type: object + properties: + projectId: + type: string + description: Project id created by the job. + example: ec603b34-2ceb-4011-9c9c-d7c10ef1ca4e + status: + type: string + description: Project creation job status, such as "Open", "Success", "Failed". + errorMessage: + type: string + description: Error message for failed project creation jobs. + example: '' + required: + - projectId + - status + examples: + Job status: + value: + projectId: ec603b34-2ceb-4011-9c9c-d7c10ef1ca4e + status: Success + errorMessage: '' + + '400': + $ref: '#/components/responses/Error-400-project-job' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + description: Project creation job not found + content: + application/json: + schema: + type: object + properties: + code: + type: integer + example: 404 + message: + type: string + example: Project creation job not found + examples: + Error 404 - Job not found: + value: + code: 404 + message: Project creation job not found + + '/projects/{projectId}': + get: + tags: + - projects + summary: Get a project with project Id + description: Get a project details with project Id + operationId: getProject + parameters: + - name: status + in: query + description: Get active project or archived project with project Id + schema: + enum: + - Active + - Archived + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + responses: + '200': + $ref: '#/components/responses/project' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + patch: + tags: + - projects + summary: Change project info and status + description: 'Change project name, description or status' + operationId: changeProjectInfoOrStatus + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + description: Change project request + content: + application/json: + schema: + $ref: '#/components/schemas/ProjectPatchRequest' + responses: + '200': + $ref: '#/components/responses/project' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + delete: + tags: + - projects + summary: Delete project with project Id + description: Delete project with project Id + operationId: deleteProject + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + responses: + '204': + description: Project deleted successfully, no content in response body + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + '/projects/{projectId}/branches': + get: + tags: + - projects + summary: Retrive all branches of project + description: Retrive all branches of the project with project Id + operationId: getProjectBranches + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + - name: cursor + in: query + description: Start position for pagination of the branch list retrived + required: false + schema: + type: integer + default: 1 + minimum: 1 + - name: limit + in: query + description: The number of items for each pagination of the branch list retrived + required: false + schema: + type: integer + default: 50 + minimum: 1 + maximum: 499 + + responses: + '200': + $ref: '#/components/responses/branches' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + '/projects/{projectId}/branches/{branchName}/revisions': + get: + tags: + - projects + summary: Retrive all revsions on project branch + description: Retrive all revsions on the branch with project Id and branch name + operationId: getProjectBranchRevisions + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + - name: branchName + in: path + description: Project branch name + required: true + schema: + type: string + example: main + - name: cursor + in: query + description: Start position for pagination of the branch revision list retrived + required: false + schema: + type: integer + default: 1 + minimum: 1 + - name: limit + in: query + description: The number of items for each pagination of the branch revision list retrived + required: false + schema: + type: integer + default: 50 + minimum: 1 + maximum: 499 + + responses: + '200': + $ref: '#/components/responses/revisions' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + '/projects/{projectId}/owner': + put: + tags: + - projects + summary: Change owner user and group of project + description: Change owner user and group of project + operationId: changeProjectOwner + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + description: Input owner user and group name of project + required: false + content: + application/json: + schema: + $ref: '#/components/schemas/OwnerChangeRequest' + examples: + Project owner user and group: + value: + userName: User1 + groupName: Group1 + responses: + '200': + $ref: '#/components/responses/project' + '400': + $ref: '#/components/responses/Error-400-project-owner' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + /projects/{projectId}/sharing-groups: + post: + tags: + - projects + summary: Add groups into sharing groups of project + description: Add the specified groups into the sharing groups of the project. + operationId: addProjectSharingGroups + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SharingGroupsAddRequest' + responses: + '200': + $ref: '#/components/responses/sharing-groups' + '400': + $ref: '#/components/responses/Error-400-project-share-group' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + get: + tags: + - projects + summary: Get the sharing groups of the project + description: Get the sharing groups of the project + operationId: getProjectShareGroups + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + responses: + '200': + $ref: '#/components/responses/sharing-groups' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + delete: + tags: + - projects + summary: Remove groups from sharing groups of project + description: Remove the specified groups from the sharing groups of the project. + operationId: removeProjectSharingGroups + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SharingGroupsRemoveRequest' + responses: + '204': + description: Project sharing groups removed successfully, no content in response body + '400': + $ref: '#/components/responses/Error-400-project-share-group' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + /projects/{projectId}/sharing-users: + post: + tags: + - projects + summary: Add users into sharing users of project + description: Add the specified users into the sharing users of the project. + operationId: addProjectSharingUsers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SharingUsersAddRequest' + responses: + '200': + $ref: '#/components/responses/sharing-users' + '400': + $ref: '#/components/responses/Error-400-project-share-user' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + get: + tags: + - projects + summary: Get sharing users of project + description: Get the sharing groups of the project + operationId: getProjectSharingUsers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + responses: + '200': + $ref: '#/components/responses/sharing-users' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + delete: + tags: + - projects + summary: Remove users from sharing users of project + description: Remove the specified users from the sharing users of the project. + operationId: removeProjectSharingUsers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/SharingUsersRemoveRequest' + responses: + '204': + description: Project sharing users removed successfully, no content in response body + '400': + $ref: '#/components/responses/Error-400-project-share-user' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + /projects/{projectId}/team: + post: + tags: + - projects + summary: Invite users into project team + description: Invite the specified users into the project team. + operationId: inviteProjectTeamMembers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TeamMembersInviteRequest' + responses: + '200': + $ref: '#/components/responses/team-members' + '400': + $ref: '#/components/responses/Error-400-project-team' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + get: + tags: + - projects + summary: Get the team members of the project + description: Get the team members of the project + operationId: getProjectTeamMembers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + responses: + '200': + $ref: '#/components/responses/team-members' + '400': + $ref: '#/components/responses/Error-400' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + delete: + tags: + - projects + summary: Remove users from project team. + description: Remove the specified users from the project team. + operationId: removeProjectTeamMembers + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + requestBody: + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/TeamMembersRemoveRequest' + responses: + '204': + description: Project sharing users removed successfully, no content in response body + '400': + $ref: '#/components/responses/Error-400-project-team' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + + /projects/{projectId}/team/{userId}: + delete: + tags: + - projects + summary: Remove a user from project team + description: Remove a specified user from the project team. + operationId: removeProjectTeamMember + parameters: + - name: projectId + in: path + description: Project Id + required: true + schema: + type: string + - name: userId + in: path + description: User Id + required: true + schema: + type: string + responses: + '204': + description: Project sharing user removed successfully, no content in response body + '400': + $ref: '#/components/responses/Error-400-project-team' + '401': + $ref: '#/components/responses/Error-401' + '403': + $ref: '#/components/responses/Error-403' + '404': + $ref: '#/components/responses/Error-404' + +components: + parameters: + projectId: + name: projectId + in: path + description: Project Id + required: true + schema: + type: string + format: uuid + pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-4[a-fA-F0-9]{3}-[89abAB][a-fA-F0-9]{3}-[a-fA-F0-9]{12}' + example: e48b3e22-d6ad-4c81-aa5e-603776d22b4d + jobId: + name: jobId + in: path + description: Job Id of project creation task + required: true + schema: + type: string + minLength: 1 + maxLength: 20 + example: '123' + + responses: + + Error-400-project-creation: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project creation request: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: name + reason: Invalid project name + - name: templateId + reason: Invalid project template id + - name: templateVersion + reason: Invalid project template version + - name: versionUUID + reason: Invalid project template version UUID + + Error-400-project-owner: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: projectId + reason: Invalid project id + 400 - Invalid project owner change request: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: userId + reason: Invalid project owner user id + - name: groupId + reason: Invalid project owner group id + + Error-400-project-team: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: projectId + reason: Invalid project id + 400 - Invalid project team member user: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: userId + reason: Invalid project team member user id + + Error-400-project-share-group: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: projectId + reason: Invalid project id + 400 - Invalid project share group: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: groupId + reason: Invalid project share group id + + Error-400-project-share-user: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: projectId + reason: Invalid project id + 400 - Invalid project share user: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: userId + reason: Invalid project share user id + + Error-400-project-job: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project creation job id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: jobId + reason: Invalid project creation job id + + Error-400: + description: Invalid input parameter or request body + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 400 - Invalid project id: + value: + status: 400 + title: Bad Request + detail: Invalid parameters + invalid-params: + - name: projectId + reason: Invalid project id + + Error-401: + description: Authentication information missing or invalid + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 401 - Unauthorized: + value: + status: 401 + title: Unauthorized + detail: Authentication information missing or invalid + Error-403: + description: No permission for this operation + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 403 - Forbidden: + value: + status: 403 + title: Forbidden + detail: User has no permission for this operation + Error-404: + description: Resource not found + content: + application/json: + schema: + $ref: '#/components/schemas/error' + examples: + 404 - Project not found: + value: + status: 404 + title: Not Found + detail: Project not found + 404 - Project member not found: + value: + status: 404 + title: Not Found + detail: Project team member not found + 404 - Project share group not found: + value: + status: 404 + title: Not Found + detail: Project share group not found + + projects: + description: Project list + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + description: Project id. + example: d8e4086c-8a5c-4372-9781-03a83c87defb + name: + type: string + description: Project name. + example: App-test-1 + description: + type: string + description: Project description. + example: This project was created by Mendix Studio Pro. + ownerUserName: + type: string + description: Project owner username. + example: Peter + ownerGroupName: + type: string + description: Project owner group name. + example: IT + memberCount: + type: integer + description: Number of members in the project. + example: 2 + repositoryId: + type: string + description: Repository id. + example: '172' + repositoryName: + type: string + description: Repository name. + example: App-test-1 + repositoryURL: + type: string + description: Repository URL. + example: 'https://gitlab.com/lato/App-test-1.git' + isActive: + type: boolean + description: Indicates if the project is active. + example: true + createdDate: + type: string + description: The date and time when the project was created. + example: '2023-08-13T06:06:55.196Z' + + examples: + Project list: + value: + - id: d8e4086c-8a5c-4372-9781-03a83c87defb + name: App-test-1 + description: This project was created by Mendix Studio Pro. + ownerUserName: Peter + ownerGroupName: IT + memberCount: 2 + repositoryId: '172' + repositoryName: App-test-1 + repositoryURL: 'https://gitlab.com/lato/App-test-1.git' + isActive: true + createdDate: '2023-08-13T06:06:55.196Z' + - id: c6af395b-be22-4cfc-a473-5e30d255fb6d + name: App-test-2 + description: This project was created by Mendix Studio Pro. + ownerUserName: Peter + ownerGroupName: IT + memberCount: 2 + repositoryId: '552' + repositoryName: App-test-2 + repositoryURL: 'https://gitlab.com/org/App-test-2.git' + isActive: true + createdDate: '2023-08-13T06:06:55.211Z' + + branches: + description: Project branch list + content: + application/json: + schema: + type: array + items: + type: object + properties: + branchName: + type: string + description: Project branch name. + example: main + latestCommit: + type: string + description: The latest commit on project branch. + example: "6f995268aae5f9899029bada2abadc3b251fbfb0" + examples: + Project branch list: + value: + - branchName: main + latestCommit: "6f995268aae5f9899029bada2abadc3b251fbfb0" + + revisions: + description: Project branch revision list + content: + application/json: + schema: + type: array + items: + type: object + properties: + revisionId: + type: string + description: Project branch revision id. + example: "6f995268" + authorName: + type: string + description: The author name of project branch revision. + example: "Mendix" + message: + type: string + description: The commit message of project branch revision. + example: "Import app template" + commitDate: + type: string + description: The commit date of project branch revision. + example: "2026-01-07 13:02:11" + examples: + Project branch revision list: + value: + - revisionId: "6f995268" + authorName: "kean" + message: "login.html edited online with Bitbucket" + commitDate: "2026-01-07 13:02:11" + - revisionId: "5e6a49a5" + authorName: "Mendix" + message: "Import app template" + commitDate: "2025-12-28 11:58:11" + + job: + description: Project creation job + content: + application/json: + schema: + type: object + properties: + id: + type: string + description: The jobId of the Project creation task, the jobId value is the project repositoryId. + example: '123' + examples: + Project creation job: + value: + id: '123' + + project: + description: Project + content: + application/json: + schema: + $ref: '#/components/schemas/Project' + examples: + Project: + value: + id: d8e4086c-8a5c-4372-9781-03a83c87defb + name: App-test-1 + description: This project was created by Mendix Studio Pro. + ownerUserName: Peter + ownerGroupName: IT + memberCount: 2 + repositoryId: '172' + repositoryName: App-test-1 + repositoryURL: 'https://gitlab.com/lato/App-test-1.git' + isActive: true + createdDate: '2023-08-13T06:06:55.196Z' + + sharing-groups: + description: Project sharing groups + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + description: Project sharing group id + example: 205b6ffd-34cf-453e-aa45-2782d2f8cf9c + name: + type: string + description: Project sharing group name + example: Group-IT + examples: + Project sharing groups list: + value: + - id: 205b6ffd-34cf-453e-aa45-2782d2f8cf9c + name: Group-IT + - id: 10d0a84a-0c13-4efa-a09f-948e49462be9 + name: Group-QA + + sharing-users: + description: Project sharing users + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + description: Project sharing user id + example: 05ab1238-407c-478b-9dd3-05f4256702b1 + name: + type: string + description: Project sharing user name + example: Peter + email: + type: string + description: Project sharing user email + example: peter@example.com + examples: + Project sharing users list: + value: + - id: 05ab1238-407c-478b-9dd3-05f4256702b1 + name: John + email: john@example.com + - id: cf77fc69-d303-446d-b045-d2aa6fb54937 + name: Peter + email: peter@example.com + + team-members: + description: Project team members + content: + application/json: + schema: + type: array + items: + type: object + properties: + id: + type: string + description: Project team member id + example: 05ab1238-407c-478b-9dd3-05f4256702b1 + name: + type: string + description: Project team member name + example: Peter + email: + type: string + description: Project team member email + example: peter@example.com + examples: + Project team members list: + value: + - id: 05ab1238-407c-478b-9dd3-05f4256702b1 + name: John + email: john@example.com + - id: cf77fc69-d303-446d-b045-d2aa6fb54937 + name: Peter + email: peter@example.com + + schemas: + ProjectCreateRequest: + type: object + description: Project creation request + properties: + name: + type: string + description: Project name. + example: App-Test-1 + description: + type: string + description: Project description. + example: My test app 1 + group: + type: string + description: Project owner group name. + example: Group-Dev + useAppTemplate: + type: boolean + description: 'If true, app template will be used for project creation.' + example: true + appTemplate: + type: object + description: App template. + properties: + templateId: + type: string + description: (Will be depreciated) App template id that can be got via Marketplace UI or API. + example: '438' + templateVersion: + type: string + description: (Will be depreciated) App template version that can be got via Marketplace UI or API. + example: '10.24.81004' + versionUUID: + type: string + description: App template version UUID that can be got via Marketplace UI or API. + example: "344ac863-6510-46f5-b3de-06ce7e8489d3" + + required: + - name + + ProjectPatchRequest: + type: object + description: Project change request + properties: + name: + type: string + description: Project name + example: App-Test-1 + description: + type: string + description: Project description + example: My test app 1 + isActive: + type: boolean + description: Project status (Active or Inactive) + example: true + + OwnerChangeRequest: + type: object + title: OwnerChangeRequest + description: Project owner change request + properties: + userId: + type: string + description: Project owner user id. + example: 759bdc29-7a1c-4a5e-96a8-b44b2876b9e9 + groupId: + type: string + description: Project owner group id + example: 4ca3f8ff-e498-40da-b230-360716e701a6 + + SharingGroupsAddRequest: + title: SharingGroupsAddRequest + type: object + description: Project sharing group add request + properties: + groupId: + type: string + description: Project sharing group id + example: 4ca3f8ff-e498-40da-b230-360716e701a6 + + SharingGroupsRemoveRequest: + title: SharingGroupsRemoveRequest + type: object + description: Project sharing group removal request + properties: + groupId: + type: string + description: Project sharing group id + example: 4ca3f8ff-e498-40da-b230-360716e701a6 + + SharingUsersAddRequest: + title: SharingUsersAddRequest + type: object + description: Project sharing user add request + properties: + userId: + type: string + description: Project sharing user id + example: 759bdc29-7a1c-4a5e-96a8-b44b2876b9e9 + + SharingUsersRemoveRequest: + title: SharingUsersRemoveRequest + type: object + description: Project sharing user removal request + properties: + userId: + type: string + description: Project sharing user id + example: 759bdc29-7a1c-4a5e-96a8-b44b2876b9e9 + + TeamMembersInviteRequest: + title: TeamMembersInviteRequest + type: object + description: Project team members invite request + properties: + userId: + type: string + description: Project team member user id + example: 759bdc29-7a1c-4a5e-96a8-b44b2876b9e9 + directRole: + type: string + description: 'Direct role assigned to the team member, such as "Developer", "Operator", etc.' + example: Developer + + TeamMembersRemoveRequest: + title: TeamMembersRemoveRequest + type: object + description: Project team members removal request + properties: + userId: + type: string + description: Project team member user id + example: 759bdc29-7a1c-4a5e-96a8-b44b2876b9e9 + + Project: + type: object + description: Project + properties: + id: + type: string + description: Project id. + example: d8e4086c-8a5c-4372-9781-03a83c87defb + name: + type: string + description: Project name. + example: App-test-1 + description: + type: string + description: Project description. + example: This project was created by Mendix Studio Pro. + ownerUserName: + type: string + description: Project owner's username. + example: Peter + ownerGroupName: + type: string + description: Project owner's group name. + example: IT + memberCount: + type: integer + description: Number of members in the project. + example: 2 + repositoryId: + type: string + description: Repository id. + example: '172' + repositoryName: + type: string + description: Repository name. + example: App-test-1 + repositoryURL: + type: string + description: Repository URL. + example: 'https://gitlab.com/lato/App-test-1.git' + isActive: + type: boolean + description: Indicates if the project is active. + example: true + createdDate: + type: string + description: Date when the project was created. + example: '2023-08-13T06:06:55.196Z' + + error: + type: object + description: Error response + properties: + status: + type: integer + description: Response status code. + example: 400 + title: + type: string + description: 'A short, human-readable summary of the problem type.' + example: Bad Request + detail: + type: string + description: A human-readable explanation specific to this occurrence of the problem. + example: Please see invalid-params list + invalid-params: + type: array + description: "(Optional) JSON list List of name, reason keys for invalid attribute values.\r\n" + items: + type: object + properties: + name: + type: string + description: "Parameter name.\r\n" + example: name + reason: + type: string + description: "Reason for error.\r\n" + example: Project name can not be empty + required: + - status + - title + - detail + + securitySchemes: + basicAuth: + type: http + scheme: basic + mxtoken: + type: apiKey + name: Authorization + in: header +security: + - basicAuth: [] + - mxtoken: [] +tags: + - name: projects + description: 'For managing Project app, team members, sharing users and sharing groups access' \ No newline at end of file