List and retrieve diffs with detailed revision information

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

{
    "id": 1086522,
    "revision": {
        "id": 495883,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d4acddfa70e03eff69b0d75e1ad502b559c5182c",
        "head_changeset": "2ac56324d83319891a5b5f0150871e97da7dbc6d",
        "phabricator_id": 257064,
        "phabricator_phid": "PHID-DREV-e4nayrty47zhmzdlnjpf",
        "title": "Bug 1974315 - Part 6: Add collections flag to homepage sections nimbus flags.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495883/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495883/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257064"
    },
    "phid": "PHID-DIFF-2cmx7vpdzum5qdt6bpcv",
    "review_task_id": "ZEA6EpyKR8GOmWSwt0Tpjw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2ac56324d83319891a5b5f0150871e97da7dbc6d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086522/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T20:09:04.069731Z"
}