List and retrieve diffs with detailed revision information

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

{
    "id": 1030363,
    "revision": {
        "id": 473853,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b0ed789c871bc86c02fbc22b769a81d6497297de",
        "head_changeset": "7b76bd3ffd8ed4de4128ded7c03e248ab8f9b1f1",
        "phabricator_id": 218276,
        "phabricator_phid": "PHID-DREV-tmeu7qweba2vavcml3rr",
        "title": "Bug 1885232 - part 2: Copy the WPT to under `mozilla/` to check the behavior with APZ r=smaug!,#dom-core",
        "bugzilla_id": 1885232,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473853/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473853/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D218276"
    },
    "phid": "PHID-DIFF-n2t4mp6n3ha3trv246ob",
    "review_task_id": "OHPitA2fQsmn3bAhlJa85g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "969351ccfd0a50243952320461d6902409c92d9b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030363/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T07:09:31.247977Z"
}