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