List and retrieve diffs with detailed revision information

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

{
    "id": 1059574,
    "revision": {
        "id": 479968,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "479bbb7fa953ab4fafe9f7cc3b52866356f49e8c",
        "head_changeset": "ce6ed19805781753f5b196610c85910225cf786c",
        "phabricator_id": 253867,
        "phabricator_phid": "PHID-DREV-fxncjamhiluxg2vwumm2",
        "title": "Bug 1972410 - Change uint64_t to uint32_t to not lose precision when working with RFP targets in JS. r?tjr",
        "bugzilla_id": 1972410,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479968/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479968/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253867"
    },
    "phid": "PHID-DIFF-qlhqu7m2wnmoi5b55ksr",
    "review_task_id": "GpqwfqY_QbaVfpvOEDwoOg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ce6ed19805781753f5b196610c85910225cf786c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059574/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T19:08:14.463630Z"
}