List and retrieve diffs with detailed revision information

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

{
    "id": 1110727,
    "revision": {
        "id": 519446,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6a6ff28c88f1730bd60a0d8a4427591501841f03",
        "head_changeset": "c7b0d966188b944bcb573f2b61184ebefc7c1bd8",
        "phabricator_id": 262262,
        "phabricator_phid": "PHID-DREV-6l64zz4b2ludq4b4mhok",
        "title": "Bug 1984915 - Add const to various source surface parameters where the methods treat the source surface as read-only r=emilio",
        "bugzilla_id": 1984915,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519446/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519446/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262262"
    },
    "phid": "PHID-DIFF-dtsryvddrs5qborjww7y",
    "review_task_id": "RPHg6ih3TSGYmGHv4CUt5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c7b0d966188b944bcb573f2b61184ebefc7c1bd8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110727/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-24T16:52:00.869104Z"
}