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": "cillum tempor fugiat aliqua",
"limit": "aliqua",
"sort": "created",
"order": "desc",
"equals": {
"modelName": "VLAN Service",
"stateName": "in",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1961-06-19T03:59:09.804Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "1960-09-27T03:13:23.858Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"include-deleted": "false",
"starts-with": {
"name": "EC2 Instance"
},
"lt": {
"created": "1971-03-03T19:48:39.277Z",
"lastUpdated": "1962-06-14T08:09:50.765Z"
},
"lte": {
"created": "1956-11-27T15:45:26.758Z",
"lastUpdated": "1999-05-14T15:15:48.601Z"
},
"gt": {
"created": "1951-03-24T11:28:21.639Z",
"lastUpdated": "1974-03-27T06:01:58.729Z"
},
"gte": {
"created": "2023-01-05T15:18:04.887Z",
"lastUpdated": "1968-08-15T15:35:33.455Z"
},
"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": 54621870,
"limit": 60925352,
"total": 50572557,
"nextPageSkip": -67811816,
"previousPageSkip": -5183052,
"currentPageSize": -74003096
}
}