Retrieve an existing layout mapping via its associated content-type.

Use the /layout-mappings/by-type/{type-id} end-point to retrieve an existing layout mapping from the database.
User roles: admin, manager, editor, viewer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the content-type whose layout mapping should be retrieved.

Query Params
string

A comma separated list that when specified, limits the fields returned to just those specified. Any layout mapping field is a valid value.

string

A comma separated list of additional fields (which are normally hidden) to add to the response.
Valid options are:
metadata: Adds additional details such as creator, last modifier and the names of mapped layouts to the response. all: Adds all current and future additional fields to the response.
When used in-conjunction with the 'fields' option, both sets of fields are returned. ie. those specified in the 'fields' option and those specified in the 'include' option.

Headers
string

Provide an Etag value from a previous request to check whether the layout mapping retrieved is the most recent version. If the layout mapping is the most recent version, the call returns a 304 ( Not modified) message instead of sending the layout mapping back.

Responses

304

Not modified is returned when using If-None-Match header and the value matches the latest version of the item.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json