List and retrieve diffs with detailed revision information

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

{
    "id": 1101615,
    "revision": {
        "id": 507336,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "52fde1dc25c28000f5be7c72e68e1c8d11c82598",
        "head_changeset": "f278619059aa31f60540b8b8cf17995b45faef7d",
        "phabricator_id": 260104,
        "phabricator_phid": "PHID-DREV-haeideatnfrlwbuuftul",
        "title": "Bug 1981327 - part 2 - Also switch off expanded toolbar layout when toolbar redesign is disabled r=#android-reviewers",
        "bugzilla_id": 1981327,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507336/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507336/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260104"
    },
    "phid": "PHID-DIFF-hnwqub45nnbk4h5rmhhe",
    "review_task_id": "fko7tOfeSXOM53TTS6_uRw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f278619059aa31f60540b8b8cf17995b45faef7d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1101615/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-06T09:19:37.882457Z"
}