[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Get Class Types
DescriptionGet discovered topology class types such as Router, switch, VEdge etc.
Request
URLURL
https://{api_host}tcsa.host.com/tcsa/api/topology/v1/class-types
Request Body
Request Body
{
"onlyMap": false
}
boolean
onlyMap
Required
If true will return only map supported classes
string
objectClass
Optional
Device type to get all relation ship types
string
objectInstance
Optional
Uniquely identifies the notification across domains.
string
relationshipType
Optional
Describes the type of relationship.
boolean
traversal
Optional
Traversal is required or not (true/false). If traversal = true then objectClass, objectInstance, relationshipType are mandatory.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
string
of type application/json
[
"KubernetesPod",
"NetworkFunction"
]
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 '{"objectClass":"NetworkFunction","objectInstance":"NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES","onlyMap":false,"traversal":true}' https://{api_host}tcsa.host.com/tcsa/api/topology/v1/class-types
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Topology Operations
post
post
post
post
post
post