List and retrieve diffs with detailed revision information

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

{
    "id": 1110981,
    "revision": {
        "id": 519942,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "a11208289fd916be7fa6f4bb64bb82a762dcaa3c",
        "phabricator_id": 262370,
        "phabricator_phid": "PHID-DREV-3gruauqvgnpjxva4sgyw",
        "title": "Bug 1985001 - Test that usage-reporting is independent from other telemetry r?loines",
        "bugzilla_id": 1985001,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519942/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519942/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262370"
    },
    "phid": "PHID-DIFF-r7p47vvuutnorvnrflqx",
    "review_task_id": "GSfH90LWQW2kYj3hlFcNWA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a11208289fd916be7fa6f4bb64bb82a762dcaa3c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110981/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T13:17:55.798257Z"
}