REST Resources
/api/space/schema-service/svn
The following operations are supported on this resource:
GET /svn | Version 2 |
Gets the credentials of the SVN repository configured on Junos Space Platform to Update Schema.
Sample Usage
GET /svn
- Accept Headers:
application/vnd.net.juniper.space.schema-service.svn-response+xml;version=2
application/vnd.net.juniper.space.schema-service.svn-response+json;version=2
<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>
{
"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
- Content-Type Headers:
application/vnd.net.juniper.space.schema-service.save-svn-repository-settings-request+xml;version=2;charset=UTF-8
application/vnd.net.juniper.space.schema-service.save-svn-repository-settings-request+json;version=2;charset=UTF-8 - Accept Headers:
application/vnd.net.juniper.space.schema-service.save-svn-repository-settings-response+xml;version=2
application/vnd.net.juniper.api.space.schema-service.save-svn-repository-settings-response+json;version=2
<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>
<save-svn-repository-settings-response">
<value>true</value>
</save-svn-repository-settings-response>
{
"save-svn-repository-settings-request" : {
"svn-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
"svn-username" : "super" ,
"svn-password" : "*******" ,
"auto-install" : "false"
}
}
{
"save-svn-repository-settings-response" : {
"value" : "true" ,
}
}
Access Control
The following capabilities are required to access this API: UpdateDMISchema