List and retrieve diffs with detailed revision information

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

{
    "id": 1103594,
    "revision": {
        "id": 508532,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cca3e1c9a2e76284c7f74b7e26a937c147ed3c3d",
        "head_changeset": "a881869a97aec6f33f9666f75aa30605ffd64eaa",
        "phabricator_id": 260377,
        "phabricator_phid": "PHID-DREV-l7icox4p6my2hahayvb2",
        "title": "WIP: Bug 1981147 - Updating when the terms of use bottom sheet trigger behavior",
        "bugzilla_id": 1981147,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508532/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508532/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260377"
    },
    "phid": "PHID-DIFF-5tt2knqrepnttpn7vpoh",
    "review_task_id": "H8nEeG-aS5iez7f6phmm9w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "068d0420bc50ad34e86e120aa77424526c8206e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103594/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T21:58:49.900806Z"
}