List and retrieve diffs with detailed revision information

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

{
    "id": 1057339,
    "revision": {
        "id": 478103,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25fcd6dd9dd53e78986357433541f732cc57bdbd",
        "head_changeset": "0a304d515635e3b8c4b061f3a9aa087ba226dc83",
        "phabricator_id": 253299,
        "phabricator_phid": "PHID-DREV-foxtq6dpvz4gvfgogymt",
        "title": "Bug 1966763 - Bump `sphinx-js` to `4.0.0` in `docs.txt` for compatibility with `markupsafe` version `3.0.2` r?ahal",
        "bugzilla_id": 1966763,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478103/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478103/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253299"
    },
    "phid": "PHID-DIFF-7ihf74xh2qe4h2c4wsxa",
    "review_task_id": "ZyNZGkqKQE2lVbFOiWhQ1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7226bd9d1f9d2a9c5535c9a14c82ed8ba8756169",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057339/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T06:43:46.249789Z"
}