Jump to >

Extension List Resource

Name extensions
URI /api/extensions/
Description A resource for representing a Review Board Extension.
HTTP Methods
  • GET - For retrieving the list of available ExtensionResources.
Parent Resource Root List Resource
Child Resources
Anonymous Access No

HTTP GET

For retrieving the list of available ExtensionResources.

Examples

application/vnd.reviewboard.org.extensions+json

{
  "extensions": [
    {
      "class_name": "rbreports.extension.ReportsExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbreports.extension.ReportsExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbreports.extension.ReportsExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "RB-Reports"
    }, 
    {
      "class_name": "rbcia.extension.CIAExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbcia.extension.CIAExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbcia.extension.CIAExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "RB-CIA"
    }, 
    {
      "class_name": "rbxmlreview.extension.XMLReviewUIExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbxmlreview.extension.XMLReviewUIExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbxmlreview.extension.XMLReviewUIExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "rbxmlreview"
    }, 
    {
      "class_name": "rbiphone.extension.IPhoneExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbiphone.extension.IPhoneExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbiphone.extension.IPhoneExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "RB-iPhone"
    }, 
    {
      "class_name": "rbpdf.extension.PDFReviewExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbpdf.extension.PDFReviewExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbpdf.extension.PDFReviewExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "rbpdf"
    }, 
    {
      "class_name": "rbpowerpack.extension.PowerPackExtension", 
      "enabled": false, 
      "installed": false, 
      "links": {
        "self": {
          "href": "http://reviews.example.com/api/extensions/rbpowerpack.extension.PowerPackExtension/", 
          "method": "GET"
        }, 
        "update": {
          "href": "http://reviews.example.com/api/extensions/rbpowerpack.extension.PowerPackExtension/", 
          "method": "PUT"
        }
      }, 
      "name": "ReviewBoardPowerPack"
    }
  ], 
  "links": {
    "self": {
      "href": "http://reviews.example.com/api/extensions/", 
      "method": "GET"
    }
  }, 
  "stat": "ok", 
  "total_results": 6
}

application/vnd.reviewboard.org.extensions+xml

<?xml version="1.0" encoding="utf-8"?>
<rsp>
 <total_results>6</total_results>
 <stat>ok</stat>
 <extensions>
  <array>
   <item>
    <class_name>rbreports.extension.ReportsExtension</class_name>
    <enabled>0</enabled>
    <name>RB-Reports</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbreports.extension.ReportsExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbreports.extension.ReportsExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
   <item>
    <class_name>rbcia.extension.CIAExtension</class_name>
    <enabled>0</enabled>
    <name>RB-CIA</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbcia.extension.CIAExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbcia.extension.CIAExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
   <item>
    <class_name>rbxmlreview.extension.XMLReviewUIExtension</class_name>
    <enabled>0</enabled>
    <name>rbxmlreview</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbxmlreview.extension.XMLReviewUIExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbxmlreview.extension.XMLReviewUIExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
   <item>
    <class_name>rbiphone.extension.IPhoneExtension</class_name>
    <enabled>0</enabled>
    <name>RB-iPhone</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbiphone.extension.IPhoneExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbiphone.extension.IPhoneExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
   <item>
    <class_name>rbpdf.extension.PDFReviewExtension</class_name>
    <enabled>0</enabled>
    <name>rbpdf</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbpdf.extension.PDFReviewExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbpdf.extension.PDFReviewExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
   <item>
    <class_name>rbpowerpack.extension.PowerPackExtension</class_name>
    <enabled>0</enabled>
    <name>ReviewBoardPowerPack</name>
    <links>
     <self>
      <href>http://reviews.example.com/api/extensions/rbpowerpack.extension.PowerPackExtension/</href>
      <method>GET</method>
     </self>
     <update>
      <href>http://reviews.example.com/api/extensions/rbpowerpack.extension.PowerPackExtension/</href>
      <method>PUT</method>
     </update>
    </links>
    <installed>0</installed>
   </item>
  </array>
 </extensions>
 <links>
  <self>
   <href>http://reviews.example.com/api/extensions/</href>
   <method>GET</method>
  </self>
 </links>
</rsp>