List and retrieve diffs with detailed revision information

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

{
    "id": 1067121,
    "revision": {
        "id": 483944,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b6406f937125429665b113c99456d65b893e5345",
        "head_changeset": "6c952b4791a8c29b4bd25a952f2b807b619a6bb7",
        "phabricator_id": 254645,
        "phabricator_phid": "PHID-DREV-jpcopowjpumm7y6uado6",
        "title": "Bug 1973447 - Init HttpBaseChannel members in header r=#necko",
        "bugzilla_id": 1973447,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483944/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483944/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254645"
    },
    "phid": "PHID-DIFF-nx5zlvuudc533erfjxef",
    "review_task_id": "Y4N1g0dZQ2WH03udnGjb6g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6c952b4791a8c29b4bd25a952f2b807b619a6bb7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067121/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T08:48:46.394094Z"
}