REST Resources
-
/ -
/ctps -
/equipment-holders -
/equipment-holders /{equipment-holder-id} -
/execute-export-physical-inventory -
/export-ctp-interface -
/export-ptp-interface -
/job-instances /{job-id} /download-ctp-interface-data -
/job-instances /{job-id} /download-physical-inventory-data -
/job-instances /{job-id} /download-ptp-interface-data -
/managed-elements -
/managed-elements /{id} -
/managed-elements /{id} /equipment-holders -
/managed-elements /{id} /equipment-holders /{eqId} -
/managed-elements /{id} /multilayer-subnetworks -
/managed-elements /{id} /multilayer-subnetworks /{mlsnId} -
/managed-elements /{id} /ptps -
/managed-elements /{id} /ptps /{ptpId} -
/managed-elements /{id} /ptps /{ptpId} /view-manage-labels -
/managed-elements /{id} /routing-engines -
/managed-elements /{id} /routing-engines /{serialNo} -
/managed-elements /{id} /routing-instances -
/managed-elements /{id} /routing-options -
/managed-elements /{id} /software-identities -
/managed-elements /{id} /virtual-chassis -
/managed-elements /{id} /vlans -
/ptps -
/ptps /{ptpId}
/api/space/managed-domain/managed-elements/{id}/ptps
The following operation is supported on this resource:
- GET - Get Physical termination points of a managed element
GET /managed-elements/{id}/ptps | Version 1 |
This API returns information about physical termination points (PTPs) for a managed element given a managed element ID.
Sample Usage
GET /managed-elements/{id}/ptps
-
Parameters:
Name Type URI Type Description Required me-id int Path The ID of the managed element from which to retrieve PTPs. Y
-
Accept Headers:
application/vnd.net.juniper.space.managed-domain.ptps-ref+xml;version=1
application/vnd.net.juniper.space.managed-domain.ptps-ref+json;version=1
application/vnd.net.juniper.space.managed-domain.me-ptps+xml;version=1
application/vnd.net.juniper.space.managed-domain.me-ptps+json;version=1
<ptps uri="/api/space/managed-domain/managed-elements/262148/ptps" size="2">
<ptp href="/api/space/managed-domain/ptps/262144"
uri="/api/space/managed-domain/managed-elements/262148/ptps/262144" key="262144">
<name>lo0</name>
<adminStatus>up</adminStatus>
<operationStatus>up</operationStatus>
<speed>0</speed>
<mtu>0</mtu>
<lacpBundle>lacpBundle</lacpBundle>
<id>262148</id>
</ptp>
<ptp href="/api/space/managed-domain/ptps/262149"
uri="/api/space/managed-domain/managed-elements/262148/ptps/262149" key="262149">
<name>fe-0/0/0</name>
<adminStatus>up</adminStatus>
<operationStatus>up</operationStatus>
<speed>100</speed>
<mtu>1514</mtu>
<lacpBundle>lacpBundle</lacpBundle>
<id>262148</id>
</ptp>
</ptps>
{
"ptps":{
"@uri":
"/api/space/managed-domain/managed-elements/262148/ptps",
"@size":"2",
"ptp":[
{
"@href":
"/api/space/managed-domain/ptps/262144",
"@uri":
"/api/space/managed-domain/managed-elements/262148/ptps/262144",
"@key":"262144",
"name":"lo0",
"adminStatus":"up",
"operationStatus":"up",
"speed":0,
"mtu":0,
"lacpBundle":"lacpBundle",
"id":262148
},
{
"@href":
"/api/space/managed-domain/ptps/262149",
"@uri":
"/api/space/managed-domain/managed-elements/262148/ptps/262149",
"@key":"262149",
"name":"fe-0/0/0",
"adminStatus":"up",
"operationStatus":"up",
"speed":100,
"mtu":1514,
"lacpBundle":"lacpBundle",
"id":262148
}
]
}
}
Access Control
The following capabilities are required to access this API: ViewInterfaces