Content Types

get
/content-types/

This method returns details about a specific content type, including its ID, app label, and model. The content type is used to link to a specific model in the application, allowing for flexible object referencing.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
app_labelstringOptional

Query parameter app_label used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

modelstringOptional

Query parameter model used to filter results based on specific conditions.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

Responses
chevron-right
200

Successful response for status code 200.

application/json
countintegerOptional

Numerical value representing quantity or total amount.

Example: 123
nextstring · uri · nullableOptional

This field defines the URL of the next page.

Example: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptional

This field defines the URL of the previous page.

Example: http://api.example.org/accounts/?page=2
get
/content-types/
200

Successful response for status code 200.

get
/content-types/{id}/

This method returns details about a specific content type, including its ID, app label, and model. The content type is used to link to a specific model in the application, allowing for flexible object referencing. This endpoint retrieves a specific record by its unique identifier.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this içerik türü.

Responses
chevron-right
200

Successful response for status code 200.

application/json
app_labelstring · max: 100Optional

The field defines the name of the app associated with the content type.

idintegerOptional

Unique identifier for the record.

modelstring · max: 100Optional

The field defines the model name associated with the content type.

get
/content-types/{id}/

Last updated

Was this helpful?