List and retrieve diffs with detailed revision information

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

{
    "id": 1058710,
    "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-3gd4okn5qjzmyitcgbj4",
    "review_task_id": "FXqTQoddSIWhDgk2f0nBLQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db1ff9a0b1c834b9db2d021293113cc7388d44b3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058710/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T20:42:31.627746Z"
}