List and retrieve diffs with detailed revision information

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

{
    "id": 1072639,
    "revision": {
        "id": 485414,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "af108104f1b1d4e3690d33bd4d7cf8242272fdef",
        "head_changeset": "6e0484b4e32c999f0036550aa12d4dc400af5fae",
        "phabricator_id": 255005,
        "phabricator_phid": "PHID-DREV-m4dwja4ib4m5dsphsxdl",
        "title": "WIP: Bug 1971157 - Fix sharing local PDF to share file",
        "bugzilla_id": 1971157,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485414/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485414/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255005"
    },
    "phid": "PHID-DIFF-762ujuupip6wqlbwgorl",
    "review_task_id": "GOHKbuqPQB6SUmEqzraHGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6e0484b4e32c999f0036550aa12d4dc400af5fae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072639/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T20:01:00.417356Z"
}