Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
2700a1ea
Commit
2700a1ea
authored
Feb 01, 2019
by
Craig Squire
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add custom attributes to groups request/response
parent
cd1e3f03
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
groups.go
groups.go
+2
-0
No files found.
groups.go
View file @
2700a1ea
...
@@ -47,6 +47,7 @@ type Group struct {
...
@@ -47,6 +47,7 @@ type Group struct {
ParentID
int
`json:"parent_id"`
ParentID
int
`json:"parent_id"`
Projects
[]
*
Project
`json:"projects"`
Projects
[]
*
Project
`json:"projects"`
Statistics
*
StorageStatistics
`json:"statistics"`
Statistics
*
StorageStatistics
`json:"statistics"`
CustomAttributes
[]
*
CustomAttribute
`json:"custom_attributes"`
}
}
// ListGroupsOptions represents the available ListGroups() options.
// ListGroupsOptions represents the available ListGroups() options.
...
@@ -62,6 +63,7 @@ type ListGroupsOptions struct {
...
@@ -62,6 +63,7 @@ type ListGroupsOptions struct {
SkipGroups
[]
int
`url:"skip_groups,omitempty" json:"skip_groups,omitempty"`
SkipGroups
[]
int
`url:"skip_groups,omitempty" json:"skip_groups,omitempty"`
Sort
*
string
`url:"sort,omitempty" json:"sort,omitempty"`
Sort
*
string
`url:"sort,omitempty" json:"sort,omitempty"`
Statistics
*
bool
`url:"statistics,omitempty" json:"statistics,omitempty"`
Statistics
*
bool
`url:"statistics,omitempty" json:"statistics,omitempty"`
WithCustomAttributes
*
bool
`url:"with_custom_attributes,omitempty" json:"with_custom_attributes,omitempty"`
}
}
// ListGroups gets a list of groups (as user: my groups, as admin: all groups).
// ListGroups gets a list of groups (as user: my groups, as admin: all groups).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment