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

Get Class Types

Description

Get discovered topology class types such as Router, switch, VEdge etc.

Request

Request

URL

URL


post
https://{api_host}tcsa.host.com/tcsa/api/topology/v1/class-types
Copy

Request Body

Request Body

ClassRequest of mimetype application/json Required

Request object to get the discovered class type.

{
    "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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK

Returns array of string of type application/json
[
	"KubernetesPod",
	"NetworkFunction"
]
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 '{"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
Feedback

Was this page helpful?