List and retrieve diffs with detailed revision information

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

{
    "id": 1114444,
    "revision": {
        "id": 416846,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a861e5955acebded52e664b0ca290e040fa933fb",
        "head_changeset": "2e08830a2fbf508a4bc5f5f1ed85e204d9db1124",
        "phabricator_id": 232231,
        "phabricator_phid": "PHID-DREV-va4tbpz44lri7loanwkr",
        "title": "Bug 1937566 - Add CustomElementRegistry constructor, and ShadowRoot customElements r?#dom-core",
        "bugzilla_id": 1937566,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/416846/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/416846/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D232231"
    },
    "phid": "PHID-DIFF-sru5kihibbpwfk7tbee3",
    "review_task_id": "czPyDdCbSWS6bVwrpxEVzw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f67d36fe31c1a2b4a4be6ad372f8d967c6326372",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114444/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T18:08:16.527772Z"
}