API endpoint that allows packages to be viewed or edited.

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

{
    "category": "https://djangopackages.org/api/v4/categories/4/?format=api",
    "grids": [
        "https://djangopackages.org/api/v4/grids/425/?format=api"
    ],
    "id": 6078,
    "title": "pytest-codeblock",
    "slug": "pytest-codeblock",
    "last_updated": "2026-04-07T18:54:26-04:00",
    "last_fetched": "2026-05-26T19:05:30.567558-04:00",
    "repo_url": "https://github.com/barseghyanartur/pytest-codeblock",
    "pypi_version": "0.5.8",
    "created": "2025-05-04T17:20:15.546696-04:00",
    "modified": "2026-03-05T12:40:52.947812-05:00",
    "repo_forks": 1,
    "repo_description": "Test your documentation code blocks.",
    "pypi_url": "https://pypi.org/project/pytest-codeblock",
    "documentation_url": "https://pytest-codeblock.readthedocs.io/",
    "repo_watchers": 2,
    "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,
        2,
        0,
        6,
        2,
        0,
        0,
        0,
        0,
        0,
        2,
        6,
        4,
        3,
        15,
        10,
        14,
        4,
        2,
        0,
        0,
        0,
        4,
        0,
        0,
        0,
        0,
        0,
        0
    ],
    "participants": [
        "barseghyanartur",
        "xann16"
    ]
}