List and retrieve diffs with detailed revision information

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

{
    "id": 1111921,
    "revision": {
        "id": 513225,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7d880ff29269122bc521b3f69a643a3b7158a8eb",
        "head_changeset": "e292cf64edaf86b05641310b7dc6f20c7f3dc779",
        "phabricator_id": 261131,
        "phabricator_phid": "PHID-DREV-c52jtxmczvjahguiif7q",
        "title": "Bug 1874365 - [wdspec] Update download_will_begin test to use different filenames",
        "bugzilla_id": 1874365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513225/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513225/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261131"
    },
    "phid": "PHID-DIFF-73ch6mlrxpig4vvfuleu",
    "review_task_id": "TZLVE4pqQMSwYvV-rVK1DA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1a2b829b1a794b2a775680473f4515a365f186ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111921/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T13:31:45.352836Z"
}