List and retrieve diffs with detailed revision information

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

{
    "id": 1078510,
    "revision": {
        "id": 491308,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "65212684745ed9e010bb0c2a320f3e47de3a4512",
        "head_changeset": "af529558051d4e7a12262a9413b482416de765a3",
        "phabricator_id": 256202,
        "phabricator_phid": "PHID-DREV-cucecjolevvbywsyph6x",
        "title": "Bug 1975890 - Update Gradle to version 8.14.3. r=#android-reviewers",
        "bugzilla_id": 1975890,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491308/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491308/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256202"
    },
    "phid": "PHID-DIFF-szwwmwrpqr6zkkmrzvij",
    "review_task_id": "AZxkOiUPTPeoNjgJh4cJFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "af529558051d4e7a12262a9413b482416de765a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078510/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-06T22:28:43.023598Z"
}