-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
doc.go
40 lines (34 loc) · 939 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Package group offers capabilities for grouping subjects together, making policy management easier.
package group
// A list of groups the member is belonging to
// swagger:response findGroupsByMemberResponse
type swaggerFindGroupsByMemberResponse struct {
// in: body
Body []string
}
// swagger:parameters findGroupsByMember
type swaggerFindGroupsByMemberParameters struct {
// The id of the member to look up.
// in: query
Member int `json:"member"`
}
// swagger:parameters getGroup deleteGroup
type swaggerGetGroupParameters struct {
// The id of the group to look up.
// in: path
ID int `json:"id"`
}
// swagger:parameters removeMembersFromGroup addMembersToGroup
type swaggerModifyMembersParameters struct {
// The id of the group to modify.
// in: path
ID int `json:"id"`
// in: body
Body membersRequest
}
// A group
// swagger:response groupResponse
type swaggerGroupResponse struct {
// in: body
Body Group
}