REST Resources
/api/space/hardware-catalog/svn
The following operations are supported on this resource:
GET /svn | Version 1 |
Gets the credentials of the SVN repository configured on Junos Space Platform to download hardware catalog.
Sample Usage
GET /svn
- Accept Headers:
application/vnd.net.juniper.space.hardware-catalog.svn-response+xml;version=1
application/vnd.net.juniper.space.hardware-catalog.svn-response+json;version=1
<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>
{
"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
- Content-Type Headers:
application/vnd.net.juniper.space.hardware-catalog.svn-request+xml;version=1;charset=UTF-8
application/vnd.net.juniper.space.hardware-catalog.svn-request+json;version=1;charset=UTF-8 - Accept Headers:
application/vnd.net.juniper.space.hardware-catalog.svn-request+xml;version=1
application/vnd.net.juniper.space.hardware-catalog.svn-request+json;version=1
<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>
<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>
{
"svn" : {
"svn-trunk-url" : "https://xml.juniper.net/dmi-int/repository/trunk" ,
"svn-user-name" : "super" ,
"svn-user-password" : "**********"
}
}
{
"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