v1
latestOpenAPI 3.0.02026-07-2417611.8 MBAuthoring types
Retrieve all types in the database with the specified name.
Use the /types/views/by-name endpoint to retrieve all types from the database with the specified name.<br />User roles: admin, manager, editor, viewer
get/authoring/v1/types/views/by-name
Query parameters
namestring required
The name to query.
offsetnumber
Use the offset parameter to specify the number of types to skip and return the rest.
limitnumber
Set the limit for the number of types that are returned.
fieldsstring
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.
format'feed' | 'array' | 'sequence'
Specify the result format.
- feed - (default) returns a wrapper with links
- array - returns just the array of results
- sequence - each result is a separate JSON document on a new line
Response
Success.
Example response
{
"items": [
{
"path": "/myTypes/SampleType.json",
"thumbnail": {
"id": "6c622bbb-5f5b-45d4-89e1-fce1c054138f",
"path": "/sales/images/hub.png",
"url": "/authoring/v1/resources/47d535ff288b3bd8383009abf82a9ea8"
}
}
]
}