List and retrieve diffs with detailed revision information

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

{
    "id": 1059568,
    "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-yjw4mqlh5oeidiiq4six",
    "review_task_id": "EionzbRzQ72BuIOb9t4j9Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4f6b4e5bb6ad9ceff01a3402d31a1e3f362f73e0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059568/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T18:44:49.642108Z"
}