Animals record must reference one of these statuses.
Status codes follow the IUCN Red List classification system. The
name field stores the two-letter code; the API returns the full human-readable label via get_name_display().Write operations (POST, PUT, DELETE) require authentication via
IsAuthenticatedAndRole. GET endpoints are publicly accessible.IUCN categories
The following categories are defined in the model’sSTATUS_CHOICES:
| Code | Label |
|---|---|
LC | Least Concern |
NT | Near Threatened |
VU | Vulnerable |
EN | Endangered |
CR | Critically Endangered |
EW | Extinct in the Wild |
EX | Extinct |
Endpoints
List conservation statuses
Returns all conservation status records ordered alphabetically by code.Response fields
Unique identifier for the conservation status record.
Two-letter IUCN code (e.g.,
"EN", "VU"). Must be unique. Valid values are LC, NT, VU, EN, CR, EW, and EX. Records are ordered alphabetically by this field.Create conservation status
Requires admin authentication. Only one record per IUCN code is permitted —
name has a unique constraint.Two-letter IUCN code. Must be one of:
LC, NT, VU, EN, CR, EW, EX.Retrieve conservation status
Primary key of the conservation status record.
Update conservation status
Requires admin authentication. Only PUT is supported; PATCH is not exposed.
Primary key of the status record to update.
Replacement IUCN code. Must be one of the valid choices and must remain unique.
Delete conservation status
Requires admin authentication.
Primary key of the conservation status record to delete.
