List and retrieve diffs with detailed revision information

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

{
    "id": 1101582,
    "revision": {
        "id": 507297,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "29b4991c7877eb676a080c088cc2b598e73489aa",
        "head_changeset": "cd56c88b55c1bd69304b3ec04fe33ba18d7f4d65",
        "phabricator_id": 260100,
        "phabricator_phid": "PHID-DREV-4ob5u3xti22ixnxmzexa",
        "title": "Bug 1981323 - add two byte RTP extension header support to the js RTP parser;r?dbaker",
        "bugzilla_id": 1981323,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507297/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507297/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260100"
    },
    "phid": "PHID-DIFF-eq4axy5ajodfr7nbtfj5",
    "review_task_id": "Pwfj4xmsS0G9fsugLGiTdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cd56c88b55c1bd69304b3ec04fe33ba18d7f4d65",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101582/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T07:45:49.638247Z"
}