Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Retrieve a content type

Returns a single content type by its identifier.

get
/content_types/{id}/
Authorizations
AuthorizationstringRequired

Token credential sent in the Authorization header, in the form: Token <your-token>. Requires a staff (admin) account.

Path parameters
idintegerRequired

The unique identifier of the content type.

Responses
200

The requested content type.

application/json

A content type — the registry entry that binds an app label and model name to a stable integer identifier.

idintegerRead-onlyOptional

The unique identifier of the content type.

app_labelstring · max: 100Optional

The label of the Django app the model belongs to (e.g. catalog).

modelstring · max: 100Optional

The lowercased model name (e.g. product).

get/content_types/{id}/
GET /api/v1/remote/1/content_types/{id}/ HTTP/1.1
Host: sandbox.akinon.com
Authorization: YOUR_API_KEY
Accept: */*
{
  "id": 42,
  "app_label": "catalog",
  "model": "product"
}

Last updated

Was this helpful?