List and retrieve diffs with detailed revision information

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

{
    "id": 1111696,
    "revision": {
        "id": 518052,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d3e317f7dcfbf7200c97bfc572135a7bf5927ebd",
        "head_changeset": "bf1af7e42f1b1eea5683a9921380fa169ca86143",
        "phabricator_id": 262130,
        "phabricator_phid": "PHID-DREV-w3iegqw6y3mkrxulredq",
        "title": "Bug 1984560 - Ensure /run/user/1000 exists and is owned for snapcraft execution r?glandium!",
        "bugzilla_id": 1984560,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518052/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518052/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262130"
    },
    "phid": "PHID-DIFF-hbwx4qwb4ehly3ei7fqb",
    "review_task_id": "axq5U7y2SLGtZaymr6hMKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "404e117c5502accbae29d33625d7ba0405aa0b86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111696/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T07:40:48.320748Z"
}