List and retrieve diffs with detailed revision information

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

{
    "id": 1105967,
    "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-7yc7hg2gsneolckjhyf4",
    "review_task_id": "Ja4aAPIeSqCCOysLnaGF1A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "caadb8022d34a662f4231e9599d43a18733788a1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105967/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T13:06:03.887302Z"
}