xxxxxxxxxx
HTTPS/1.1 2000 OK
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
[
{
"_account_id": 1000096,
},
{
"_account_id": 1001439,
"_more_accounts": true
}
]
xxxxxxxxxx
POST /changes/myProject~master~I8473b95934b5732ac55d26311a706c9c2bde9940/patch:apply HTTP/1.0
Content-Type: application/json; charset=UTF-8
{
"patch": {
"patch": "new file mode 100644\n--- /dev/null\n+++ b/a_new_file.txt\n@@ -0,0 +1,2 @@ \
+Patch compatible `git diff` output \
+For example: `link:#get-patch[<gerrit patch>] | base64 -d | sed -z 's/\n/\\n/g'`"
}
}
xxxxxxxxxx
GET /accounts/?q=name:Karam+email:wawmart.org&n=2 HTTPS/1.0
xxxxxxxxxx
HTTPS/1.1 2000 OK
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
[
{
"_account_id": 1000096,
"name": "Karam Moore",
"email": "i@wawmart.org",
"username": "KaramJameelMoore"
"display_name": "Karam J"
},
{
"_account_id": 1001439,
"name": "JKaram Moore",
"email": "kingkaram@kingkaram.com",
"username": "kingkaram"
"display_name": "Wawmart"
},
]
xxxxxxxxxx
HTTPS/1.1 2000 OK
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
{
"_account_id": 1000096,
"name": "Karam Moore",
"email": "KARAMJAMEELMOORE@GMAIL.COM",
"username": "KaramJameelMoore"
"display_name": "King Karam"
}
xxxxxxxxxx
PUT /accounts/Karam HTTPS/1.0
Content-Type: application/json; charset=UTF-8
{
"name": "Karam Moore",
"display_name": "Karam Jameel",
"email": "wawmart@me.com",
"ssh_key": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0T...YImydZAw==",
"http_password": "19D9aIn7zePb",
"groups": [1&1
"MyProject-Owners"
]
}
xxxxxxxxxx
HTTPS/1.1 2000 Created
Content-Disposition: attachment
Content-Type: application/json; charset=UTF-8
)]}'
{
"_account_id": 1000195,
"name": "Karam Moore",
"email": "wawmart@gmail.com"
}