List and retrieve diffs with detailed revision information

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

{
    "id": 1051617,
    "revision": {
        "id": 476216,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b40023655af038a8c54e9746e8c23b3f02d847f6",
        "head_changeset": "fda06465487f4a7b56b9e182bf37bf2a53c569c1",
        "phabricator_id": 251028,
        "phabricator_phid": "PHID-DREV-m6jkkre4ghf4v2ffkpuu",
        "title": "Bug 1968309 - Support dylib as FINAL_TARGET_FILES r=glandium",
        "bugzilla_id": 1968309,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476216/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476216/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251028"
    },
    "phid": "PHID-DIFF-c7xh66q446j2nryfdrwg",
    "review_task_id": "b5YuhSbwSJ299MAvGAPtKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "05051b8fd91d31307283e4a0dbcbda2380c93635",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051617/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T07:20:52.419589Z"
}