List and retrieve diffs with detailed revision information

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

{
    "id": 1057869,
    "revision": {
        "id": 475363,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "0659898aad68c638cd6cb300c66b1ac045b1ec4c",
        "phabricator_id": 249803,
        "phabricator_phid": "PHID-DREV-w3gmemhnxsfxbyaitpkl",
        "title": "WIP: Bug 1964773 - Dynamic reload/stop when on a webpage",
        "bugzilla_id": 1964773,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475363/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475363/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249803"
    },
    "phid": "PHID-DIFF-p5qt2tjqfiqsd2rtfep2",
    "review_task_id": "BWjdR1oiRKO0EwlJl03Mpg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "674ba5bf999f2ce06ad056a13e7e1e14dedc33c2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057869/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T19:56:07.670827Z"
}