List and retrieve diffs with detailed revision information

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

{
    "id": 1056398,
    "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-n5pkaxefcnvcek2hmbjz",
    "review_task_id": "aZXWgj3_Rdy5WSpn7nyfsg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "43b88bdfebce707278b7cd983584c131c288d29c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056398/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T02:00:37.722759Z"
}