[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance

Get Relationships

Description

Get all the relationships for the given instance

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/tcsa/api/topology/v1/relationships
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of string of type application/json
[
	"PartOf",
	"MemberOf",
	"RealizedBy"
]
Errors

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

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
Feedback

Was this page helpful?