Auth is required for this API meaning that you must supply a Bearer Token via an Authorization header or an API Key via an Authorization or Api-Key header.
Errors
If an error occours you will receive a HTTP status code along with an API error code and an error message in the response body.
Status Code
Error Code
Message
401
Unauthorized
Authorization has been denied for this request.
403
Forbidden
You are not authorized to access the given resource.
404
NotFound
Relation Type with alias '{alias}' could not be found.
500
InternalServerError
Internal server error.
JSON example:
{"error": {"code":"Unauthorized","message":"Authorization has been denied for this request." }}
Get all relation types
Get a list of all available relation types.
URL: /relation/type
Method: GET
Permissions required : Access to Settings section of the Umbraco Backoffice