List and retrieve diffs with detailed revision information

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

{
    "id": 1050684,
    "revision": {
        "id": 475924,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e01049bdf2bbfef9187ddf0be0ba03f23b927580",
        "head_changeset": "173eb8dc9540324f9f5435bc7254d78e8e8772b7",
        "phabricator_id": 247055,
        "phabricator_phid": "PHID-DREV-n3l2w6eof7cmseekcqla",
        "title": "Bug 1962133 - QM: Prepare metadata header infrastructure for accessed flag addition and reduce duplication; r=#dom-storage",
        "bugzilla_id": 1962133,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475924/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475924/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247055"
    },
    "phid": "PHID-DIFF-lakm74c4jyksfxk5fdbg",
    "review_task_id": "AKTvTWzcS_Gz_z5pDr_WJg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a968752f77d90dff419da8ec3585bcdfc9d0cdae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050684/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T08:51:05.174781Z"
}