List and retrieve diffs with detailed revision information

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

{
    "id": 1087908,
    "revision": {
        "id": 496892,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "87dee2be361fa5d4ddb92c3f31412f3484b4e763",
        "head_changeset": "5e7b7d30ea89382b0d2af32e3eeaa98db981d2b5",
        "phabricator_id": 257672,
        "phabricator_phid": "PHID-DREV-svr7ju4jekbw4je4oozn",
        "title": "Bug 1977005 - Remove now unneeded tabindex=\"-1\" from pinned-tabs-container. r=sclements",
        "bugzilla_id": 1977005,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496892/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496892/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257672"
    },
    "phid": "PHID-DIFF-e3oca2oxdjc2bx5vketm",
    "review_task_id": "BWdY7kbPShefcrzroLokww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5e7b7d30ea89382b0d2af32e3eeaa98db981d2b5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087908/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T10:48:49.341342Z"
}