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": "in magna ut dolor",
"limit": "esse velit cillum dolore",
"sort": "created",
"order": "asc",
"equals": {
"modelName": "VLAN Service",
"stateName": "exercitation irure adipisicing in incididunt",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "VLAN Service",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "2005-10-21T08:26:50.373Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "1985-12-27T11:50:04.186Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1977-05-14T19:44:35.277Z",
"lastUpdated": "2023-06-11T18:10:03.553Z"
},
"lte": {
"created": "1983-09-29T03:02:45.755Z",
"lastUpdated": "2010-12-04T01:22:00.223Z"
},
"gt": {
"created": "1978-05-15T12:14:16.097Z",
"lastUpdated": "1991-01-06T05:45:51.212Z"
},
"gte": {
"created": "1977-01-08T07:57:54.319Z",
"lastUpdated": "1986-03-27T09:22:36.809Z"
},
"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": -96081884,
"limit": -2696643,
"total": -25835132,
"nextPageSkip": -5570857,
"previousPageSkip": 59055959,
"currentPageSize": 64707959
}
}