Files
openproject/docs/api/apiv3/components/schemas/group_model.yml
T
Eric Schubert abbaf045c5 [chore] fix api spec validation
- validation script used unmaintained npm package
- switched to actively maintained package from same maintainer
- pipe full output to stdout
- bump node major version in development backend Dockerfile
- fix two api spec errors and two random warnings - boyscout, hell yeah
2026-02-11 14:11:20 +01:00

65 lines
1.4 KiB
YAML

# Schema: GroupModel
---
allOf:
- $ref: './principal_model.yml'
- type: object
required:
- _type
- _embedded
properties:
_type:
type: string
enum:
- Group
_embedded:
type: object
properties:
members:
type: array
description: Embedded list of members.
items:
$ref: './user_model.yml'
_links:
type: object
properties:
self:
allOf:
- $ref: './link.yml'
- description: |-
This group resource
**Resource**: Group
members:
type: array
items:
allOf:
- $ref: './link.yml'
- description: |-
A member of the group
# Conditions:
- user has permission `manage_members` in any project
**Resource**: User
delete:
allOf:
- $ref: './link.yml'
- description: |-
An href to delete the group.
# Conditions:
- `admin`
updateImmediately:
allOf:
- $ref: './link.yml'
- description: |-
An href to update the group.
# Conditions:
- `admin`
**Resource**: Group