List and retrieve diffs with detailed revision information

GET /v1/diff/1066423/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1066423,
    "revision": {
        "id": 482726,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca2f55c89a216044af3e57fb23c74d1d4c279a26",
        "head_changeset": "d9ca03b96aa77f7c380c814b309a75927be52156",
        "phabricator_id": 254451,
        "phabricator_phid": "PHID-DREV-mfjw5dqj3t5vmhcsjbbs",
        "title": "Bug 1973117: Support packed elements check for StoreDenseElement r=jandem",
        "bugzilla_id": 1973117,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482726/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482726/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254451"
    },
    "phid": "PHID-DIFF-v7exfna7ox6wrifwnyon",
    "review_task_id": "F1MhKK_BROa6X-cUaK_xeA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d9ca03b96aa77f7c380c814b309a75927be52156",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066423/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T21:57:11.708035Z"
}