List and retrieve diffs with detailed revision information

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

{
    "id": 1058281,
    "revision": {
        "id": 477206,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4c9f6f0ebc07b599a96a031c32139681e7c9390e",
        "head_changeset": "85c497ee337c6019d0c6bf2ae8bdc1bf4d392a27",
        "phabricator_id": 252287,
        "phabricator_phid": "PHID-DREV-i4dnldii4zrrmfg2moi4",
        "title": "WIP: Bug 1970018 - Bypass keyword caching in Message::SetStringProperty().",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477206/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477206/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252287"
    },
    "phid": "PHID-DIFF-rw3e2todus7ydfuanbh5",
    "review_task_id": "T8byB_asSWCw70o1v9Fq2A",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "bd7caa4b7bd8d578e769fab3d64869b50ec32567",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058281/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T11:53:32.150136Z"
}