List and retrieve diffs with detailed revision information

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

{
    "id": 1103956,
    "revision": {
        "id": 508279,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "52fde1dc25c28000f5be7c72e68e1c8d11c82598",
        "head_changeset": "e73fc61589728dd8563c7da6d31fcf875bd85b08",
        "phabricator_id": 260300,
        "phabricator_phid": "PHID-DREV-yfx5eu3g7pcg7kbno3zl",
        "title": "Bug 1971409 - [Tab Management Phase 1] Update the appearance of the Synced Tabs page",
        "bugzilla_id": 1971409,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508279/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508279/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260300"
    },
    "phid": "PHID-DIFF-dcm5gmi72kjtkw4neplf",
    "review_task_id": "YlHKZBqDQT2OamINOVYkTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0d1af38ffe975d5cb10a32440b877654bc1ace32",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103956/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-11T10:00:24.780739Z"
}