/api/space/schema-service/svn

The following operations are supported on this resource:

  • GET - Gets the credentials of the SVN repository configured on Junos Space Platform to Update Schema
  • POST - Save the credentials of the SVN repository configured on Junos Space Platform to Update Schema
GET /svn Version 2

Gets the credentials of the SVN repository configured on Junos Space Platform to Update Schema.

Sample Usage

GET /svn


  • Sample Output XML:
    <svn uri="/api/space/schema-service/svn">
         <svn-url>https://xml.juniper.net/dmi-int/repository/trunk</svn-url>
         <svn-username>super</svn-username>
         <svn-password>**********</svn-password>
         <proxy-setting>Disabled</proxy-setting>
         <auto-install>false</auto-install>
    </svn>

  • Sample Output JSON:
    {
       "svn" : {
         "@uri" : "/api/space/schema-service/svn" ,
         "svn-url&quo * "https://xml.juniper.net/dmi-int/repository/trunk" ,
         "svn-username" : "super" ,
         "proxy-setting" : "Disabled" ,
         "svn-password" : "**********" ,
         "auto-install" : "false"
       }
    }

  • Access Control

    The following capabilities are required to access this API: UpdateDMISchema

    POST /svn Version 2

    Save the credentials of the SVN repository configured on Junos Space Platform to Update Schema.

    Sample Usage

    POST /svn


  • Sample Input XML:
    <save-svn-repository-settings-request>
         <svn-url>https://xml.juniper.net/dmi-int/repository/trunk</svn-url>
         <svn-username>super</svn-username>
         <svn-password>*******</svn-password>
         <auto-install>false</auto-install>
    </save-svn-repository-settings-request>

  • Sample Output XML:
    <save-svn-repository-settings-response">
         <value>true</value>
    </save-svn-repository-settings-response>

  • Sample Input JSON:
    {
       "save-svn-repository-settings-request" : {
         "svn-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
         "svn-username" : "super" ,
         "svn-password" : "*******" ,
         "auto-install" : "false"
       }
    }

  • Sample Output JSON:
    {
       "save-svn-repository-settings-response" : {
         "value" : "true" ,
       }
    }

  • Access Control

    The following capabilities are required to access this API: UpdateDMISchema