Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
19c9dbf7
Commit
19c9dbf7
authored
Aug 07, 2016
by
Adam Niedzielski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update API documentation.
parent
245d4abb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
doc/api/projects.md
doc/api/projects.md
+10
-1
No files found.
doc/api/projects.md
View file @
19c9dbf7
...
@@ -894,10 +894,13 @@ Parameters:
...
@@ -894,10 +894,13 @@ Parameters:
"name"
:
"John Smith"
,
"name"
:
"John Smith"
,
"state"
:
"active"
,
"state"
:
"active"
,
"created_at"
:
"2012-05-23T08:00:58Z"
,
"created_at"
:
"2012-05-23T08:00:58Z"
,
"access_level"
:
40
"access_level"
:
40
,
"expires_at"
:
null
}
}
```
```
>**Note:** The expiration date feature is not released yet.
### Add project team member
### Add project team member
Adds a user to a project team. This is an idempotent method and can be called multiple times
Adds a user to a project team. This is an idempotent method and can be called multiple times
...
@@ -913,6 +916,9 @@ Parameters:
...
@@ -913,6 +916,9 @@ Parameters:
-
`id`
(required) - The ID or NAMESPACE/PROJECT_NAME of a project
-
`id`
(required) - The ID or NAMESPACE/PROJECT_NAME of a project
-
`user_id`
(required) - The ID of a user to add
-
`user_id`
(required) - The ID of a user to add
-
`access_level`
(required) - Project access level
-
`access_level`
(required) - Project access level
-
`expires_at`
(optional) - Date string in the format YEAR-MONTH-DAY
>**Note:** Setting the expiration date is not released yet.
### Edit project team member
### Edit project team member
...
@@ -927,6 +933,9 @@ Parameters:
...
@@ -927,6 +933,9 @@ Parameters:
-
`id`
(required) - The ID or NAMESPACE/PROJECT_NAME of a project
-
`id`
(required) - The ID or NAMESPACE/PROJECT_NAME of a project
-
`user_id`
(required) - The ID of a team member
-
`user_id`
(required) - The ID of a team member
-
`access_level`
(required) - Project access level
-
`access_level`
(required) - Project access level
-
`expires_at`
(optional) - Date string in the format YEAR-MONTH-DAY
>**Note:** Setting the expiration date is not released yet.
### Remove project team member
### Remove project team member
...
...
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