List and retrieve diffs with detailed revision information

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

{
    "id": 1072204,
    "revision": {
        "id": 485184,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83a3f034bb049b3145b9b659cbb30b54d838357e",
        "head_changeset": "4c1be8ca612950c866fa2e79c1ae5a479b9b1c9c",
        "phabricator_id": 254958,
        "phabricator_phid": "PHID-DREV-243epaiznpavpshb5wmi",
        "title": "WIP: Bug 1973900 - Remove support for the codebase attribute from <object>",
        "bugzilla_id": 1973900,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485184/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485184/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254958"
    },
    "phid": "PHID-DIFF-qxq5k4uam4edjby6x6y7",
    "review_task_id": "NpmTPVcRRueakj7Wz3RCwA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4c1be8ca612950c866fa2e79c1ae5a479b9b1c9c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1072204/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-25T12:58:10.589851Z"
}