States of the product layer installation process in all domains (product_layer_multi)
Table of Contents
Requests
HTTP verb | Endpoint | Description |
---|---|---|
|
|
Creation of an order to update the product layer in all domains |
|
|
Creation of an order to update the product layer in all domains
Request
Field Description: product_layer_multi entity
Request example
POST /rest/v1/master/product_layer_multi HTTP/1.1
Content-Type: application/json; charset=utf-8
product_layer_multi entity
Response
Field Description: product_layer_multi entity
Response example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{
"domain": "master.local",
"items": [
{
"operation": "install",
"prefix": "era_product",
"mode": "default",
"file": "era_product_2022.6.22.zip",
"site": "main_site",
"dt": "2022-07-18T16:55:51Z",
"status": "registered",
"kind": "current",
"order": 0
}
]
},
{
"domain": "sub.master.local",
"items": [
{
"operation": "install",
"prefix": "era_product",
"mode": "default",
"file": "era_product_2022.6.22.zip",
"site": "main_site",
"dt": "2022-07-18T16:55:51Z",
"status": "registered",
"kind": "current",
"order": 0
}
]
}
]
Obtaining the list of objects with information about domains and their states of the product layer installation process
Request
Name | Type | Description |
---|---|---|
|
|
Filter by field values. |
|
|
List of fields to output. Available fields for output: domain, items. |
|
|
Offset in the list of resources to be issued. |
|
|
The maximum number of resources in the list. |
|
|
The sort order of the resources in the list. |
|
|
Conversion to flat form of composite fields. |
Request example
GET /rest/v1/master/product_layer_multi HTTP/1.1
Response
Field Description: product_layer_multi entity
Response example
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
[
{
"domain": "master.local",
"items": [
{
"dt": "2022-07-20T10:08:44Z",
"file": "era_product_2022.6.22.zip",
"kind": "current",
"md5": "C9594C1C0BDF87109763F24D36557D40",
"mode": "default",
"order": 0,
"site": "main_site",
"status": "installed"
},
{
"dt": "2022-07-20T10:23:09Z",
"file": "era_product_2022.6.22.zip",
"kind": "attempt",
"mode": "default",
"order": 1,
"site": "main_site",
"status": "identical"
}
]
},
{
"domain": "a.b.c",
"items": []
},
{
"domain": "sub.master.local",
"items": [
{
"dt": "2022-07-14T13:42:48Z",
"file": "era_product_2022.6.22.zip",
"kind": "current",
"md5": "C9594C1C0BDF87109763F24D36557D40",
"mode": "multi",
"order": 0,
"site": "main_site",
"status": "installed"
},
{
"dt": "2022-07-20T10:23:09Z",
"file": "era_product_2022.6.22.zip",
"kind": "attempt",
"mode": "multi",
"order": 1,
"site": "main_site",
"status": "identical"
}
]
}
]