Get Instances
DescriptionGet all the instances for the given class
Request
URLURL
Request Body
Request object to get instances for the given class
{
"className": "NetworkFunction"
}
Device type or Class type to which instances are required
The name of column name which has to be filter.
The from parameter defines the offset from the first result you want to fetch.
The field name using which result will be groupby
Uniquely identifies the object across domains.
If traversal is true then we should provide the relationship name to get the targetType.
The size parameter allows you to configure the maximum amount of records to be returned.
The Sort object defines on how and which field sorting has to be applied.
If traversal is true then we should provide the targetType of the relationship for which instance is required
Value can be true/false. If the instance is required on the traversed class then this attribute will be true
The VSAFilter object defines how the filters has to be applied on queries.
Authentication
Response
Response BodyResponse Body
200 OK
{
"count": 1,
"data": [
{
"_id": "Nodes_INCHARGE_SA_PRES/NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES",
"_key": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES",
"_rev": "_et3ArLa--_",
"creationDate": "2022-09-02T12:52:40Z",
"deviceType": "NetworkFunction",
"discoveryID": "INCHARGE-SA-PRES",
"elementUUID": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$INCHARGE-SA-PRES",
"elementUUID_PM": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2$NetworkFunction$",
"jobId": "1662122789071",
"lastUpdationDate": "2022-09-02T12:52:40Z",
"name": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2",
"properties": {
"CreationClassName": "NetworkFunction",
"Description": "",
"DisplayClassName": "NetworkFunction",
"DisplayName": "kube-multus-ds-amd64-gv429",
"IsEdgeHavingProblem": false,
"IsManaged": true,
"IsServiceDysFunctional": false,
"IsVMHostUnResponsive": false,
"Name": "NetworkFunction-ebf940d1-9166-4e3b-bb17-c6b8d200bdc2",
"ServiceKey": "",
"ServiceName": "",
"SystemName": ""
},
"source": "INCHARGE-SA-PRES",
"type": "NetworkFunction"
}
]
}
The number of available instances.
Contains an array of objects.
Errors
Invalid Request sent by the user
User authentication failed
Access to the requested resource/operation is forbidden
Cannot find requested resource
Internal server error