List and retrieve diffs with detailed revision information

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

{
    "id": 1086436,
    "revision": {
        "id": 495413,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63caf22449827c84bdf443b6022e1b731ec87b95",
        "head_changeset": "2de011babd70889c2ac62fb8a70e03aaf4998106",
        "phabricator_id": 257182,
        "phabricator_phid": "PHID-DREV-qjwlx2iuh4kjm25prc3l",
        "title": "Bug 1976259 - Part 3: Add ChunkLists to store lists of chunks binned by size r?sfink",
        "bugzilla_id": 1976259,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495413/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495413/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257182"
    },
    "phid": "PHID-DIFF-nt7o567264r63t36elmz",
    "review_task_id": "ZGErWd_oSEOGVNI4-POcTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5030ae888a3290e80484aa08058ab3db1bcc7535",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086436/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T16:13:37.615859Z"
}