States of the product layer installation process in all domains (product_layer_multi)

Requests

HTTP verb Endpoint Description

POST

/rest/v1/master/product_layer_multi

Creation of an order to update the product layer in all domains

GET

/rest/v1/master/product_layer_multi

Obtaining the list of objects with information about domains and their states of the product layer installation process


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

Table 1. Request parameters
Name Type Description

filter

object

Filter by field values.

mask

str

List of fields to output. Available fields for output: domain, items.

offset

int

Offset in the list of resources to be issued.

limit

int

The maximum number of resources in the list.

order

array<object|str>

The sort order of the resources in the list.

flat

bool

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"
      }
    ]
  }
]