Validation List Resource¶
Added in 2.0
Links to validation resources.
Details¶
| Name | validation | 
| URI | /api/validation/ | 
| Token Policy ID | validation | 
| HTTP Methods | 
 | 
| Parent Resource | Root List Resource | 
| Child Resources | |
| Anonymous Access | Yes, if anonymous site access is enabled | 
Links¶
| Name | Method | Resource | 
|---|---|---|
| diff_validation | GET | Validate Diff List Resource | 
| self | GET | Validation List Resource | 
HTTP GET¶
Retrieves links to all the validation resources.
Errors¶
| 100 - Does Not ExistHTTP 404 - Not Found | Object does not exist | 
| 101 - Permission DeniedHTTP 403 - Forbidden | You don’t have permission for this | 
| 103 - Not Logged InHTTP 401 - Unauthorized | You are not logged in | 
| 112 - OAuth2 Missing Scope ErrorHTTP 403 - Forbidden | Your OAuth2 token lacks the necessary scopes for this request. | 
| 113 - OAuth2 Access Denied ErrorHTTP 403 - Forbidden | OAuth2 token access for this resource is prohibited. | 
Examples¶
application/vnd.reviewboard.org.validation+json¶
$ curl http://reviews.example.com/api/validation/ -H "Accept: application/json"
Vary: Accept, Cookie
ETag: 18cd52fc1f097fd53768c9cdf960b9624ee311c1
Content-Type: application/vnd.reviewboard.org.validation+json
X-Content-Type-Options: nosniff
{
  "links": {
    "diff_validation": {
      "href": "http://reviews.example.com/api/validation/diffs/", 
      "method": "GET"
    }, 
    "self": {
      "href": "http://reviews.example.com/api/validation/", 
      "method": "GET"
    }
  }, 
  "stat": "ok"
}
