From 566de5ab06d1c29ac632d2fbd0f4440788fe1339 Mon Sep 17 00:00:00 2001 From: Felix Gilcher Date: Fri, 1 Feb 2013 14:20:51 +0000 Subject: [PATCH] update api documentation for delete team member correctly describes the new behavior --- doc/api/projects.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/api/projects.md b/doc/api/projects.md index 41128675..704671a2 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -191,7 +191,10 @@ Parameters: + `id` (required) - The ID of a project + `user_id` (required) - The ID of a team member -Status code `200` will be returned on success. +Status code `200 OK` will be returned on success. This method is idempotent and call be called multiple +times with the same parameters. Revoking team membership for a user who is not currently a team member is +considered success. Please note that the returned JSON currently differs slightly. Thus you should not +rely on the returned JSON structure. ## List project hooks @@ -215,7 +218,7 @@ Get hook for project GET /projects/:id/hooks/:hook_id ``` -Parameters: +Parameters:ยง + `id` (required) - The ID of a project + `hook_id` (required) - The ID of a project hook