Summary
Searches resource instances
Description
Searches resource instances
Route
GET /lifecycle-manager/resources/:modelId/instances
Roles
admin
apiread
designer
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
modelId |
string |
yes |
- |
searchParameters |
object |
yes |
- |
Copied to Clipboard
{
"searchParameters": {
"skip": "occaecat elit aute ex",
"limit": "ut",
"sort": "name",
"order": "desc",
"equals": {
"modelName": "EC2 Instance",
"stateName": "tempor amet",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "2014-10-03T17:08:33.261Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "2001-12-12T05:03:14.912Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"name": "name1,name2,name3"
},
"include-deleted": "false",
"starts-with": {
"name": "EC2 Instance"
},
"lt": {
"created": "1977-06-06T15:19:13.309Z",
"lastUpdated": "1958-11-13T16:32:16.184Z"
},
"lte": {
"created": "2017-12-09T18:21:57.451Z",
"lastUpdated": "1982-10-02T03:06:05.068Z"
},
"gt": {
"created": "2021-05-22T01:29:39.6Z",
"lastUpdated": "2008-01-21T16:17:15.364Z"
},
"gte": {
"created": "1952-04-02T15:02:17.229Z",
"lastUpdated": "1990-10-21T19:59:10.46Z"
},
"dereference": "accounts"
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"searchParameters": {
"title": "searchParameters",
"$ref": "resource-instance-search-params"
}
},
"required": [
"searchParameters"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
- |
Copied to Clipboard
{
"message": "A server error occurred while processing this request",
"data": "null",
"metadata": {
"errors": [],
"skip": -96039609,
"limit": 65084222,
"total": -91628293,
"nextPageSkip": -56086734,
"previousPageSkip": -60257769,
"currentPageSize": -77980874
}
}