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": "dolore dolor",
"limit": "eiusmod minim",
"sort": "created",
"order": "asc",
"equals": {
"modelName": "EC2 Instance",
"stateName": "deserunt Lorem",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1997-01-27T23:29:37.178Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "1985-03-04T19:24:04.551Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"stateId": "1234,53fe,0000"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1961-06-15T05:50:08.117Z",
"lastUpdated": "1992-12-02T15:07:06.027Z"
},
"lte": {
"created": "1981-02-28T07:03:13.553Z",
"lastUpdated": "1962-07-21T09:56:42.814Z"
},
"gt": {
"created": "1967-05-02T05:05:19.955Z",
"lastUpdated": "1963-11-17T18:28:59.1Z"
},
"gte": {
"created": "1968-08-26T06:54:03.638Z",
"lastUpdated": "2023-02-01T21:09:32.248Z"
},
"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": -82421343,
"limit": 11542443,
"total": -556182,
"nextPageSkip": -91099022,
"previousPageSkip": -77061858,
"currentPageSize": 82142799
}
}