Skip to content

Commit

Permalink
Merge pull request #8396 from loket4/development
Browse files Browse the repository at this point in the history
Update projects-v2.yaml
  • Loading branch information
Luyao-Zhang-1 authored Sep 30, 2024
2 parents b2e0f35 + 3bbb02b commit 2bf9997
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion static/openapi-spec/projects-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,16 @@ paths:
tags:
- Projects
summary: 'Add a project team member'
description: 'Adds a team member to the project with a specific role. The user must be an active member of the platform and belong to the same company as the user requesting the change. If the company is not yet using centralised platform roles, only the Scrum Master role can be assigned.</br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:team:write`.'
description: 'Adds a team member to the project with a specific role or sends an invitation if the member is not from the same organization as the project. The user must be an active member of the platform. If the organization of the member is not yet using centralized project roles, only the Scrum Master role can be assigned.</br></br>If the invited user is from the same organization as the project, the server responds with a `201`. If an invitation was sent, the server responds with a `202`. In the latter case the invited user must first accept the invitation before becoming a team member.</br></br>Every request must be authenticated by a Personal Access Token containing the scope `mx:app:team:write`.'
operationId: post-project-member
parameters:
- $ref: '#/components/parameters/app-id'
requestBody:
$ref: '#/components/requestBodies/ProjectMember'
responses:
'201':
description: Created
'202':
description: Accepted
'400':
$ref: '#/components/responses/Http400'
Expand Down

0 comments on commit 2bf9997

Please sign in to comment.