List and retrieve diffs with detailed revision information

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

{
    "id": 1035425,
    "revision": {
        "id": 474403,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "18ff5bc77b84ceb8b4b98c73f1ba287aec9a31a5",
        "head_changeset": "583b565cc917c889e3c4f01cd43299a223b57c06",
        "phabricator_id": 243726,
        "phabricator_phid": "PHID-DREV-jlcjnbiqajwd5t37a3dn",
        "title": "WIP: Bug 1948979 - Add support for renaming EWS folders",
        "bugzilla_id": 1948979,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474403/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474403/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D243726"
    },
    "phid": "PHID-DIFF-lq6euwsxvcbrdsz73fhg",
    "review_task_id": "LhTHJUlEQIyYdMaP_bc9qw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "83b8b986663b3583fe756b4cf02117ec6bdc6bed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035425/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:44:42.882119Z"
}