List and retrieve diffs with detailed revision information

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

{
    "id": 1087519,
    "revision": {
        "id": 496559,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "633efe446fbce6547a7d2e646e750c9b9f678153",
        "head_changeset": "ff9dc09c958ce52112a114cf6789e26f82efcda4",
        "phabricator_id": 257570,
        "phabricator_phid": "PHID-DREV-ppp7clyurpapskrpp645",
        "title": "Bug 1977616 - account for shapes with neither fill nor stroke in bounding box calculations r=emilio",
        "bugzilla_id": 1977616,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496559/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496559/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257570"
    },
    "phid": "PHID-DIFF-jxeqmvviarhg5phwbrdp",
    "review_task_id": "YzEU8SEYRs29oA6Tu8M68w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff9dc09c958ce52112a114cf6789e26f82efcda4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087519/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T20:23:51.611388Z"
}