List and retrieve diffs with detailed revision information

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

{
    "id": 1099695,
    "revision": {
        "id": 488003,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "257e0c97a2afa91c2c730712d3e85954324eb9c7",
        "head_changeset": "ea0fa11cf9440f3b9c290142bd6e6d3e7a9896ec",
        "phabricator_id": 255439,
        "phabricator_phid": "PHID-DREV-gqposolflegexv2oibln",
        "title": "Bug 1971502 - Part 2: Add LNA permissions to site settings & website permissions in Fenix",
        "bugzilla_id": 1971502,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488003/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488003/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255439"
    },
    "phid": "PHID-DIFF-ggrepammcfvlzjlxcqo7",
    "review_task_id": "Nf9W1RJkRNeRpNzCzg6KhQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8f8cfebb98c0521ed730f013b275944e665fb64b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099695/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T16:18:11.761551Z"
}