List and retrieve diffs with detailed revision information

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

{
    "id": 1059372,
    "revision": {
        "id": 478023,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "afbb4b2c425af742d85c41aa58b1f6afb6f5bf59",
        "head_changeset": "ff144379c390409316eb843bd621a061f848365b",
        "phabricator_id": 253196,
        "phabricator_phid": "PHID-DREV-w2lw4z432hjdwqwm6zez",
        "title": "Bug 1966863 - allowing remote-settings clients to download attachments without caching them",
        "bugzilla_id": 1966863,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478023/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478023/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253196"
    },
    "phid": "PHID-DIFF-6whwz5weegozmndlfq7r",
    "review_task_id": "cOc8u74-SoaWqVZh92Rdnw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36936dba8abe3b0c93c97e91e3b508b95197c3e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059372/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:18:42.154193Z"
}