List and retrieve diffs with detailed revision information

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

{
    "id": 1048883,
    "revision": {
        "id": 475983,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d9620022f8349eeb73a4c2636a8ea317ce9e3dbf",
        "head_changeset": "55a531ba4e29b9686cc554d5b9336c7435d7e3e3",
        "phabricator_id": 250589,
        "phabricator_phid": "PHID-DREV-kyozxtkehfjjsffoxard",
        "title": "Bug 1894137 - RTCRtpEncodingParameters.codec handling;r=bwc!,dbaker",
        "bugzilla_id": 1894137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475983/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475983/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250589"
    },
    "phid": "PHID-DIFF-itucpexz3hztllcpnzzs",
    "review_task_id": "SceqjZoFQ2afejzXLgg9QA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0d9345b446518c7fddeeceec82b605498fe4e8d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048883/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T02:31:50.554907Z"
}