List and retrieve diffs with detailed revision information

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

{
    "id": 1088037,
    "revision": {
        "id": 496864,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a9d3edafe1c8125fe36e3dbd64d3e015a783f274",
        "head_changeset": "ed6b2e4f689e42ebcecdb9982a0bdfb91e01cf16",
        "phabricator_id": 257666,
        "phabricator_phid": "PHID-DREV-fasyrjjxavqu2fjurf3z",
        "title": "Bug 1977786 - [devtools] Stop describing pretty printed sources as being source mapped. r=#devtools",
        "bugzilla_id": 1977786,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496864/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496864/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257666"
    },
    "phid": "PHID-DIFF-3okbfb7wydmpv75745hu",
    "review_task_id": "dDj8IeklRHqOtfonYESceQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "157e65a2cb4cb27b793a8b98788a45c5331e014e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088037/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T13:11:04.879419Z"
}