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": "magna dolor amet in cupidatat",
"limit": "sed Excepteur fugiat non proident",
"sort": "created",
"order": "desc",
"equals": {
"modelName": "ServiceNow Ticket",
"stateName": "eu do esse",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "EC2 Instance",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1993-10-25T00:30:40.962Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "2020-08-22T18:05:45.762Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1950-04-30T17:10:17.138Z",
"lastUpdated": "2024-08-27T18:34:41.187Z"
},
"lte": {
"created": "1974-11-01T13:05:04.574Z",
"lastUpdated": "1973-12-05T04:29:24.798Z"
},
"gt": {
"created": "2016-10-19T08:13:18.718Z",
"lastUpdated": "1950-10-19T00:31:23.388Z"
},
"gte": {
"created": "2009-05-21T20:17:59.56Z",
"lastUpdated": "1992-12-16T05:23:38.905Z"
},
"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 imported 3 of 4 documents",
"data": "null",
"metadata": {
"skip": -6715905,
"limit": -28257454,
"total": 38868909,
"nextPageSkip": 42478857,
"previousPageSkip": 49774759,
"currentPageSize": 51526136
}
}