List and retrieve diffs with detailed revision information

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

{
    "id": 1080381,
    "revision": {
        "id": 492874,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e64a1b165926e1f3cd61467404cab37d1e9496f",
        "head_changeset": "1d4da03cee61aa8360c71ceb75f00f0515408c02",
        "phabricator_id": 255716,
        "phabricator_phid": "PHID-DREV-q4j7dlli74ozpoibs5dk",
        "title": "Bug 1974483 - Part 4 Adding the UI to the terms of service bottom sheet",
        "bugzilla_id": 1974483,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492874/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492874/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255716"
    },
    "phid": "PHID-DIFF-az5h3qtsqu4kvtjfrwh4",
    "review_task_id": "Gg0VS0_tQIyFqlZ50Wnv8g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d4da03cee61aa8360c71ceb75f00f0515408c02",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080381/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T19:28:49.642366Z"
}