Inventory Management API

/api/space/managed-domain/managed-elements/{id}/software-identities

The following operations are supported on this resource:

GET /api/space/managed-domain/managed-elements/{id}/software-identities (v1)


This API returns a software identity list for a managed element given a managed element ID.

Access Control

The following capabilities are required to access this API:
"ViewPhysicalInventory"


Example Usage

GET /api/space/managed-domain/managed-elements/{id}/software-identities


Parameters

NameTypeURI TypeDescriptionRequired
me-idintPathThe ID of the managed element from which to retrieve a list of software identities Y

Content Types

  • Produces content types:
    application/vnd.net.juniper.space.managed-domain.software-identities+xml;version=1
    application/vnd.net.juniper.space.managed-domain.software-identities+json;version=1


  • Sample Output XML:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <software-identities>
       <software-identity uri="/api/space/managed-domain/managed-elements/262144/software-identities">
          <majorVersion>0</majorVersion>
          <minorVersion>0</minorVersion>
          <revisionNumber>0.0</revisionNumber>
          <buildNumber>0</buildNumber>
          <deviceFamily>junos-es</deviceFamily>
          <softwareReleaseVersion>9.0R1.8</softwareReleaseVersion>
          <Classification>OPERATING_SYSTEM</Classification>
          <id>3420</id>
          <name>junos-es/9.0R1.8</name>
       </software-identity>
    </software-identities>


  • Sample Output JSON:

    {
    "software-identities":{
    "software-identity":
       "@uri":"/api/space/managed-domain/managed-elements/262144/software-identities",
    [{"majorVersion":0,"minorVersion":0,"revisionNumber":0.0,"buildNumber":0,
    "deviceFamily":"junos-es","softwareReleaseVersion":"9.0R1.8",
    "Classification":"OPERATING_SYSTEM","id":3420,"name":"junos-es/9.0R1.8"}]
    }
    }