API endpoint that allows packages to be viewed or edited.

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

{
    "category": "https://djangopackages.org/api/v4/categories/1/?format=api",
    "grids": [
        "https://djangopackages.org/api/v4/grids/161/?format=api"
    ],
    "id": 5391,
    "title": "django-pg-upsert",
    "slug": "django-pg-upsert",
    "last_updated": "2023-03-11T11:41:46-05:00",
    "last_fetched": "2026-02-15T07:00:54.416138-05:00",
    "repo_url": "https://github.com/artofhuman/django-pg-upsert",
    "pypi_version": "0.5.0",
    "created": "2022-03-17T08:17:50.529678-04:00",
    "modified": "2026-01-29T12:39:42.578250-05:00",
    "repo_forks": 6,
    "repo_description": "Support Postgres native upsert (INSERT ... ON CONFLICT) for django",
    "pypi_url": "http://pypi.python.org/pypi/django-pg-upsert",
    "documentation_url": "",
    "repo_watchers": 31,
    "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": [
        "artofhuman",
        "dependabot[bot]",
        "Cediddi",
        "rgalanakis"
    ]
}