/api/space/hardware-catalog/svn

The following operations are supported on this resource:

  • GET - Gets the credentials of the SVN repository configured on Junos Space Platform to download hardware catalog
  • POST - Saves the credentials input to configure SVN reporsitory on Junos Space Platform for downloading hardware catalog
GET /svn Version 1

Gets the credentials of the SVN repository configured on Junos Space Platform to download hardware catalog.

Sample Usage

GET /svn


  • Sample Output XML:
    <svn uri="/api/space/hardware-catalog/svn">
         <svn-trunk-url>https://xml.juniper.net/dmi-int/repository/trunk</svn-trunk-url>
         <svn-user-name>super</svn-user-name>
         <svn-user-password>**********</svn-user-password>
    </svn>

  • Sample Output JSON:
    {
       "svn" : {
         "@uri" : "/api/space/hardware-catalog/svn" ,
         "svn-trunk-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
         "svn-user-name" : "super" ,
         "svn-user-password" : "**********"
       }
    }

  • Access Control

    The following capabilities are required to access this API: HardwareCatalog

    POST /svn Version 1

    Saves the credentials input to configure SVN reporsitory on Junos Space Platform for downloading hardware catalog.

    Sample Usage

    POST /svn


  • Sample Input XML:
    <svn>
         <svn-trunk-url>https://xml.juniper.net/dmi-int/repository/trunk</svn-trunk-url>
         <svn-user-name>super</svn-user-name>
         <svn-user-password>**********</svn-user-password>
    </svn>

  • Sample Output XML:
    <svn uri="/api/space/hardware-catalog/svn">
         <svn-trunk-url>https://xml.juniper.net/dmi-int/repository/trunk</svn-trunk-url>
         <svn-user-name>super</svn-user-name>
         <svn-user-password>**********</svn-user-password>
    </svn>

  • Sample Input JSON:
    {
       "svn" : {
         "svn-trunk-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
         "svn-user-name" : "super" ,
         "svn-user-password" : "**********"
       }
    }

  • Sample Output JSON:
    {
       "svn" : {
         "@uri" : "/api/space/hardware-catalog/svn" ,
         "svn-trunk-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
         "svn-user-name" : "super" ,
         "svn-user-password" : "**********"
       }
    }

  • Access Control

    The following capabilities are required to access this API: HardwareCatalog