REST Resources
/api/space/hardware-catalog/upload-tgz-catalog-file
The following operation is supported on this resource:
- POST - Uploads the hardware catalog from the given path in the local system to Junos Space Platform
POST /upload-tgz-catalog-file | Version 1 |
Uploads the hardware catalog from the given path in the local system to Junos Space Platform.
Sample Usage
POST /upload-tgz-catalog-file
- Content-Type Headers:
multipart/form-data - Accept Headers:
application/vnd.net.juniper.space.hardware-catalog.upload-tgz-hardware-catalog-response+xml;version=1
application/vnd.net.juniper.space.hardware-catalog.upload-tgz-hardware-catalog-response+json;version=1
<upload-tgz-hardware-catalog-response>
<value>/tmp/extract_location</value>
</upload-tgz-hardware-catalog-response>
{
"upload-tgz-hardware-catalog-response":{
"value":"/tmp/extract_location"
}
}
Access Control
The following capabilities are required to access this API: HardwareCatalog