List and retrieve diffs with detailed revision information

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

{
    "id": 1050001,
    "revision": {
        "id": 473943,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b0ed789c871bc86c02fbc22b769a81d6497297de",
        "head_changeset": "31ff98e2facb70cd07c309c3b250fcb92204dab3",
        "phabricator_id": 247431,
        "phabricator_phid": "PHID-DREV-l4oon4vzsfjpdahvpbrw",
        "title": "Bug 1963723 - support context-fill and context-stroke with text r=jfkthame",
        "bugzilla_id": 1963723,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473943/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473943/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247431"
    },
    "phid": "PHID-DIFF-xtudy6smkrbxoi2vst6k",
    "review_task_id": "RA2br3JhQQO9bpCUK0A4rg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "adfcd63c690d5321758727134495791f0e6bf2c1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050001/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T15:25:36.935923Z"
}