List and retrieve diffs with detailed revision information

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

{
    "id": 1047841,
    "revision": {
        "id": 474997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "47282323aab5f95c4cc4457b360787ee9785130a",
        "head_changeset": "b68a3715570718425ba86e791d21ceea1457b76d",
        "phabricator_id": 249177,
        "phabricator_phid": "PHID-DREV-xqrl6j36qxryetkk2mpn",
        "title": "Bug 1606785 - Format dom CSS files with Prettier r=#dom-core",
        "bugzilla_id": 1606785,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249177"
    },
    "phid": "PHID-DIFF-x3cprdhec7s6v6yk37h6",
    "review_task_id": "cR8l-o-xS-KyPW2-IwMKVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e87dbe0f43ff77a166029e61fa712b1c6e47965a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047841/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T02:12:23.443732Z"
}