List and retrieve diffs with detailed revision information

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

{
    "id": 1059393,
    "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-ay6ju4a6fcm4fdadcsbl",
    "review_task_id": "L_QuOl4vSF2mo2ncaRi7zw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "af7be03ec589b8999ed26c1cc6a382238dcf6923",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059393/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:55:57.731943Z"
}