List and retrieve diffs with detailed revision information

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

{
    "id": 1077886,
    "revision": {
        "id": 490060,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aae715ed960d81bb4a72f1075921ae916f735409",
        "head_changeset": "4cefce91b11814127f3610531e8c92ccc975f85d",
        "phabricator_id": 255965,
        "phabricator_phid": "PHID-DREV-nmlrzmsdevf2akwv5xb6",
        "title": "Bug 1975428 - Update redesigned main menu TestRail links",
        "bugzilla_id": 1975428,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490060/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490060/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255965"
    },
    "phid": "PHID-DIFF-z2i7uvcqzhncx3qnjtbe",
    "review_task_id": "IAvRXvChRae-PUvudEbkvg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8a60f39a572d67cde1db2a71e58bebd8a5f42ddd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077886/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T07:30:01.135675Z"
}