List and retrieve diffs with detailed revision information

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

{
    "id": 1113061,
    "revision": {
        "id": 521323,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "720051accfe47126ef3d1e2d84e55ac06fb41676",
        "phabricator_id": 262624,
        "phabricator_phid": "PHID-DREV-fshb6zbos3i6uanuhrqe",
        "title": "Bug 1985047 - [Unified Trust Panel] Update the UI to show a reduced version when accessing local PDF to match the previous settings.",
        "bugzilla_id": 1985047,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521323/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521323/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262624"
    },
    "phid": "PHID-DIFF-jxyf3qeuxjsorvvwtuoi",
    "review_task_id": "BFVvN9A-RX64AWWEyEUhNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "57054ad45d6d1cb9fecca77643605dce95cd95a8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113061/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T19:25:12.342313Z"
}