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": "Ut reprehenderit mollit occaecat eiusmod",
"limit": "in",
"sort": "created",
"order": "asc",
"equals": {
"modelName": "VLAN Service",
"stateName": "dolore Ut incididunt",
"_id": "62a1f3d2ebedfc54e6e0065c",
"name": "EC2 Instance",
"modelId": "62a1f3d2ebedfc54e6e0065c",
"created": "1987-02-26T02:03:58.598Z",
"createdBy": "62a1f3d2ebedfc54e6e0065c",
"lastUpdated": "2019-10-18T08:36:41.975Z",
"lastUpdatedBy": "62a1f3d2ebedfc54e6e0065c"
},
"in": {
"stateId": "1234,53fe,0000"
},
"include-deleted": "false",
"starts-with": {
"name": "VLAN Service"
},
"lt": {
"created": "1968-01-31T12:19:00.816Z",
"lastUpdated": "1953-11-27T09:21:01.278Z"
},
"lte": {
"created": "1972-12-15T08:41:17.739Z",
"lastUpdated": "1947-12-21T14:39:44.294Z"
},
"gt": {
"created": "2014-05-31T17:36:05.956Z",
"lastUpdated": "1987-01-29T22:31:04.553Z"
},
"gte": {
"created": "1971-02-09T10:21:38.937Z",
"lastUpdated": "2018-04-29T19:36:06.923Z"
},
"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": 61169174,
"limit": -36128241,
"total": -61726104,
"nextPageSkip": -82871408,
"previousPageSkip": 63237737,
"currentPageSize": 93013710
}
}