List and retrieve diffs with detailed revision information

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

{
    "id": 1066663,
    "revision": {
        "id": 483287,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4fa2b52f8d1a2e9254ba86829ce8dd2e460b485d",
        "head_changeset": "1b01276603cc4f0de7eab26cdaaaed098f745a18",
        "phabricator_id": 254509,
        "phabricator_phid": "PHID-DREV-jnb2foogfkts4qwugefl",
        "title": "Bug 1973036 - [devtools] Stop reading the responseStatus dynamically from the channel to fetch cache details",
        "bugzilla_id": 1973036,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483287/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483287/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254509"
    },
    "phid": "PHID-DIFF-m5quthcaz2s6fz4prlcl",
    "review_task_id": "HQEZjF28RPyf8XDnZUNhaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1b01276603cc4f0de7eab26cdaaaed098f745a18",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066663/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T14:24:35.654193Z"
}