List and retrieve diffs with detailed revision information

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

{
    "id": 1049235,
    "revision": {
        "id": 476767,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62ce37954df4cca89a9f2dc177a700bb8890462d",
        "head_changeset": "e9ff53e1ab65efb60e024ff43ead724f0a5e148d",
        "phabricator_id": 251720,
        "phabricator_phid": "PHID-DREV-pd7bws3omgojsph4ykiq",
        "title": "Bug 1969270 - Part 1: Fix MIsNullOrUndefined::foldsTo. r=jandem!",
        "bugzilla_id": 1969270,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476767/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476767/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251720"
    },
    "phid": "PHID-DIFF-gj2wh35faao53mpq5xvs",
    "review_task_id": "H7Im7WxLRDWXJQlAHiR2Jg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9ff53e1ab65efb60e024ff43ead724f0a5e148d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049235/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T14:39:49.755036Z"
}