List and retrieve diffs with detailed revision information

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

{
    "id": 1104003,
    "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-tq3seq7ftnxzxjksbpr3",
    "review_task_id": "AcQ9ZBc7QRKMtGtH2ZQQMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "aefc2a158424fe50d18871bb2c9c9fc9d61fce99",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104003/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T12:12:06.443027Z"
}