List and retrieve diffs with detailed revision information

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

{
    "id": 1111204,
    "revision": {
        "id": 520272,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "60425261a5f7cef879ec5cba7ffb083032c81d89",
        "phabricator_id": 262423,
        "phabricator_phid": "PHID-DREV-ox7xbigpjnncleajmkye",
        "title": "WIP: Bug 1981544 - Part 1: disabling private browsing screenshots automatically when enabling private browsing screen lock",
        "bugzilla_id": 1981544,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520272/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520272/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262423"
    },
    "phid": "PHID-DIFF-p6zxbdswu3obcezuydza",
    "review_task_id": "f-us8IH-SrWAbi-NLVUKmA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "60425261a5f7cef879ec5cba7ffb083032c81d89",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111204/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T17:49:40.724351Z"
}