List and retrieve diffs with detailed revision information

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

{
    "id": 1108852,
    "revision": {
        "id": 508184,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "5e4ca2641de228bcccf3de7a2f9b56563b50e839",
        "phabricator_id": 260257,
        "phabricator_phid": "PHID-DREV-7tzh3myh7h2uvpl4ubpl",
        "title": "WIP: Bug 1981499 - Raise minSdkVersion to 26",
        "bugzilla_id": 1981499,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508184/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508184/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260257"
    },
    "phid": "PHID-DIFF-4ldftmgesd6pxjbhp32l",
    "review_task_id": "NRvdUuLLS5qKoLoF-QSnhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "babc281b4b1b07856ac7409a0c44d46f46a5cade",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108852/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T17:37:07.713476Z"
}