List and retrieve diffs with detailed revision information

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

{
    "id": 1111957,
    "revision": {
        "id": 521067,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ce47d913983c57a7b48d8a0f08e431b5dd7ab732",
        "head_changeset": "14595b63dc6f007958042b7b7dcd252f84d71666",
        "phabricator_id": 262578,
        "phabricator_phid": "PHID-DREV-aojzz5mvfighjhw7wnxt",
        "title": "Bug 1985277 - update cloudfile to use moz-src. r=#thunderbird-reviewers",
        "bugzilla_id": 1985277,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521067/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521067/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262578"
    },
    "phid": "PHID-DIFF-ffa6cfhyxognkeznivki",
    "review_task_id": "ODXqsUMWSvSAjx7sqTXrgA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "14595b63dc6f007958042b7b7dcd252f84d71666",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111957/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T14:00:00.937746Z"
}