List and retrieve diffs with detailed revision information

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

{
    "id": 1038656,
    "revision": {
        "id": 475614,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "48251b36621b16c03ab8f1dc76130b61406facd0",
        "head_changeset": "122b2cc06a1fce0ae0f5f2c229ae7d6f08ebde2a",
        "phabricator_id": 249985,
        "phabricator_phid": "PHID-DREV-sg4jkazv5xl6ideklvn6",
        "title": "Bug 1820252 - Add TranslationsDocument test helpers r=#translations-reviewers!",
        "bugzilla_id": 1820252,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475614/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475614/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249985"
    },
    "phid": "PHID-DIFF-xbxailr4floizckr5u2b",
    "review_task_id": "b0-Lp_ZgQjmWl1pWHw-Psw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f9a68ed046cb6c5a2075d2c8d909e9506c6af263",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038656/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T18:29:56.957213Z"
}