Product layer installation process states in all domains (product_layer_multi)

Requests

HTTP verb Endpoint Description

POST

/rest/v1/master/product_layer_multi

Creating an order to update the product layer in all domains

GET

/rest/v1/master/product_layer_multi

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


Creating an order to update the product layer in all domains

Request

Field description: product_layer_multi entity

Example request
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

Example response
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
      }
    ]
  }
]

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

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 output.

limit

int

Maximum number of resources in the list.

order

array<object|str>

Sorting order of resources in the list.

flat

bool

Transformation of composite fields to flat form.

Example request
GET /rest/v1/master/product_layer_multi HTTP/1.1

Response

Field description: product_layer_multi entity

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