Skip to content

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

fix example request on memberships create

ulferts371afb4a1ed4
diff --git a/docs/api/apiv3/endpoints/members.apib b/docs/api/apiv3/endpoints/members.apib
index 332f8684a1d..f8bf53e19c6 100644
--- a/docs/api/apiv3/endpoints/members.apib
+++ b/docs/api/apiv3/endpoints/members.apib
@@ -113,20 +113,22 @@ You can use the form and schema to be retrieve the valid attribute values and by
+ Body
{
- "project": {
- "href": "/api/v3/projects/1"
- },
- "principal": {
- "href": "/api/v3/users/5"
- },
- "roles": [
- {
- "href": "/api/v3/roles/5"
- },
- {
- "href": "/api/v3/roles/8"
+ "_links": {
+ "project": {
+ "href": "/api/v3/projects/1"
+ },
+ "principal": {
+ "href": "/api/v3/users/5"
+ },
+ "roles": [
+ {
+ "href": "/api/v3/roles/5"
+ },
+ {
+ "href": "/api/v3/roles/8"
+ }
+ ]
}
- ]
}
+ Response 201