Jump to >

This documentation covers Review Board 2.0. You can see the latest Review Board documentation or all other versions.

Hosting Service Account Resource

Provides information and allows linking of hosting service accounts.

The list of accounts tied to hosting services can be retrieved, and new accounts can be linked through an HTTP POST.


Name hosting_service_account
URI /api/hosting-service-accounts/{account_id}/
HTTP Methods
  • GET - Retrieves information on a particular account.
Parent Resource Hosting Service Account List Resource
Child Resources None
Anonymous Access Yes, if anonymous site access is enabled


idInteger The numeric ID of the hosting service account.
serviceString The ID of the service this account is on.
usernameString The username of the account.


Retrieves information on a particular account.

This will only return very basic information on the account. Authentication information is not provided.


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



$ curl http://reviews.example.com/api/hosting-service-accounts/1/ -H "Accept: application/json"
Vary: Accept, Cookie
ETag: b3887e87f967facd8cb2632082a0c403f3f79486
Content-Type: application/vnd.reviewboard.org.hosting-service-account+json
X-Content-Type-Options: nosniff
  "hosting_service_account": {
    "id": 1, 
    "links": {
      "self": {
        "href": "http://reviews.example.com/api/hosting-service-accounts/1/", 
        "method": "GET"
    "service": "", 
    "username": "testuser"
  "stat": "ok"