[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Get Relationships
DescriptionGet all the relationships for the given instance
Request
URLURL
https://{api_host}tcsa.host.com/tcsa/api/topology/v1/relationships
Request Body
Request Body
RelationshipRequest
of mimetype application/json
Required
Request object to get the relationships for given device type and instance.
{
"classType": "NetworkFunction",
"instanceName": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES"
}
string
classType
Required
The type of class, such as Router, Switch etc
string
instanceName
Required
Uniquely identifies the object across domains.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
string
of type application/json
[
"PartOf",
"MemberOf",
"RealizedBy"
]
Errors
400
Invalid Request sent by the user
401
User authentication failed
403
Access to the requested resource/operation is forbidden
404
Cannot find requested resource
500
Internal server error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"classType":"NetworkFunction","instanceName":"NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES"}' https://{api_host}tcsa.host.com/tcsa/api/topology/v1/relationships
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Topology Operations
post
post
post
post
post
post