Retrieve an existing type.

Use the /types/{id} end-point to retrieve an existing content type 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

Provide the ID of the content type document that you want to retrieve.

Query Params
string

Only the content type fields that are specified here are returned for each result. Any type document field is a valid value and can be specified as a comma-separated list.

string

Specify additional fields to include with each result.
Valid options are:

  • links: Adds the 'links' section (see '#/definitions/DocumentLinks') to the response.
  • metadata: Adds additional details such as creator and last modifier to the response.
  • schema: Adds the 'schema' section to the response.
  • mappings: Add the 'mappings' section to the response.
  • all: Adds all current and future additional fields to the response.

When used in-conjunction with the 'fields' option, both the fields that are specified in the 'fields' option and the fields in the 'include' option are returned.

Headers
string

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

Responses

304

Not modified. The Etag value that you provided in the If-Match parameter matches the recent document version.

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