List and retrieve diffs with detailed revision information

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

{
    "id": 1057470,
    "revision": {
        "id": 477658,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f1aa8c54040bec072d65fdf95379df132204410c",
        "head_changeset": "200b7314bf4b0ff4dc858c590fa6916cbe70f64e",
        "phabricator_id": 252779,
        "phabricator_phid": "PHID-DREV-plbhpvrfll6xrgb4sdlo",
        "title": "Bug 1967878 - part 1: Clean up `PointerInfo` r=edgar!,#dom-core",
        "bugzilla_id": 1967878,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477658/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477658/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252779"
    },
    "phid": "PHID-DIFF-qu4zi7yg5mfe2p3tk3st",
    "review_task_id": "a7gx7YH-TPiokJqcfDP9wA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "40bdb1122957314317423bf5b9f46e1e5ba6ed51",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057470/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T11:04:25.297719Z"
}