Get Review Draft¶
Path: | api/json/reviewrequests/{review_request_id}/reviews/draft/ |
---|
URL Parameters¶
Parameter | Type | Description |
---|---|---|
review_request_id | Integer | The ID of the review request. |
HTTP GET¶
Returns the current draft review, owned by the logged in user.
Example Request¶
GET /api/json/reviewrequests/12321/reviews/draft/
Responses¶
HTTP 200: Success¶
Field | Type | Description |
---|---|---|
review | Review | The review draft. |
Example Response¶
{
stat: "ok",
review: {
id: 10,
user: {
username: "joe",
first_name: "Joe",
last_name: "User",
url: "/users/joe/",
email: "joe@example.com",
fullname: "Joe User",
id: 1
},
timestamp: "2010-02-16 16:15:10",
public: 1,
ship_it: 1,
body_top: "Looks good!",
body_bottom: "",
comments: []
}
}
HTTP 401: Unauthorized¶
Error 103: Not Logged In¶
The client making the request is not logged in.
See Authenticating for more information.