List and retrieve diffs with detailed revision information

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

{
    "id": 1077705,
    "revision": {
        "id": 477163,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "82d4d13390867d3a0fff165e645da46d9d0c1838",
        "head_changeset": "7320aec0ac9264de6ddcda49ff093e0871c8a531",
        "phabricator_id": 252232,
        "phabricator_phid": "PHID-DREV-lgdvoiywuwuf7tiqbpgb",
        "title": "WIP: Bug 1969980 - part 1 - remove password saved and username updated snackbars",
        "bugzilla_id": 1969980,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477163/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477163/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252232"
    },
    "phid": "PHID-DIFF-dfiya7usaskmyq4jsjou",
    "review_task_id": "Z0QX8du4Te69mvyXG0zGnQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45b10aa58ea3e01da60ec6050fec5ddcea77dbba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077705/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T21:20:29.101884Z"
}