List and retrieve diffs with detailed revision information

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

{
    "id": 1050314,
    "revision": {
        "id": 387449,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "72484a5f50347c132c9a5d95d6e09a3858655e55",
        "phabricator_id": 227393,
        "phabricator_phid": "PHID-DREV-elmxnh3pox6muqtanedd",
        "title": "Bug 1885221, part 1 - IPDL serialization/deserialization of JS values. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/387449/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/387449/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D227393"
    },
    "phid": "PHID-DIFF-vtfbx4xo6f7bqbsmqn4s",
    "review_task_id": "GGPYxLQ3QpqofvG_pD262w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "59256fb6ca162705234fb6df9bf297d90b73bac9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050314/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T00:13:36.187940Z"
}