List and retrieve diffs with detailed revision information

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

{
    "id": 1059376,
    "revision": {
        "id": 478003,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "cf1389227da4d9eedec3aa74e6c3bb2e2f55e779",
        "phabricator_id": 253175,
        "phabricator_phid": "PHID-DREV-bumdyhqo42yi3nrc5auc",
        "title": "Bug 1971135: Use anchor resolution params in place of position property. r=#layout,#anchor-positioning-reviewers",
        "bugzilla_id": 1971135,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478003/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478003/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253175"
    },
    "phid": "PHID-DIFF-2z3gnbuc4pfq7e22pqbr",
    "review_task_id": "Xt2QK_zhQjWU20N8ZtjNtQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9e4211835ead1c2b5893e9a5eec8a89bf7f540ec",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:42:34.202962Z"
}