List and retrieve diffs with detailed revision information

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

{
    "id": 1047534,
    "revision": {
        "id": 475052,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4c66c8fc4eb941664917a06713a461e3fda6ba4e",
        "head_changeset": "1f79e60e00ff147a2b9ea8d72145c61fbdde4752",
        "phabricator_id": 249248,
        "phabricator_phid": "PHID-DREV-dy2ebwgom6ljiyc3hvx2",
        "title": "WIP: Bug 1960904 - Part 1: Copy PolicyContainer Similar to CSP",
        "bugzilla_id": 1960904,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475052/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475052/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249248"
    },
    "phid": "PHID-DIFF-mjnrvbg4tpkdbaxvby76",
    "review_task_id": "ezLQ5q1wSmO4X_Ux1DSdwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "28e7baf61c582d9a377294758c18376d026b98ef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047534/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T18:51:43.998912Z"
}