List and retrieve diffs with detailed revision information

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

{
    "id": 1049238,
    "revision": {
        "id": 476771,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62ce37954df4cca89a9f2dc177a700bb8890462d",
        "head_changeset": "4dd9b1aeb563877e3f5edebdaa34511594e099ca",
        "phabricator_id": 251723,
        "phabricator_phid": "PHID-DREV-pyapf6lskxzwn2elcbew",
        "title": "Bug 1969270 - Part 3: Fold MSubstr when used to access the string suffix. r=jandem!",
        "bugzilla_id": 1969270,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476771/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476771/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251723"
    },
    "phid": "PHID-DIFF-wbyzkblb6pgb7553emqh",
    "review_task_id": "EWmriUxzT7Oj6bc-Ci_EWw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4dd9b1aeb563877e3f5edebdaa34511594e099ca",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049238/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T14:49:01.980664Z"
}