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": "sit voluptate irure",
"limit": "laboris esse voluptate pariatur quis",
"sort": "name",
"order": "desc",
"equals": {
"modelName": "EC2 Instance",
"stateName": "Excepteur Duis",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "EC2 Instance",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1970-02-16T20:21:25.432Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "1984-09-22T23:11:54.232Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"name": "name1,name2,name3"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "2009-02-15T18:44:47.042Z",
"lastUpdated": "1964-03-04T12:51:18.947Z"
},
"lte": {
"created": "1983-12-13T01:38:57.386Z",
"lastUpdated": "1967-02-08T09:37:42.936Z"
},
"gt": {
"created": "2024-08-27T18:49:55.829Z",
"lastUpdated": "2005-12-12T02:34:18.88Z"
},
"gte": {
"created": "2017-09-12T09:51:55.556Z",
"lastUpdated": "2006-04-14T02:25:10.693Z"
},
"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": "Successfully retrieved search results",
"data": "null",
"metadata": {
"skip": 94359116,
"limit": 37497675,
"total": -72069194,
"nextPageSkip": 94583762,
"previousPageSkip": -32949293,
"currentPageSize": -48699916
}
}