List and retrieve diffs with detailed revision information

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

{
    "id": 1104887,
    "revision": {
        "id": 511488,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4408830acf260c1b734e96270aea5dd806e3dd28",
        "head_changeset": "3185416fed918b04d36a694eb9a6e002b38b2e8f",
        "phabricator_id": 260855,
        "phabricator_phid": "PHID-DREV-i7afbexxxqqmopfnkaxz",
        "title": "Bug 1982662 - Use std::default_delete instead of mozilla::DefaultDelete r=glandium",
        "bugzilla_id": 1982662,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511488/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511488/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260855"
    },
    "phid": "PHID-DIFF-nepguaevp5mxfhlccnwg",
    "review_task_id": "B7AY-1LATRaTsXxVw9yX_w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3185416fed918b04d36a694eb9a6e002b38b2e8f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104887/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T17:30:05.243051Z"
}