List and retrieve diffs with detailed revision information

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

{
    "id": 1074793,
    "revision": {
        "id": 487664,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "53aadfd4338b3d2010e70395ca9608d593b3c911",
        "head_changeset": "9d40083114ea27d1f9ee937da81246f93f44c69f",
        "phabricator_id": 255414,
        "phabricator_phid": "PHID-DREV-qhk4otqz4rbk2wxdaa4j",
        "title": "Bug 1974578 - Add oncommand global handler r?#dom-core",
        "bugzilla_id": 1974578,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487664/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487664/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255414"
    },
    "phid": "PHID-DIFF-etlsaxdywosxrius3ijt",
    "review_task_id": "dYePlvwoTN-pSuYAS66jvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e0d451d7b846ba3b58c5b55fd2a4e3007708b1a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074793/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-28T17:24:04.516869Z"
}