List and retrieve diffs with detailed revision information

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

{
    "id": 1110128,
    "revision": {
        "id": 517995,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "45bf2e916b52765b4799adc88bb5062a0abe5928",
        "head_changeset": "ced01b59ee39e8f01ead31050789488fe37463e9",
        "phabricator_id": 262113,
        "phabricator_phid": "PHID-DREV-t5oopkfdsnijfau254gh",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/517995/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/517995/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262113"
    },
    "phid": "PHID-DIFF-rppfe4553wo4xm4ggeix",
    "review_task_id": "K1iuOEv9TCes9fpdWaGelw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ced01b59ee39e8f01ead31050789488fe37463e9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-22T10:53:44.542772Z"
}