List and retrieve diffs with detailed revision information

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

{
    "id": 1039579,
    "revision": {
        "id": 475513,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5d00445b02e013fd1df4fb36b4aa9280e1a777ac",
        "head_changeset": "2da3a792ef2188a7b70c58eafd7682702ffd356a",
        "phabricator_id": 249957,
        "phabricator_phid": "PHID-DREV-utblprpczkpejvxdfdmb",
        "title": "Bug 1881701 - Fix remainder of newly raised devtools issues after switching to the ESLint flat config. r?#devtools-reviewers!",
        "bugzilla_id": 1881701,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475513/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475513/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249957"
    },
    "phid": "PHID-DIFF-viw64gvk4kkzlijux6fz",
    "review_task_id": "ApjXpWb6SPe7OX9OHpZLOg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c36b34ba192778bf9764a8fe38a6919f451786a3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039579/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:43:46.280213Z"
}