List and retrieve diffs with detailed revision information

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

{
    "id": 1106413,
    "revision": {
        "id": 508284,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cca3e1c9a2e76284c7f74b7e26a937c147ed3c3d",
        "head_changeset": "a5c087145e89a696b9d922bb90223abc3b685bbc",
        "phabricator_id": 260304,
        "phabricator_phid": "PHID-DREV-q4vowb3og3wn2ams2sg4",
        "title": "WIP: Bug 1963720 - Part 3: Add the required telemetry calls for the Terms of Use prompt",
        "bugzilla_id": 1963720,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508284/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508284/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260304"
    },
    "phid": "PHID-DIFF-ks5fnxq4grdhzavc2px7",
    "review_task_id": "LgopSv2nQOGUkOGYmiCI8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "583534ea068a60fc68eebecb2cbd3db93de37a1e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1106413/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-15T09:36:59.677871Z"
}