List and retrieve diffs with detailed revision information

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

{
    "id": 1099692,
    "revision": {
        "id": 487996,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "257e0c97a2afa91c2c730712d3e85954324eb9c7",
        "head_changeset": "ec0d1ac153cd500a8a34205816eaa7d234585fdf",
        "phabricator_id": 255438,
        "phabricator_phid": "PHID-DREV-76ptwogj6lcb5n76ul5x",
        "title": "Bug 1971502 - Part 1: Listen for changes in LNA permissions in the browser state",
        "bugzilla_id": 1971502,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487996/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487996/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255438"
    },
    "phid": "PHID-DIFF-lnpypnnigdxuk7ahcw5x",
    "review_task_id": "TJ49DR7HRI67tOaYgfyW4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3ed961f5eeaf05845dfc22427c102e12870f8046",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099692/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T16:14:36.387929Z"
}