GET api/layout/{id}

Retrieves the layout metadata for a specified node ID.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The node ID for which layout metadata is requested.

integer

Required

Body Parameters

None.

Response Information

Resource Description

On success: HTTP 200 OK with a list of `MetaLayout` objects. On failure: HTTP 400 Bad Request with a generic error message.

Collection of MetaLayout
NameDescriptionTypeAdditional information
GUID

unique GUID for this field

string

None.

label

Field label (note a form may have the same label repeated so GUID is the only safe unique identifier)

string

None.

type

Field type

string

None.

Response Formats

application/json, text/json, application/scim+json

Sample:
[
  {
    "GUID": "sample string 1",
    "label": "sample string 2",
    "type": "sample string 3"
  },
  {
    "GUID": "sample string 1",
    "label": "sample string 2",
    "type": "sample string 3"
  }
]