OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
examples for groups api
ulferts221529cd3267
diff --git a/docs/api/apiv3/paths/group.yml b/docs/api/apiv3/paths/group.ymlindex 8d575754d16..85b2920ac32 100644--- a/docs/api/apiv3/paths/group.yml+++ b/docs/api/apiv3/paths/group.yml@@ -196,7 +196,7 @@ patch:errorIdentifier: urn:openproject-org:api:v3:errors:NotFoundmessage: The requested resource could not be found.description: |-- Returned if the membership does not exist or the client does not have sufficient permissions+ Returned if the group does not exist or the client does not have sufficient permissionsto see it.**Required permission** If the user has the *manage members* permission in at least one project the user will be able to query all groups. If not, the user@@ -224,7 +224,35 @@ patch:headers: {}tags:- Groups- description: Updates the given group by applying the attributes provided in the+ description: |-+ Updates the given group by applying the attributes provided in thebody.++ Please note that the `members` array provided will override the existing set of members (similar to a PUT). A client thus+ has to provide the complete list of members the group is to have after the PATCH even if only one member is to be added.operationId: Update_group+ requestBody:+ content:+ application/json:+ schema:+ example:+ _links:+ members:+ - href: "/api/v3/users/363"+ - href: "/api/v3/users/60"+ name: The group+ properties:+ _links:+ properties:+ members:+ type: arrray+ items:+ type: object+ properties:+ href:+ type: string+ type: object+ name:+ type: string+ type: objectsummary: Update groupdiff --git a/docs/api/apiv3/paths/groups.yml b/docs/api/apiv3/paths/groups.ymlindex dddbbec5639..60ff92d3d0f 100644--- a/docs/api/apiv3/paths/groups.yml+++ b/docs/api/apiv3/paths/groups.yml@@ -149,4 +149,28 @@ post:- Groupsdescription: Creates a new group applying the attributes provided in the body.operationId: Create_group+ requestBody:+ content:+ application/json:+ schema:+ example:+ _links:+ members:+ - href: "/api/v3/users/363"+ - href: "/api/v3/users/60"+ name: The group+ properties:+ _links:+ properties:+ members:+ type: arrray+ items:+ type: object+ properties:+ href:+ type: string+ type: object+ name:+ type: string+ type: objectsummary: Create group