List and retrieve diffs with detailed revision information

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

{
    "id": 1112813,
    "revision": {
        "id": 514486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c37785597e55a69b91f39cf58f2ddf813986156",
        "head_changeset": "06d79da67bebc06d27c2d960b26ec14e8ead2931",
        "phabricator_id": 261401,
        "phabricator_phid": "PHID-DREV-rgjh7ff535c3q244ir4c",
        "title": "Bug 1979115 - autofix border-radius linting errors r=#recomp-reviewers",
        "bugzilla_id": 1979115,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/514486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/514486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261401"
    },
    "phid": "PHID-DIFF-l3y7qnknzlusubvjubk4",
    "review_task_id": "FxPkEVIeSPm9K47gZlaBvw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ec3c9de20f5e0a80a1714fb54f0b6f4ba545ee2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112813/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T14:01:54.600893Z"
}