List and retrieve diffs with detailed revision information

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

{
    "id": 1107813,
    "revision": {
        "id": 513790,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4232653c32d9cd0a21431a706d5dd3fefb5852c2",
        "head_changeset": "094c0531b5d7eaddcde6e34368663c9973468660",
        "phabricator_id": 261251,
        "phabricator_phid": "PHID-DREV-57hym5phb5mokockg5eq",
        "title": "Bug 1982383 - RangeAnalysis: Set canBeNegativeZero_ to be conservative.",
        "bugzilla_id": 1982383,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/513790/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/513790/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261251"
    },
    "phid": "PHID-DIFF-wz5trqxf6tpz447popik",
    "review_task_id": "A2GQgKwBSRGNiIbX5Qfm3g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6bf0777b809e985a1fbaf79436d37af429f609fb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107813/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T14:39:24.540191Z"
}