Make Content-Type examples consistent with actual server output
Change-Id: I32d9d66d894d9dbb9cb8b7748b8466c8b1c98f22
This commit is contained in:
parent
84cc73c4c9
commit
56bf1cb803
@ -47,7 +47,7 @@ option instead:
|
||||
Example to set a Gerrit project's link:rest-api-projects.html#set-project-description[description]:
|
||||
|
||||
----
|
||||
curl -X PUT --digest --user john:2LlAB3K9B0PF --data-binary @project-desc.txt --header "Content-Type: application/json;charset=UTF-8" http://localhost:8080/a/projects/myproject/description
|
||||
curl -X PUT --digest --user john:2LlAB3K9B0PF --data-binary @project-desc.txt --header "Content-Type: application/json; charset=UTF-8" http://localhost:8080/a/projects/myproject/description
|
||||
----
|
||||
|
||||
=== Authentication
|
||||
|
@ -30,7 +30,7 @@ The entries in the map are sorted by project name.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
|
@ -26,7 +26,7 @@ matching link:#account-info[AccountInfo] entities.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -62,7 +62,7 @@ Returns an account as an link:#account-info[AccountInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -87,7 +87,7 @@ link:#account-input[AccountInput].
|
||||
.Request
|
||||
----
|
||||
PUT /accounts/john HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"name": "John Doe",
|
||||
@ -107,7 +107,7 @@ returned that describes the created account.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -134,7 +134,7 @@ Retrieves the full name of an account.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"John Doe"
|
||||
@ -156,7 +156,7 @@ an link:#account-name-input[AccountNameInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /accounts/self/name HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"name": "John F. Doe"
|
||||
@ -169,7 +169,7 @@ As response the new account name is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"John F. Doe"
|
||||
@ -215,7 +215,7 @@ Retrieves the username of an account.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"john.doe"
|
||||
@ -304,7 +304,7 @@ Retrieves the HTTP password of an account.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Qmxlc21ydCB1YmVyIGFsbGVzIGluIGRlciBXZWx0IQ"
|
||||
@ -327,7 +327,7 @@ HttpPasswordInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /accounts/self/password.http HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"generate": true
|
||||
@ -340,7 +340,7 @@ As response the new HTTP password is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"ETxgpih8xrNs"
|
||||
@ -386,7 +386,7 @@ link:#email-info[EmailInfo] entities.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -420,7 +420,7 @@ describes the email address.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -458,7 +458,7 @@ link:#email-info[EmailInfo] entity.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -526,7 +526,7 @@ link:#ssh-key-info[SshKeyInfo] entities.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -561,7 +561,7 @@ describes the SSH key.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -599,7 +599,7 @@ describes the new SSH key.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -656,7 +656,7 @@ link:#capability-info[CapabilityInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -680,7 +680,7 @@ Administrator that has authenticated with digest authentication:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -722,7 +722,7 @@ possible alternative for the caller.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -786,7 +786,7 @@ entries is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -866,7 +866,7 @@ Retrieves the URL where the user can change the avatar image.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
https://profiles/pictures/john.doe
|
||||
----
|
||||
@ -891,7 +891,7 @@ link:#preferences-info[PreferencesInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -947,7 +947,7 @@ link:#preferences-input[PreferencesInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /a/accounts/self/preferences HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"changes_per_page": 50,
|
||||
@ -995,7 +995,7 @@ link:#preferences-info[PreferencesInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1057,7 +1057,7 @@ link:#diff-preferences-info[DiffPreferencesInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1087,7 +1087,7 @@ link:#diff-preferences-input[DiffPreferencesInput] entity.
|
||||
.Request
|
||||
----
|
||||
GET /a/accounts/self/preferences.diff HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"context": 10,
|
||||
@ -1110,7 +1110,7 @@ link:#diff-preferences-info[DiffPreferencesInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1147,7 +1147,7 @@ link:rest-api-changes.html#change-info[ChangeInfo] entities.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
|
@ -21,7 +21,7 @@ mandatory. Valid values for status are: `DRAFT` and `NEW`.
|
||||
.Request
|
||||
----
|
||||
POST /changes HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"project" : "myProject",
|
||||
@ -39,7 +39,7 @@ the resulting change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -88,7 +88,7 @@ Query for open changes of watched projects:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -157,7 +157,7 @@ Query that retrieves changes for a user's dashboard:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -312,7 +312,7 @@ default. Optional fields are:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -449,7 +449,7 @@ describes the change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -501,7 +501,7 @@ REJECTED > APPROVED > DISLIKED > RECOMMENDED.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -653,7 +653,7 @@ Retrieves the topic of a change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Documentation"
|
||||
@ -675,7 +675,7 @@ link:#topic-input[TopicInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/topic HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"topic": "Documentation"
|
||||
@ -688,7 +688,7 @@ As response the new topic is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Documentation"
|
||||
@ -744,7 +744,7 @@ describes the abandoned change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -774,7 +774,7 @@ the error message is contained in the response body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
change is merged
|
||||
----
|
||||
@ -802,7 +802,7 @@ describes the restored change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -832,7 +832,7 @@ the error message is contained in the response body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
change is new
|
||||
----
|
||||
@ -858,7 +858,7 @@ is included.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -922,7 +922,7 @@ body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
The change could not be rebased due to a path conflict during merge.
|
||||
----
|
||||
@ -950,7 +950,7 @@ describes the reverting change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -980,7 +980,7 @@ the error message is contained in the response body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
change is new
|
||||
----
|
||||
@ -1000,7 +1000,7 @@ complete.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/submit HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"wait_for_merge": true
|
||||
@ -1014,7 +1014,7 @@ describes the submitted/merged change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1041,7 +1041,7 @@ message is contained in the response body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
blocked by Verified
|
||||
----
|
||||
@ -1057,7 +1057,7 @@ Publishes a draft change.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/publish HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
----
|
||||
|
||||
.Response
|
||||
@ -1076,7 +1076,7 @@ Deletes a draft change.
|
||||
.Request
|
||||
----
|
||||
DELETE /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940 HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
----
|
||||
|
||||
.Response
|
||||
@ -1102,7 +1102,7 @@ an link:#included-in-info[IncludedInInfo] entity is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1154,7 +1154,7 @@ missing from the result. At least `id`, `project`, `branch`, and
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1202,7 +1202,7 @@ Only the change owner, a project owner, or an administrator may fix changes.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1266,7 +1266,7 @@ provided fetch info map is also included.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1329,7 +1329,7 @@ entity when a file within change edit should be restored.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/edit HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"restore_path": "foo"
|
||||
@ -1358,7 +1358,7 @@ entity.
|
||||
.Request
|
||||
----
|
||||
PUT /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/edit:message HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"message": "New commit message\n\nChange-Id: I10394472cbd17dd12454f229e4f6de00b143a444"
|
||||
@ -1415,7 +1415,7 @@ specified file was deleted in the change edit "`204 No Content`" is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=ISO-8859-1
|
||||
Content-Type: text/plain; charset=ISO-8859-1
|
||||
X-FYI-Content-Encoding: base64
|
||||
|
||||
RnJvbSA3ZGFkY2MxNTNmZGVhMTdhYTg0ZmYzMmE2ZTI0NWRiYjY...
|
||||
@ -1438,7 +1438,7 @@ Retrieves content MIME type of a file from a change edit.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"text/plain"
|
||||
@ -1552,7 +1552,7 @@ As result a list of link:#reviewer-info[ReviewerInfo] entries is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1597,7 +1597,7 @@ As result a list of link:#suggested-reviewer-info[SuggestedReviewerInfo] entries
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1637,7 +1637,7 @@ describes the reviewer.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1665,7 +1665,7 @@ body as a link:#reviewer-input[ReviewerInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/reviewers HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"reviewer": "john.doe@example.com"
|
||||
@ -1679,7 +1679,7 @@ returned that describes the newly added reviewers.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1707,7 +1707,7 @@ required.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/reviewers HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"reviewer": "MyProjectVerifiers"
|
||||
@ -1718,7 +1718,7 @@ required.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1733,7 +1733,7 @@ To confirm the addition of the reviewers, resend the request with the
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/reviewers HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"reviewer": "MyProjectVerifiers",
|
||||
@ -1782,7 +1782,7 @@ describes the revision.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1838,7 +1838,7 @@ for the current patch set.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1967,7 +1967,7 @@ describing the related changes.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2033,7 +2033,7 @@ link:#review-input[ReviewInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/review HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"message": "Some nits need to be fixed.",
|
||||
@ -2071,7 +2071,7 @@ describes the applied labels.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2102,7 +2102,7 @@ is included.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2166,7 +2166,7 @@ body.
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
The change could not be rebased due to a path conflict during merge.
|
||||
----
|
||||
@ -2186,7 +2186,7 @@ complete.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/submit HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"wait_for_merge": true
|
||||
@ -2200,7 +2200,7 @@ describes the status of the submitted change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2216,7 +2216,7 @@ message is contained in the response body.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 409 Conflict
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
"revision 674ac754f91e64a0efb8087e59a176484bd534d1 is not current revision"
|
||||
----
|
||||
@ -2232,7 +2232,7 @@ Publishes a draft revision.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/current/publish HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
----
|
||||
|
||||
.Response
|
||||
@ -2251,7 +2251,7 @@ Deletes a draft revision.
|
||||
.Request
|
||||
----
|
||||
DELETE /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1 HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
----
|
||||
|
||||
.Response
|
||||
@ -2278,7 +2278,7 @@ The formatted patch is returned as text encoded inside base64:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=ISO-8859-1
|
||||
Content-Type: text/plain; charset=ISO-8859-1
|
||||
X-FYI-Content-Encoding: base64
|
||||
X-FYI-Content-Type: application/mbox
|
||||
|
||||
@ -2314,7 +2314,7 @@ As response a link:#mergeable-info[MergeableInfo] entity is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2338,7 +2338,7 @@ could merge cleanly.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2368,7 +2368,7 @@ Gets the method the server will use to submit (merge) the change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"MERGE_IF_NECESSARY"
|
||||
@ -2390,7 +2390,7 @@ a project-specific rule.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/current/test.submit_type HTTP/1.0
|
||||
Content-Type: text/plain;charset-UTF-8
|
||||
Content-Type: text/plain; charset-UTF-8
|
||||
|
||||
submit_type(cherry_pick).
|
||||
----
|
||||
@ -2399,7 +2399,7 @@ a project-specific rule.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"CHERRY_PICK"
|
||||
@ -2421,7 +2421,7 @@ a project-specific rule.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/current/test.submit_rule?filters=SKIP HTTP/1.0
|
||||
Content-Type: text/plain;charset-UTF-8
|
||||
Content-Type: text/plain; charset-UTF-8
|
||||
|
||||
submit_rule(submit(R)) :-
|
||||
R = label('Any-Label-Name', reject(_)).
|
||||
@ -2434,7 +2434,7 @@ describing the permutations that satisfy the tested submit rule.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -2469,7 +2469,7 @@ sorted by file path.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2505,7 +2505,7 @@ link:#comment-input[CommentInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/drafts HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"path": "gerrit-server/src/main/java/com/google/gerrit/server/project/RefControl.java",
|
||||
@ -2521,7 +2521,7 @@ describes the draft comment.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2554,7 +2554,7 @@ describes the draft comment.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2580,7 +2580,7 @@ link:#comment-input[CommentInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/drafts/TvcXrmjM HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"path": "gerrit-server/src/main/java/com/google/gerrit/server/project/RefControl.java",
|
||||
@ -2596,7 +2596,7 @@ describes the draft comment.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2649,7 +2649,7 @@ the general change message (or comment).
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2701,7 +2701,7 @@ describes the published comment.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2739,7 +2739,7 @@ sorted by file path.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -2767,7 +2767,7 @@ need the FileInfo should make two requests.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -2795,7 +2795,7 @@ The content is returned as base64 encoded string.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Ly8gQ29weXJpZ2h0IChDKSAyMDEwIFRoZSBBbmRyb2lkIE9wZW4gU291cmNlIFByb2plY...
|
||||
----
|
||||
@ -2820,7 +2820,7 @@ message (`/COMMIT_MSG`) is always returned as "text/plain".
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"text/plain"
|
||||
@ -2845,7 +2845,7 @@ As response a link:#diff-info[DiffInfo] entity is returned that describes the di
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]
|
||||
{
|
||||
@ -2915,7 +2915,7 @@ If the `intraline` parameter is specified, intraline differences are included in
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]
|
||||
{
|
||||
@ -2972,7 +2972,7 @@ If the `weblinks-only` parameter is specified, only the diff web links are retur
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]
|
||||
{
|
||||
@ -3054,7 +3054,7 @@ link:#cherrypick-input[CherryPickInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/cherrypick HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"message" : "Implementing Feature X",
|
||||
@ -3069,7 +3069,7 @@ describes the resulting cherry picked change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -3108,7 +3108,7 @@ link:#cherrypick-input[CherryPickInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/revisions/674ac754f91e64a0efb8087e59a176484bd534d1/message HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"message" : "Reword Implementing Feature X",
|
||||
@ -3122,7 +3122,7 @@ describes the change.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ Returns the version of the Gerrit server.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"2.7"
|
||||
@ -55,7 +55,7 @@ The entries in the map are sorted by cache name.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -280,7 +280,7 @@ The cache names are alphabetically sorted.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -325,7 +325,7 @@ The cache names are lexicographically sorted.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
YWNjb3VudHMKYW...ViX3Nlc3Npb25z
|
||||
----
|
||||
@ -354,7 +354,7 @@ link:#cache-operation-input[CacheOperationInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /config/server/caches/ HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"operation": "FLUSH_ALL"
|
||||
@ -372,7 +372,7 @@ link:#cache-operation-input[CacheOperationInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /config/server/caches/ HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"operation": "FLUSH",
|
||||
@ -411,7 +411,7 @@ As result a link:#cache-info[CacheInfo] entity is returned.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -488,7 +488,7 @@ As result a link:#summary-info[SummaryInfo] entity is returned.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -561,7 +561,7 @@ The entries in the map are sorted by capability ID.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -670,7 +670,7 @@ command.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -719,7 +719,7 @@ As result a link:#task-info[TaskInfo] entity is returned.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -783,7 +783,7 @@ link:#top-menu-entry-info[TopMenuEntryInfo] entities is returned.
|
||||
.Response
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
|
@ -30,7 +30,7 @@ by group name.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -136,7 +136,7 @@ returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -192,7 +192,7 @@ describes the group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -222,7 +222,7 @@ link:#group-input[GroupInput].
|
||||
.Request
|
||||
----
|
||||
PUT /groups/MyProject-Committers HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"description": "contains all committers for MyProject",
|
||||
@ -239,7 +239,7 @@ describes the created group.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -280,7 +280,7 @@ describes the group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -328,7 +328,7 @@ Retrieves the name of a group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"MyProject-Committers"
|
||||
@ -347,7 +347,7 @@ The new group name must be provided in the request body.
|
||||
.Request
|
||||
----
|
||||
PUT /groups/MyProject-Committers/name HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"name": "My-Project-Committers"
|
||||
@ -360,7 +360,7 @@ As response the new group name is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"My-Project-Committers"
|
||||
@ -386,7 +386,7 @@ Retrieves the description of a group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"contains all committers for MyProject"
|
||||
@ -407,7 +407,7 @@ The new group description must be provided in the request body.
|
||||
.Request
|
||||
----
|
||||
PUT /groups/9999c971bb4ab872aab759d8c49833ee6b9ff320/description HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"description": "The committers of MyProject."
|
||||
@ -420,7 +420,7 @@ As response the new group description is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"The committers of MyProject."
|
||||
@ -466,7 +466,7 @@ returned that describes the options of the group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -488,7 +488,7 @@ link:#group-options-input[GroupOptionsInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /groups/9999c971bb4ab872aab759d8c49833ee6b9ff320/options HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"visible_to_all": true
|
||||
@ -502,7 +502,7 @@ link:#group-options-info[GroupOptionsInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -530,7 +530,7 @@ describes the owner group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -562,7 +562,7 @@ numeric group ID.
|
||||
.Request
|
||||
----
|
||||
PUT /groups/9999c971bb4ab872aab759d8c49833ee6b9ff320/description HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"owner": "6a1e70e1a88782771a91808c8af9bbb7a9871389"
|
||||
@ -576,7 +576,7 @@ describes the new owner group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -616,7 +616,7 @@ full name, preferred email and id.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -655,7 +655,7 @@ are not visible to the calling user are ignored.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -700,7 +700,7 @@ AccountInfo] entity is returned that describes the group member.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -731,7 +731,7 @@ AccountInfo] entity is returned that describes the group member.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -764,7 +764,7 @@ as a link:#members-input[MembersInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /groups/MyProject-Committers/members.add HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"members": [
|
||||
@ -786,7 +786,7 @@ already a member of the group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -837,7 +837,7 @@ body as a link:#members-input[MembersInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /groups/MyProject-Committers/members.delete HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"members": [
|
||||
@ -875,7 +875,7 @@ The entries in the list are sorted by group name and UUID.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -912,7 +912,7 @@ describes the included group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -948,7 +948,7 @@ describes the included group.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -986,7 +986,7 @@ request body as a link:#groups-input[GroupsInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /groups/MyProject-Committers/groups.add HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"groups": [
|
||||
@ -1007,7 +1007,7 @@ group was already included in the group.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1066,7 +1066,7 @@ body as a link:#groups-input[GroupsInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /groups/MyProject-Committers/groups.delete HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"groups": [
|
||||
|
@ -40,7 +40,7 @@ by plugin ID.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -76,7 +76,7 @@ a link:#plugin-input[PluginInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /plugins/delete-project HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"url": "file:///gerrit/plugins/delete-project/delete-project-2.8.jar"
|
||||
@ -97,7 +97,7 @@ describes the plugin.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -128,7 +128,7 @@ describes the plugin.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -157,7 +157,7 @@ describes the plugin.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -192,7 +192,7 @@ describes the plugin.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -222,7 +222,7 @@ describes the plugin.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
|
@ -30,7 +30,7 @@ by project name.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -70,7 +70,7 @@ GET /projects/?b=master HTTP/1.0
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -103,7 +103,7 @@ GET /projects/?d HTTP/1.0
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -133,7 +133,7 @@ Query the first project in the project list:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -160,7 +160,7 @@ List all projects that start with `platform/`:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -193,7 +193,7 @@ List all projects that match regex `test.*project`:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -221,7 +221,7 @@ Query the second project in the project list:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -245,7 +245,7 @@ List all projects that match substring `test/`:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -273,7 +273,7 @@ GET /projects/?t HTTP/1.0
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -305,7 +305,7 @@ GET /projects/?type=PERMISSIONS HTTP/1.0
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -338,7 +338,7 @@ describes the project.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -364,7 +364,7 @@ link:#project-input[ProjectInput].
|
||||
.Request
|
||||
----
|
||||
PUT /projects/MyProject HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"description": "This is a demo project.",
|
||||
@ -382,7 +382,7 @@ describes the created project.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -410,7 +410,7 @@ Retrieves the description of a project.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Copies to other servers using the Git protocol"
|
||||
@ -432,7 +432,7 @@ a link:#project-description-input[ProjectDescriptionInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/plugins%2Freplication/description HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"description": "Plugin for Gerrit that handles the replication.",
|
||||
@ -446,7 +446,7 @@ As response the new project description is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Plugin for Gerrit that handles the replication."
|
||||
@ -498,7 +498,7 @@ Retrieves the name of a project's parent project. For the
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"All-Projects"
|
||||
@ -518,7 +518,7 @@ inside a link:#project-parent-input[ProjectParentInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/plugins%2Freplication/parent HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"parent": "Public-Plugins",
|
||||
@ -532,7 +532,7 @@ As response the new parent project name is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"Public-Plugins"
|
||||
@ -555,7 +555,7 @@ Retrieves for a project the name of the branch to which `HEAD` points.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"refs/heads/master"
|
||||
@ -575,7 +575,7 @@ request body inside a link:#head-input[HeadInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/plugins%2Freplication/HEAD HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"ref": "refs/heads/stable"
|
||||
@ -588,7 +588,7 @@ As response the new ref to which `HEAD` points is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
"refs/heads/stable"
|
||||
@ -614,7 +614,7 @@ link:#repository-statistics-info[RepositoryStatisticsInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -651,7 +651,7 @@ read access to `refs/meta/config`.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -723,7 +723,7 @@ link:#config-input[ConfigInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/myproject/config HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"description": "demo project",
|
||||
@ -745,7 +745,7 @@ ConfigInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -799,7 +799,7 @@ request body as a link:#gc-input[GCInput] entity.
|
||||
.Request
|
||||
----
|
||||
POST /projects/plugins%2Freplication/gc HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"show_progress": true
|
||||
@ -812,7 +812,7 @@ The response is the streamed output of the garbage collection.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
collecting garbage for "plugins/replication":
|
||||
Pack refs: 100% (21/21)
|
||||
@ -855,7 +855,7 @@ The caller must be project owner.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/plugins%2Freplication/ban HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"commits": [
|
||||
@ -872,7 +872,7 @@ As response a link:#ban-result-info[BanResultInfo] entity is returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -906,7 +906,7 @@ returned.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -945,7 +945,7 @@ Limit the number of branches to be included in the results.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -969,7 +969,7 @@ Skip the given number of branches from the beginning of the list.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -995,7 +995,7 @@ List all projects that match substring `test`:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1024,7 +1024,7 @@ List all branches that match regex `t.*1`:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1056,7 +1056,7 @@ describes the branch.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1079,7 +1079,7 @@ link:#branch-input[BranchInput].
|
||||
.Request
|
||||
----
|
||||
PUT /projects/MyProject/branches/stable HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"revision": "76016386a0d8ecc7b6be212424978bb45959d668"
|
||||
@ -1093,7 +1093,7 @@ describes the created branch.
|
||||
----
|
||||
HTTP/1.1 201 Created
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1140,7 +1140,7 @@ The content is returned as base64 encoded string.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Ly8gQ29weXJpZ2h0IChDKSAyMDEwIFRoZSBBbmRyb2lkIE9wZW4gU291cmNlIFByb2plY...
|
||||
----
|
||||
@ -1168,7 +1168,7 @@ returned in reverse order.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1247,7 +1247,7 @@ returned that describe the child projects.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1287,7 +1287,7 @@ are not resolved further.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1345,7 +1345,7 @@ describes the child project.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1380,7 +1380,7 @@ Only includes tags under the `refs/tags/` namespace.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1434,7 +1434,7 @@ As response a link:#tag-info[TagInfo] entity is returned that describes the tag.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1477,7 +1477,7 @@ is returned that describes the commit.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1524,7 +1524,7 @@ The content is returned as base64 encoded string.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: text/plain;charset=UTF-8
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Ly8gQ29weXJpZ2h0IChDKSAyMDEwIFRoZSBBbmRyb2lkIE9wZW4gU291cmNlIFByb2plY...
|
||||
----
|
||||
@ -1554,7 +1554,7 @@ List all dashboards for the `work/my-project` project:
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
[
|
||||
@ -1606,7 +1606,7 @@ that describes the dashboard.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1642,7 +1642,7 @@ dashboard-id.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
@ -1682,7 +1682,7 @@ the request body as a link:#dashboard-input[DashboardInput] entity.
|
||||
.Request
|
||||
----
|
||||
PUT /projects/work%2Fmy-project/dashboards/default HTTP/1.0
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
{
|
||||
"id": "main:closed",
|
||||
@ -1697,7 +1697,7 @@ link:#dashboard-info[DashboardInfo] entity.
|
||||
----
|
||||
HTTP/1.1 200 OK
|
||||
Content-Disposition: attachment
|
||||
Content-Type: application/json;charset=UTF-8
|
||||
Content-Type: application/json; charset=UTF-8
|
||||
|
||||
)]}'
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user