List and retrieve diffs with detailed revision information

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

{
    "id": 1065578,
    "revision": {
        "id": 481623,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e6f37a9a92a40774d2e15cf06063ccaefce47143",
        "head_changeset": "3809b6ebf222a1a363d39286dd63c7c4237ee1ed",
        "phabricator_id": 252909,
        "phabricator_phid": "PHID-DREV-pnf7mjcxfvh5rmbdzxd6",
        "title": "Bug 1731418 - Update wpt expectations",
        "bugzilla_id": 1731418,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481623/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481623/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252909"
    },
    "phid": "PHID-DIFF-4p74my4suhzlakojmzn4",
    "review_task_id": "UgNi9dzjSkmE8fTV3_eFdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61b70c2c72d4652d50da4109e8e8c44967df0c19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065578/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T21:44:11.126141Z"
}