List and retrieve diffs with detailed revision information

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

{
    "id": 1102563,
    "revision": {
        "id": 508316,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "8b62b4a3d7296002cde542b84749a5fc6368c528",
        "phabricator_id": 260319,
        "phabricator_phid": "PHID-DREV-kot5gptnpa7doemn3xxl",
        "title": "Bug 1975500 - support adding notices to the page nav r=#recomp-reviewers",
        "bugzilla_id": 1975500,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508316/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508316/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260319"
    },
    "phid": "PHID-DIFF-a7r6kfpuniaxgdiazqiv",
    "review_task_id": "RB8CZn75QgirQqHAAnqBMQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8b62b4a3d7296002cde542b84749a5fc6368c528",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102563/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T15:19:47.489729Z"
}