List and retrieve diffs with detailed revision information

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

{
    "id": 1047399,
    "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-wa7oneda576k3nbmkhj6",
    "review_task_id": "LMUr5TDBQKykgzT6BGzjYQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4673608c04c8a7e3afbf513557791e1a173fe011",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047399/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T15:55:51.718370Z"
}