List and retrieve diffs with detailed revision information

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

{
    "id": 1071270,
    "revision": {
        "id": 481945,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0a0fdf753fd6369dbc7c72b7d34b2a94b5438acd",
        "head_changeset": "a666d3c9f91e655599e6b2c3a4d796e369a82e07",
        "phabricator_id": 254309,
        "phabricator_phid": "PHID-DREV-bivf7x372rzzq2f4ueot",
        "title": "WIP: Bug 1970687 - Suspend all but DevTools EventTarget/TaskManager when pausing from the browser toolbox.",
        "bugzilla_id": 1970687,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481945/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481945/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254309"
    },
    "phid": "PHID-DIFF-peqbjdrbtszf5hspb5xo",
    "review_task_id": "D69_b57WTNuE4wWL9VAyjQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fdd5bd5fb302358a19fe2c42cc9b75bc921c5ff3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1071270/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-24T10:38:22.575322Z"
}