List and retrieve diffs with detailed revision information

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

{
    "id": 1102986,
    "revision": {
        "id": 508581,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cca3e1c9a2e76284c7f74b7e26a937c147ed3c3d",
        "head_changeset": "8e2818811942e4f3452636c67dcf0563d0ac7c44",
        "phabricator_id": 258985,
        "phabricator_phid": "PHID-DREV-ya6n7vsuhmt5puk433xi",
        "title": "Bug 1978432 Part 2: Move the main work of nsCocoaWindow::CreateCompositor to the compositor thread.",
        "bugzilla_id": 1978432,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508581/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508581/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258985"
    },
    "phid": "PHID-DIFF-toa63bk7pimedhvaiuvm",
    "review_task_id": "UrsLOIXfRYuh7KoFb1W7fQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7091253f2c3e8722d9c9b8bcceeeb109df1c40da",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102986/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T00:41:56.990722Z"
}