List and retrieve diffs with detailed revision information

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

{
    "id": 1052189,
    "revision": {
        "id": 477283,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "212d7a8bfa7a3a5157287116be80592299a99d15",
        "head_changeset": "cd41c2d62f1b45c4e6002880836f4df76140763b",
        "phabricator_id": 252373,
        "phabricator_phid": "PHID-DREV-cis7dg2zs5qse2suybad",
        "title": "Bug 1970174 - Add stylelint rule to validate font-weight CSS rules r?#home-newtab-reviewers",
        "bugzilla_id": 1970174,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477283/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477283/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252373"
    },
    "phid": "PHID-DIFF-mwkakxs5ppszadpieelo",
    "review_task_id": "Pd5LVYGbTIq3STc1iwsgjw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bba59569aab2e0225b40bb3e1fd25919ef59aa7b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052189/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T20:01:47.548606Z"
}