List and retrieve diffs with detailed revision information

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

{
    "id": 1078915,
    "revision": {
        "id": 486094,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e342ca3857f900c8346d2739038e1a244ca30166",
        "head_changeset": "964f978ca03060c5f85203eddc3a5766eaf41ea4",
        "phabricator_id": 254993,
        "phabricator_phid": "PHID-DREV-nzcjugzpqdj5ck5w66iv",
        "title": "WIP: Bug 1966542 - Get Settings and Preferences types workin r=mstriemer",
        "bugzilla_id": 1966542,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486094/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486094/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254993"
    },
    "phid": "PHID-DIFF-aipv44mpluvrb4cgc5g3",
    "review_task_id": "X28Qp9ESRcSQFtZ5ktZBxA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "895477cf094084fdd34afe265730c3dbae585f60",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078915/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T17:52:39.771153Z"
}