Search Resource¶
Name | search |
URI | /api/search/ |
Description | Provides information on users, groups and review requests. This is the resource for the autocomplete widget for quick search. This resource helps filter for users, groups and review requests. |
HTTP Methods |
|
Parent Resource | Search Resource |
Child Resources | None |
Anonymous Access | Yes, if anonymous site access is enabled |
Fields¶
Field | Type | Description |
---|---|---|
String | The user’s e-mail address | |
first_name | String | The user’s first name. |
fullname | String | The user’s full name (first and last). |
id | Integer | The numeric ID of the user. |
last_name | String | The user’s last name. |
url | String | The URL to the user’s page on the site. This is deprecated and will be removed in a future version. |
username | String | The user’s username. |
Links¶
Name | Method | Resource |
---|---|---|
self | GET | Search Resource |
HTTP GET¶
Returns information on users, groups and review requests.
This is used by the autocomplete widget for quick search to get information on users, groups and review requests. This function returns users’ first name, last name and username, groups’ name and display name, and review requests’ ID and summary.
Examples¶
application/vnd.reviewboard.org.search+json¶
{
"search": {
"groups": [
{
"display_name": "Dev Group",
"id": 1,
"invite_only": false,
"links": {
"delete": {
"href": "http://reviews.example.com/api/groups/devgroup/",
"method": "DELETE"
},
"self": {
"href": "http://reviews.example.com/api/groups/devgroup/",
"method": "GET"
},
"update": {
"href": "http://reviews.example.com/api/groups/devgroup/",
"method": "PUT"
},
"users": {
"href": "http://reviews.example.com/api/groups/devgroup/users/",
"method": "GET"
}
},
"mailing_list": "devgroup@example.com",
"name": "devgroup",
"url": "/groups/devgroup/",
"visible": true
},
{
"display_name": "",
"id": 5,
"invite_only": false,
"links": {
"delete": {
"href": "http://reviews.example.com/api/groups/docs/",
"method": "DELETE"
},
"self": {
"href": "http://reviews.example.com/api/groups/docs/",
"method": "GET"
},
"update": {
"href": "http://reviews.example.com/api/groups/docs/",
"method": "PUT"
},
"users": {
"href": "http://reviews.example.com/api/groups/docs/users/",
"method": "GET"
}
},
"mailing_list": "",
"name": "docs",
"url": "/groups/docs/",
"visible": true
},
{
"display_name": "Empty Group",
"id": 3,
"invite_only": false,
"links": {
"delete": {
"href": "http://reviews.example.com/api/groups/emptygroup/",
"method": "DELETE"
},
"self": {
"href": "http://reviews.example.com/api/groups/emptygroup/",
"method": "GET"
},
"update": {
"href": "http://reviews.example.com/api/groups/emptygroup/",
"method": "PUT"
},
"users": {
"href": "http://reviews.example.com/api/groups/emptygroup/users/",
"method": "GET"
}
},
"mailing_list": "",
"name": "emptygroup",
"url": "/groups/emptygroup/",
"visible": true
},
{
"display_name": "New Group",
"id": 2,
"invite_only": false,
"links": {
"delete": {
"href": "http://reviews.example.com/api/groups/newgroup/",
"method": "DELETE"
},
"self": {
"href": "http://reviews.example.com/api/groups/newgroup/",
"method": "GET"
},
"update": {
"href": "http://reviews.example.com/api/groups/newgroup/",
"method": "PUT"
},
"users": {
"href": "http://reviews.example.com/api/groups/newgroup/users/",
"method": "GET"
}
},
"mailing_list": "newgroup@example.com",
"name": "newgroup",
"url": "/groups/newgroup/",
"visible": true
},
{
"display_name": "Private Group",
"id": 4,
"invite_only": false,
"links": {
"delete": {
"href": "http://reviews.example.com/api/groups/privgroup/",
"method": "DELETE"
},
"self": {
"href": "http://reviews.example.com/api/groups/privgroup/",
"method": "GET"
},
"update": {
"href": "http://reviews.example.com/api/groups/privgroup/",
"method": "PUT"
},
"users": {
"href": "http://reviews.example.com/api/groups/privgroup/users/",
"method": "GET"
}
},
"mailing_list": "",
"name": "privgroup",
"url": "/groups/privgroup/",
"visible": true
}
],
"review_requests": [
{
"branch": "trunk",
"bugs_closed": [],
"changenum": null,
"description": "This is a test designed for interdiffs.",
"id": 8,
"last_updated": "2010-08-28 02:26:18",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/8/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/8/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/8/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/8/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/8/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/8/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/8/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/8/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/8/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/admin/",
"method": "GET",
"title": "admin"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/8/",
"method": "PUT"
}
},
"public": true,
"status": "pending",
"summary": "Interdiff Revision Test",
"target_groups": [],
"target_people": [
{
"href": "http://reviews.example.com/api/users/grumpy/",
"method": "GET",
"title": "grumpy"
}
],
"testing_done": "",
"time_added": "2009-02-25 02:01:21"
},
{
"branch": "",
"bugs_closed": [
"12345"
],
"changenum": 1234,
"description": "Test description.",
"id": 4,
"last_updated": "2007-06-24 01:11:24",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/4/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/4/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/4/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/4/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/4/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/4/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/4/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/4/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/4/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/grumpy/",
"method": "GET",
"title": "grumpy"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/4/",
"method": "PUT"
}
},
"public": true,
"status": "pending",
"summary": "Made e-mail improvements",
"target_groups": [],
"target_people": [
{
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET",
"title": "doc"
}
],
"testing_done": "Tested.",
"time_added": "2007-06-24 00:42:42"
},
{
"branch": "",
"bugs_closed": [],
"changenum": null,
"description": "",
"id": 7,
"last_updated": "2007-06-24 01:11:10",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/7/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/7/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/7/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/7/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/7/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/7/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/7/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/7/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/7/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET",
"title": "doc"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/7/",
"method": "PUT"
}
},
"public": true,
"status": "submitted",
"summary": "Improved login form",
"target_groups": [],
"target_people": [
{
"href": "http://reviews.example.com/api/users/admin/",
"method": "GET",
"title": "admin"
},
{
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET",
"title": "doc"
}
],
"testing_done": "",
"time_added": "2007-06-24 00:49:06"
},
{
"branch": "trunk",
"bugs_closed": [],
"changenum": null,
"description": "Foo",
"id": 6,
"last_updated": "2007-06-24 01:10:59",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/6/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/6/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/6/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/6/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/6/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/6/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/6/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/6/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/6/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/dopey/",
"method": "GET",
"title": "dopey"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/6/",
"method": "PUT"
}
},
"public": true,
"status": "pending",
"summary": "Error dialog",
"target_groups": [
{
"href": "http://reviews.example.com/api/groups/emptygroup/",
"method": "GET",
"title": "emptygroup"
}
],
"target_people": [],
"testing_done": "Bar",
"time_added": "2007-06-24 00:47:14"
},
{
"branch": "trunk",
"bugs_closed": [
"123"
],
"changenum": null,
"description": "Be compatible with cleaned_data changes in Django.",
"id": 2,
"last_updated": "2007-06-24 00:34:17",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/2/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/2/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/2/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/2/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/2/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/2/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/2/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/2/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/2/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/dopey/",
"method": "GET",
"title": "dopey"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/2/",
"method": "PUT"
}
},
"public": true,
"status": "pending",
"summary": "Update for cleaned_data changes",
"target_groups": [
{
"href": "http://reviews.example.com/api/groups/devgroup/",
"method": "GET",
"title": "devgroup"
}
],
"target_people": [],
"testing_done": "Works.",
"time_added": "2007-06-24 00:14:32"
},
{
"branch": "trunk",
"bugs_closed": [],
"changenum": null,
"description": "",
"id": 1,
"last_updated": "2007-06-24 00:32:47",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/1/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/1/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/1/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/1/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/1/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/1/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/1/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/1/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/1/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET",
"title": "doc"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/1/",
"method": "PUT"
}
},
"public": false,
"status": "pending",
"summary": "Comments Improvements",
"target_groups": [
{
"href": "http://reviews.example.com/api/groups/devgroup/",
"method": "GET",
"title": "devgroup"
}
],
"target_people": [],
"testing_done": "",
"time_added": "2007-06-24 00:12:44"
},
{
"branch": "trunk",
"bugs_closed": [
"1234",
"4321",
"5678",
"8765"
],
"changenum": null,
"description": "Added some user permissions checking for JSON API functions.",
"id": 3,
"last_updated": "2007-06-24 00:28:33",
"links": {
"changes": {
"href": "http://reviews.example.com/api/review-requests/3/changes/",
"method": "GET"
},
"delete": {
"href": "http://reviews.example.com/api/review-requests/3/",
"method": "DELETE"
},
"diffs": {
"href": "http://reviews.example.com/api/review-requests/3/diffs/",
"method": "GET"
},
"draft": {
"href": "http://reviews.example.com/api/review-requests/3/draft/",
"method": "GET"
},
"file_attachments": {
"href": "http://reviews.example.com/api/review-requests/3/file-attachments/",
"method": "GET"
},
"last_update": {
"href": "http://reviews.example.com/api/review-requests/3/last-update/",
"method": "GET"
},
"repository": {
"href": "http://reviews.example.com/api/repositories/1/",
"method": "GET",
"title": "Review Board SVN"
},
"reviews": {
"href": "http://reviews.example.com/api/review-requests/3/reviews/",
"method": "GET"
},
"screenshots": {
"href": "http://reviews.example.com/api/review-requests/3/screenshots/",
"method": "GET"
},
"self": {
"href": "http://reviews.example.com/api/review-requests/3/",
"method": "GET"
},
"submitter": {
"href": "http://reviews.example.com/api/users/admin/",
"method": "GET",
"title": "admin"
},
"update": {
"href": "http://reviews.example.com/api/review-requests/3/",
"method": "PUT"
}
},
"public": true,
"status": "pending",
"summary": "Add permission checking for JSON API",
"target_groups": [
{
"href": "http://reviews.example.com/api/groups/privgroup/",
"method": "GET",
"title": "privgroup"
}
],
"target_people": [
{
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET",
"title": "doc"
},
{
"href": "http://reviews.example.com/api/users/dopey/",
"method": "GET",
"title": "dopey"
}
],
"testing_done": "Tested some functions.",
"time_added": "2007-06-24 00:17:33"
}
],
"users": [
{
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61",
"email": "admin@example.com",
"first_name": "Admin",
"fullname": "Admin User",
"id": 1,
"last_name": "User",
"links": {
"self": {
"href": "http://reviews.example.com/api/users/admin/",
"method": "GET"
},
"watched": {
"href": "http://reviews.example.com/api/users/admin/watched/",
"method": "GET"
}
},
"url": "/users/admin/",
"username": "admin"
},
{
"avatar_url": "http://www.gravatar.com/avatar/b0f1ae4342591db2695fb11313114b3e",
"email": "doc@example.com",
"first_name": "Doc",
"fullname": "Doc Dwarf",
"id": 2,
"last_name": "Dwarf",
"links": {
"self": {
"href": "http://reviews.example.com/api/users/doc/",
"method": "GET"
},
"watched": {
"href": "http://reviews.example.com/api/users/doc/watched/",
"method": "GET"
}
},
"url": "/users/doc/",
"username": "doc"
},
{
"avatar_url": "http://www.gravatar.com/avatar/1a0098e6600792ea4f714aa205bf3f2b",
"email": "dopey@example.com",
"first_name": "Dopey",
"fullname": "Dopey Dwarf",
"id": 3,
"last_name": "Dwarf",
"links": {
"self": {
"href": "http://reviews.example.com/api/users/dopey/",
"method": "GET"
},
"watched": {
"href": "http://reviews.example.com/api/users/dopey/watched/",
"method": "GET"
}
},
"url": "/users/dopey/",
"username": "dopey"
},
{
"avatar_url": "http://www.gravatar.com/avatar/8f32aaaba6ce2ea6ef975d31e0fe4780",
"email": "grumpy@example.com",
"first_name": "Grumpy",
"fullname": "Grumpy Dwarf",
"id": 4,
"last_name": "Dwarf",
"links": {
"self": {
"href": "http://reviews.example.com/api/users/grumpy/",
"method": "GET"
},
"watched": {
"href": "http://reviews.example.com/api/users/grumpy/watched/",
"method": "GET"
}
},
"url": "/users/grumpy/",
"username": "grumpy"
}
]
},
"stat": "ok"
}
application/vnd.reviewboard.org.search+xml¶
<?xml version="1.0" encoding="utf-8"?>
<rsp>
<stat>ok</stat>
<search>
<review_requests>
<array>
<item>
<status>pending</status>
<last_updated>2010-08-28 02:26:18</last_updated>
<description>This is a test designed for interdiffs.</description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/8/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/8/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/8/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/8/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/8/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/8/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/8/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/8/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/admin/</href>
<method>GET</method>
<title>admin</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/8/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/8/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
</array>
</target_groups>
<bugs_closed>
<array>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
<item>
<href>http://reviews.example.com/api/users/grumpy/</href>
<method>GET</method>
<title>grumpy</title>
</item>
</array>
</target_people>
<testing_done></testing_done>
<branch>trunk</branch>
<time_added>2009-02-25 02:01:21</time_added>
<summary>Interdiff Revision Test</summary>
<id>8</id>
</item>
<item>
<status>pending</status>
<last_updated>2007-06-24 01:11:24</last_updated>
<description>Test description.</description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/4/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/4/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/4/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/4/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/4/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/4/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/4/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/4/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/grumpy/</href>
<method>GET</method>
<title>grumpy</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/4/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/4/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
</array>
</target_groups>
<bugs_closed>
<array>
<item>12345</item>
</array>
</bugs_closed>
<changenum>1234</changenum>
<target_people>
<array>
<item>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
<title>doc</title>
</item>
</array>
</target_people>
<testing_done>Tested.</testing_done>
<branch></branch>
<time_added>2007-06-24 00:42:42</time_added>
<summary>Made e-mail improvements</summary>
<id>4</id>
</item>
<item>
<status>submitted</status>
<last_updated>2007-06-24 01:11:10</last_updated>
<description></description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/7/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/7/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/7/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/7/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/7/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/7/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/7/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/7/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
<title>doc</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/7/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/7/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
</array>
</target_groups>
<bugs_closed>
<array>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
<item>
<href>http://reviews.example.com/api/users/admin/</href>
<method>GET</method>
<title>admin</title>
</item>
<item>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
<title>doc</title>
</item>
</array>
</target_people>
<testing_done></testing_done>
<branch></branch>
<time_added>2007-06-24 00:49:06</time_added>
<summary>Improved login form</summary>
<id>7</id>
</item>
<item>
<status>pending</status>
<last_updated>2007-06-24 01:10:59</last_updated>
<description>Foo</description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/6/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/6/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/6/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/6/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/6/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/6/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/6/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/6/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/dopey/</href>
<method>GET</method>
<title>dopey</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/6/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/6/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
<item>
<href>http://reviews.example.com/api/groups/emptygroup/</href>
<method>GET</method>
<title>emptygroup</title>
</item>
</array>
</target_groups>
<bugs_closed>
<array>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
</array>
</target_people>
<testing_done>Bar</testing_done>
<branch>trunk</branch>
<time_added>2007-06-24 00:47:14</time_added>
<summary>Error dialog</summary>
<id>6</id>
</item>
<item>
<status>pending</status>
<last_updated>2007-06-24 00:34:17</last_updated>
<description>Be compatible with cleaned_data changes in Django.</description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/2/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/2/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/2/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/2/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/2/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/2/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/2/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/2/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/dopey/</href>
<method>GET</method>
<title>dopey</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/2/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/2/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
<item>
<href>http://reviews.example.com/api/groups/devgroup/</href>
<method>GET</method>
<title>devgroup</title>
</item>
</array>
</target_groups>
<bugs_closed>
<array>
<item>123</item>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
</array>
</target_people>
<testing_done>Works.</testing_done>
<branch>trunk</branch>
<time_added>2007-06-24 00:14:32</time_added>
<summary>Update for cleaned_data changes</summary>
<id>2</id>
</item>
<item>
<status>pending</status>
<last_updated>2007-06-24 00:32:47</last_updated>
<description></description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/1/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/1/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/1/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/1/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/1/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/1/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/1/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/1/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
<title>doc</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/1/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/1/</href>
<method>DELETE</method>
</delete>
</links>
<public>0</public>
<target_groups>
<array>
<item>
<href>http://reviews.example.com/api/groups/devgroup/</href>
<method>GET</method>
<title>devgroup</title>
</item>
</array>
</target_groups>
<bugs_closed>
<array>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
</array>
</target_people>
<testing_done></testing_done>
<branch>trunk</branch>
<time_added>2007-06-24 00:12:44</time_added>
<summary>Comments Improvements</summary>
<id>1</id>
</item>
<item>
<status>pending</status>
<last_updated>2007-06-24 00:28:33</last_updated>
<description>Added some user permissions checking for JSON API functions.</description>
<links>
<diffs>
<href>http://reviews.example.com/api/review-requests/3/diffs/</href>
<method>GET</method>
</diffs>
<repository>
<href>http://reviews.example.com/api/repositories/1/</href>
<method>GET</method>
<title>Review Board SVN</title>
</repository>
<screenshots>
<href>http://reviews.example.com/api/review-requests/3/screenshots/</href>
<method>GET</method>
</screenshots>
<self>
<href>http://reviews.example.com/api/review-requests/3/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/review-requests/3/</href>
<method>PUT</method>
</update>
<last_update>
<href>http://reviews.example.com/api/review-requests/3/last-update/</href>
<method>GET</method>
</last_update>
<reviews>
<href>http://reviews.example.com/api/review-requests/3/reviews/</href>
<method>GET</method>
</reviews>
<draft>
<href>http://reviews.example.com/api/review-requests/3/draft/</href>
<method>GET</method>
</draft>
<file_attachments>
<href>http://reviews.example.com/api/review-requests/3/file-attachments/</href>
<method>GET</method>
</file_attachments>
<submitter>
<href>http://reviews.example.com/api/users/admin/</href>
<method>GET</method>
<title>admin</title>
</submitter>
<changes>
<href>http://reviews.example.com/api/review-requests/3/changes/</href>
<method>GET</method>
</changes>
<delete>
<href>http://reviews.example.com/api/review-requests/3/</href>
<method>DELETE</method>
</delete>
</links>
<public>1</public>
<target_groups>
<array>
<item>
<href>http://reviews.example.com/api/groups/privgroup/</href>
<method>GET</method>
<title>privgroup</title>
</item>
</array>
</target_groups>
<bugs_closed>
<array>
<item>1234</item>
<item>4321</item>
<item>5678</item>
<item>8765</item>
</array>
</bugs_closed>
<changenum>
</changenum>
<target_people>
<array>
<item>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
<title>doc</title>
</item>
<item>
<href>http://reviews.example.com/api/users/dopey/</href>
<method>GET</method>
<title>dopey</title>
</item>
</array>
</target_people>
<testing_done>Tested some functions.</testing_done>
<branch>trunk</branch>
<time_added>2007-06-24 00:17:33</time_added>
<summary>Add permission checking for JSON API</summary>
<id>3</id>
</item>
</array>
</review_requests>
<users>
<array>
<item>
<username>admin</username>
<first_name>Admin</first_name>
<last_name>User</last_name>
<links>
<watched>
<href>http://reviews.example.com/api/users/admin/watched/</href>
<method>GET</method>
</watched>
<self>
<href>http://reviews.example.com/api/users/admin/</href>
<method>GET</method>
</self>
</links>
<url>/users/admin/</url>
<email>admin@example.com</email>
<avatar_url>http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61</avatar_url>
<fullname>Admin User</fullname>
<id>1</id>
</item>
<item>
<username>doc</username>
<first_name>Doc</first_name>
<last_name>Dwarf</last_name>
<links>
<watched>
<href>http://reviews.example.com/api/users/doc/watched/</href>
<method>GET</method>
</watched>
<self>
<href>http://reviews.example.com/api/users/doc/</href>
<method>GET</method>
</self>
</links>
<url>/users/doc/</url>
<email>doc@example.com</email>
<avatar_url>http://www.gravatar.com/avatar/b0f1ae4342591db2695fb11313114b3e</avatar_url>
<fullname>Doc Dwarf</fullname>
<id>2</id>
</item>
<item>
<username>dopey</username>
<first_name>Dopey</first_name>
<last_name>Dwarf</last_name>
<links>
<watched>
<href>http://reviews.example.com/api/users/dopey/watched/</href>
<method>GET</method>
</watched>
<self>
<href>http://reviews.example.com/api/users/dopey/</href>
<method>GET</method>
</self>
</links>
<url>/users/dopey/</url>
<email>dopey@example.com</email>
<avatar_url>http://www.gravatar.com/avatar/1a0098e6600792ea4f714aa205bf3f2b</avatar_url>
<fullname>Dopey Dwarf</fullname>
<id>3</id>
</item>
<item>
<username>grumpy</username>
<first_name>Grumpy</first_name>
<last_name>Dwarf</last_name>
<links>
<watched>
<href>http://reviews.example.com/api/users/grumpy/watched/</href>
<method>GET</method>
</watched>
<self>
<href>http://reviews.example.com/api/users/grumpy/</href>
<method>GET</method>
</self>
</links>
<url>/users/grumpy/</url>
<email>grumpy@example.com</email>
<avatar_url>http://www.gravatar.com/avatar/8f32aaaba6ce2ea6ef975d31e0fe4780</avatar_url>
<fullname>Grumpy Dwarf</fullname>
<id>4</id>
</item>
</array>
</users>
<groups>
<array>
<item>
<display_name>Dev Group</display_name>
<name>devgroup</name>
<links>
<users>
<href>http://reviews.example.com/api/groups/devgroup/users/</href>
<method>GET</method>
</users>
<self>
<href>http://reviews.example.com/api/groups/devgroup/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/groups/devgroup/</href>
<method>PUT</method>
</update>
<delete>
<href>http://reviews.example.com/api/groups/devgroup/</href>
<method>DELETE</method>
</delete>
</links>
<url>/groups/devgroup/</url>
<visible>1</visible>
<invite_only>0</invite_only>
<id>1</id>
<mailing_list>devgroup@example.com</mailing_list>
</item>
<item>
<display_name></display_name>
<name>docs</name>
<links>
<users>
<href>http://reviews.example.com/api/groups/docs/users/</href>
<method>GET</method>
</users>
<self>
<href>http://reviews.example.com/api/groups/docs/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/groups/docs/</href>
<method>PUT</method>
</update>
<delete>
<href>http://reviews.example.com/api/groups/docs/</href>
<method>DELETE</method>
</delete>
</links>
<url>/groups/docs/</url>
<visible>1</visible>
<invite_only>0</invite_only>
<id>5</id>
<mailing_list></mailing_list>
</item>
<item>
<display_name>Empty Group</display_name>
<name>emptygroup</name>
<links>
<users>
<href>http://reviews.example.com/api/groups/emptygroup/users/</href>
<method>GET</method>
</users>
<self>
<href>http://reviews.example.com/api/groups/emptygroup/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/groups/emptygroup/</href>
<method>PUT</method>
</update>
<delete>
<href>http://reviews.example.com/api/groups/emptygroup/</href>
<method>DELETE</method>
</delete>
</links>
<url>/groups/emptygroup/</url>
<visible>1</visible>
<invite_only>0</invite_only>
<id>3</id>
<mailing_list></mailing_list>
</item>
<item>
<display_name>New Group</display_name>
<name>newgroup</name>
<links>
<users>
<href>http://reviews.example.com/api/groups/newgroup/users/</href>
<method>GET</method>
</users>
<self>
<href>http://reviews.example.com/api/groups/newgroup/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/groups/newgroup/</href>
<method>PUT</method>
</update>
<delete>
<href>http://reviews.example.com/api/groups/newgroup/</href>
<method>DELETE</method>
</delete>
</links>
<url>/groups/newgroup/</url>
<visible>1</visible>
<invite_only>0</invite_only>
<id>2</id>
<mailing_list>newgroup@example.com</mailing_list>
</item>
<item>
<display_name>Private Group</display_name>
<name>privgroup</name>
<links>
<users>
<href>http://reviews.example.com/api/groups/privgroup/users/</href>
<method>GET</method>
</users>
<self>
<href>http://reviews.example.com/api/groups/privgroup/</href>
<method>GET</method>
</self>
<update>
<href>http://reviews.example.com/api/groups/privgroup/</href>
<method>PUT</method>
</update>
<delete>
<href>http://reviews.example.com/api/groups/privgroup/</href>
<method>DELETE</method>
</delete>
</links>
<url>/groups/privgroup/</url>
<visible>1</visible>
<invite_only>0</invite_only>
<id>4</id>
<mailing_list></mailing_list>
</item>
</array>
</groups>
</search>
</rsp>