List and retrieve diffs with detailed revision information

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

{
    "id": 1054829,
    "revision": {
        "id": 475438,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1a770b3c845f1683d59bff89ecec6a301e651539",
        "head_changeset": "aaa32918032bcaae8436736678c1c02f7906b61b",
        "phabricator_id": 249562,
        "phabricator_phid": "PHID-DREV-jvfvdt42ljibiuxooovf",
        "title": "WIP: Bug 1944556 - add tests for verifying LNA blocking. r=#necko",
        "bugzilla_id": 1944556,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475438/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475438/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249562"
    },
    "phid": "PHID-DIFF-j7h3krmvzbuiw6p422tf",
    "review_task_id": "AzSQ6V6GSdyAJMthxQK51Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40a813a49dd999f226d75159da3ed20f0e5beda4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054829/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-08T15:02:41.452663Z"
}