List and retrieve diffs with detailed revision information

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

{
    "id": 1074274,
    "revision": {
        "id": 486653,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f6d960e567bd265b1d2478c7ad6868b6872cd22",
        "head_changeset": "b707049603f99c61f0909313b22dba95dec74fd3",
        "phabricator_id": 255281,
        "phabricator_phid": "PHID-DREV-a4g5anppdmx6thvo76eo",
        "title": "WIP: Bug 1670200 - Part 1: Add log to dump flavors in nsITransferable for Drag session;",
        "bugzilla_id": 1670200,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486653/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486653/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255281"
    },
    "phid": "PHID-DIFF-bxenehvp2ubkyhuxmnvh",
    "review_task_id": "P7G1WToPTJSasijaTd5wNA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bd1c9e424b7cff957ff1f675fae6eb794074a29a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T12:36:29.800829Z"
}