List and retrieve diffs with detailed revision information

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

{
    "id": 1099422,
    "revision": {
        "id": 391646,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0f235ae77130977658ba0d9f8f7cc20fcb4f4c4c",
        "head_changeset": "3cec11ffeaaa3414b37d09c14f155e4b2c23b17b",
        "phabricator_id": 227965,
        "phabricator_phid": "PHID-DREV-e5ur6zclfz6njh4fhfla",
        "title": "Bug 1917607: Implement using placeholder in readpixel function. r?tjr",
        "bugzilla_id": 1917607,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/391646/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/391646/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D227965"
    },
    "phid": "PHID-DIFF-rt5q7mwlnkgpxjysojnw",
    "review_task_id": "fBj5oMqGTVC6A8dFtdvAhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "29ce7ac9970b6508ffbe552bce6405669cc8a653",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099422/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T07:20:58.744789Z"
}