List and retrieve diffs with detailed revision information

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

{
    "id": 1054971,
    "revision": {
        "id": 477849,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed8d6eab9b7653dad72f571d1fd1fc084a087a33",
        "head_changeset": "e658f1b7e47e95b3d247704eecb62ba1baae8e36",
        "phabricator_id": 253002,
        "phabricator_phid": "PHID-DREV-qgquzewkply64dwuy62y",
        "title": "Bug 1971085 - Automate generation of android system headers r=ahochheiden",
        "bugzilla_id": 1971085,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477849/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477849/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253002"
    },
    "phid": "PHID-DIFF-vsl4b5xapjmvnlid4efo",
    "review_task_id": "OA4o1DWQQRGFTk68sgwL1Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45d60b02eb305d9920c8ea31a8dc48d6918a0dde",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054971/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T11:05:42.046618Z"
}