List and retrieve diffs with detailed revision information

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

{
    "id": 1039284,
    "revision": {
        "id": 475726,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4888c6dd04636d0a40e54a417917653ee4e32399",
        "head_changeset": "11a3e9acfa0bada21a2b711d55f8d2f09f047a8d",
        "phabricator_id": 250290,
        "phabricator_phid": "PHID-DREV-wfmut7euq6biluaqn2hz",
        "title": "WIP: Bug 1953415 - [devtools] Remove CM5 code related to the Gutter Breakpoints",
        "bugzilla_id": 1953415,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475726/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475726/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250290"
    },
    "phid": "PHID-DIFF-lzonzm3ijhdlagkemvrt",
    "review_task_id": "ZXvrcxa3Rump5dFMohA9TQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bcccb155bedcba93eeae1c08c5ed7bfbedf215cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039284/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T23:52:00.491280Z"
}