Script sections (sections)

Returns the list of sections specified by the sections option in all instances of the svc role in the configuration.

Requests

HTTP verb Endpoint Description

GET

/rest/v1/master/logicalroles/script/sections

Getting the list of sections

Domain type: any.


Getting the list of sections

Sections are merged across all role instances without duplicates; an empty section is not output.

Request

Example request
GET /rest/v1/master/logicalroles/script/sections HTTP/1.1

Response

Example response
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

[
  {"key": "default"},
  {"key": "reports"}
]