List and retrieve diffs with detailed revision information

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

{
    "id": 1064700,
    "revision": {
        "id": 399179,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "dc5a28b24f94d8fdb17a970843c2c6b88a012d66",
        "head_changeset": "062003219fb9eda1f05ed61876031f55f73e4316",
        "phabricator_id": 229271,
        "phabricator_phid": "PHID-DREV-oxa5gu7q7pqytiw7ggdk",
        "title": "Bug 1926449: Various copy optimizations for MediaEventSource. r?pehrsons",
        "bugzilla_id": 1926449,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/399179/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/399179/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229271"
    },
    "phid": "PHID-DIFF-vj72ckjs5rlubslg6nmm",
    "review_task_id": "Rf4JCefsTHW2DtOiebDa4g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e34f1b2a7d146486a3f48ac032b312539909289f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T02:29:57.569263Z"
}