List and retrieve diffs with detailed revision information

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

{
    "id": 1086518,
    "revision": {
        "id": 494306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83a894c1748d16dc66332b7849e143ad0386bcc0",
        "head_changeset": "7a6d0fcdf39287526dd02a85b702cf3dd9ae922c",
        "phabricator_id": 257060,
        "phabricator_phid": "PHID-DREV-v2xngvlxradnsjxmjxeb",
        "title": "Bug 1974315 - Part 2: Added comments to feature flag preference delegates so that their usage is clearer.",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257060"
    },
    "phid": "PHID-DIFF-xpqrjtxjknakwki2j4mo",
    "review_task_id": "LPiqPad3QHO3N33cpAoXsQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "05f8b998e646bf2d57e4adca1836b99611f48f4d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086518/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T20:10:01.143529Z"
}