List and retrieve diffs with detailed revision information

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

{
    "id": 1056076,
    "revision": {
        "id": 477651,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cea1f4a1355721d69d42d3d33d5c80b85ca90452",
        "head_changeset": "ed62160f63dbeacd46516bc4e8b9e2887c2bce61",
        "phabricator_id": 252768,
        "phabricator_phid": "PHID-DREV-desvxtefcd56iieypii4",
        "title": "WIP: Bug 1968291 - Updating the distribution content provider checker to be more in line with what adjust would expect",
        "bugzilla_id": 1968291,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477651/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477651/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252768"
    },
    "phid": "PHID-DIFF-msztqby6vkfsm55wvbso",
    "review_task_id": "b0nYCPLPQK-qeb3g-hzJcA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a6a3215f1a2fb7879ad95e1f1c8b6a33da0a99ad",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056076/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:09:57.907151Z"
}