List and retrieve diffs with detailed revision information

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

{
    "id": 1087350,
    "revision": {
        "id": 486715,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "c9df3c0725499b7b4555f925436d75bae7a30d84",
        "phabricator_id": 255300,
        "phabricator_phid": "PHID-DREV-yjzl5wh43znqxrit23an",
        "title": "Bug 1973033 - Part 5: Allocate small buffers out of medium buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486715/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486715/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255300"
    },
    "phid": "PHID-DIFF-eqplnnu2kovvtprphmzr",
    "review_task_id": "G5-zxOsIQtmAic0vGGiqvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f865d40b3f7daf7afbbcee8b0a6fff4caa99c1a9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087350/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T17:31:01.720275Z"
}