API endpoint that allows packages to be viewed or edited.

GET /api/v4/packages/3697/
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "category": "https://djangopackages.org/api/v4/categories/1/",
    "grids": [
        "https://djangopackages.org/api/v4/grids/59/"
    ],
    "id": 3697,
    "title": "django-hats",
    "slug": "django-hats",
    "last_updated": "2019-07-22T09:57:04-04:00",
    "last_fetched": "2026-02-15T22:02:18.962365-05:00",
    "repo_url": "https://github.com/GenePeeks/django-hats",
    "pypi_version": "1.1.2",
    "created": "2017-02-01T10:54:15.075419-05:00",
    "modified": "2026-01-28T15:17:54.301434-05:00",
    "repo_forks": 0,
    "repo_description": "Role-based permissions system for Django. Everyone wears a different hat, some people wear multiple.",
    "pypi_url": "http://pypi.python.org/pypi/django-hats",
    "documentation_url": "https://github.com/GenePeeks/django-hats/blob/master/README.md",
    "repo_watchers": 20,
    "commits_over_52": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
    ],
    "participants": [
        "miketheredherring"
    ]
}