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": "sunt cupidatat aliquip",
"limit": "minim sit",
"sort": "created",
"order": "desc",
"equals": {
"modelName": "VLAN Service",
"stateName": "officia esse nostrud eiusmod",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "EC2 Instance",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "2006-06-30T04:13:56.682Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "2003-12-14T11:45:23.304Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"name": "name1,name2,name3"
},
"include-deleted": "false",
"starts-with": {
"name": "EC2 Instance"
},
"lt": {
"created": "1952-01-07T08:38:58.991Z",
"lastUpdated": "2023-12-18T07:43:09.344Z"
},
"lte": {
"created": "1985-03-13T12:17:11.749Z",
"lastUpdated": "1951-10-12T16:36:15.95Z"
},
"gt": {
"created": "1990-01-05T09:16:18.732Z",
"lastUpdated": "1952-12-06T04:33:33.499Z"
},
"gte": {
"created": "1961-02-11T20:21:48.049Z",
"lastUpdated": "1960-09-26T11:45:50.162Z"
},
"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 created the requested item",
"data": "null",
"metadata": {
"skip": -11262844,
"limit": 77509772,
"total": 54652810,
"nextPageSkip": 70593694,
"previousPageSkip": -93401219,
"currentPageSize": -79913923
}
}