List and retrieve diffs with detailed revision information

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

{
    "id": 1075780,
    "revision": {
        "id": 488873,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "acd7494bea1b413e7f57efda5309a26cca70b9cc",
        "head_changeset": "9d9c226a2c57de9a5bc54672f5477cd702617ad8",
        "phabricator_id": 255611,
        "phabricator_phid": "PHID-DREV-p3lcaqac3qlikr2rksqg",
        "title": "Bug 1974827 - Handle the abandoned dependency modules properly. r?nbp!",
        "bugzilla_id": 1974827,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488873/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488873/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255611"
    },
    "phid": "PHID-DIFF-ainikqvhv6mvqyupmgf2",
    "review_task_id": "B2fksqe1TmGw77edIJwJJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9d9c226a2c57de9a5bc54672f5477cd702617ad8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075780/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T06:58:25.039643Z"
}