Improve wording of some REST endpoint descriptions

This makes the descriptions of the REST endpoints more consistent.

Change-Id: I137897270be6815aa0671a11f5b2462d2ddae504
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2013-02-22 10:09:23 +01:00 committed by Edwin Kempin
parent ab33d4fc6e
commit efec449282
2 changed files with 10 additions and 7 deletions

View File

@ -285,6 +285,8 @@ Retrieves the description of a group.
"contains all committers for MyProject"
----
If the group does not have a description an empty string is returned.
[[set-group-description]]
PUT /groups/\{group-id\}/description (Set Group Description)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -114,6 +114,8 @@ Retrieves the description of a project.
"Copies to other servers using the Git protocol"
----
If the project does not have a description an empty string is returned.
[[set-project-description]]
PUT /projects/\{project-name\}/description (Set Project Description)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -150,11 +152,11 @@ DELETE /projects/\{project-name\}/description (Delete Project Description)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Deletes the description of a project.
A message to commit the change of the project description can be
specified in the request body inside a
link:#project-description-input[ProjectDescriptionInput] entity.
The request body does not need to include a
link:#project-description-input[ProjectDescriptionInput] entity if no
commit message is specified.
Please note, that some proxies prohibit request bodies for DELETE
Please note that some proxies prohibit request bodies for DELETE
requests. In this case, if you want to specify a commit message, use
link:#set-project-description[PUT] to delete the description.
@ -415,9 +417,8 @@ Deletes a project dashboard.
Currently only supported for the `default` dashboard.
A message to commit the deletion of the project dashboard can be
specified in the request body inside a link:#dashboard-input[
DashbaordInput] entity.
The request body does not need to include a link:#dashboard-input[
DashbaordInput] entity if no commit message is specified.
Please note that some proxies prohibit request bodies for DELETE
requests.