List and retrieve diffs with detailed revision information

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

{
    "id": 1080240,
    "revision": {
        "id": 492489,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d6975a9d7fc736a3dd91ed705520d0cc6bd3730a",
        "head_changeset": "63b7c50556baa0e20d13182609fa2e8a898f8b70",
        "phabricator_id": 256524,
        "phabricator_phid": "PHID-DREV-mboinqdsy63emmufdikt",
        "title": "Bug 1827602 - Add screenshots to the rest of the startup tests. r?#perftest",
        "bugzilla_id": 1827602,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492489/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492489/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256524"
    },
    "phid": "PHID-DIFF-o4yyfjtaqxumk3i5etmy",
    "review_task_id": "Vd33yFgtQLitFte4FO1xQg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b187a05b10f8f280046885fa90d0b7f3931502fd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080240/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T16:05:14.806832Z"
}