List and retrieve diffs with detailed revision information

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

{
    "id": 1051833,
    "revision": {
        "id": 477138,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "5572aff3efc1a61e1e2a801e12aefe879fe2ca54",
        "phabricator_id": 252208,
        "phabricator_phid": "PHID-DREV-flxvddwhcoobydpyynun",
        "title": "Bug 1969925: Dispatch TabGrouped when adopting tab group and it is the last thing on the tab strip r?dwalker,sthompson",
        "bugzilla_id": 1969925,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477138/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477138/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252208"
    },
    "phid": "PHID-DIFF-rui2hgjpyc6v5fm6wdvw",
    "review_task_id": "BG2o82VOQIO3pSZ4PrCKZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c69714e7d2039bb9f43f1439291fa87d87a575b1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051833/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:10:58.867160Z"
}