List and retrieve diffs with detailed revision information

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

{
    "id": 1095569,
    "revision": {
        "id": 476930,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8043649be5bdf35ccae4e94e60757357ef3233b3",
        "head_changeset": "81da6fb3e5bed2765cf840f16cc007a7224e1c23",
        "phabricator_id": 251926,
        "phabricator_phid": "PHID-DREV-x4yxlr7obihvm3buv3xe",
        "title": "Bug 1963901: Added  (1) ProfilerService for tabs tray notification (2) StopProfilerActivity for the Service to edit the UI from the tray and added a style for it  (3) Profiler icon svg r=kaya",
        "bugzilla_id": 1963901,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476930/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476930/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251926"
    },
    "phid": "PHID-DIFF-mv3eobt2doyunnopbnek",
    "review_task_id": "YwGElvZ0Q_KtpTWQ6BVoEw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "145dfba2aac66d585af9f0a29e45408002825cdf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1095569/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T21:34:01.688643Z"
}