diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-07 14:24:58 +0200 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-07 14:24:58 +0200 |
commit | 19c9dbf73b3f7bf406781ddd4e04b8e98e71fc44 (patch) | |
tree | 1dd48b22b5af8ac2689ac312723223f585396664 /doc/api | |
parent | 245d4abbbf3d8a1a74b730f4b95a29218de73ee3 (diff) | |
download | gitlab-ce-19c9dbf73b3f7bf406781ddd4e04b8e98e71fc44.tar.gz |
Update API documentation.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/projects.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 0ba0bffb4ac..454129b0234 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -894,10 +894,13 @@ Parameters: "name": "John Smith", "state": "active", "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 Adds a user to a project team. This is an idempotent method and can be called multiple times @@ -913,6 +916,9 @@ Parameters: - `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project - `user_id` (required) - The ID of a user to add - `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 @@ -927,6 +933,9 @@ Parameters: - `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project - `user_id` (required) - The ID of a team member - `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 |