List and retrieve diffs with detailed revision information

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

{
    "id": 1070824,
    "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-xy7ikteo2tinrwu66f23",
    "review_task_id": "SJv-ZXUCRQqvhkGE9mEKJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6b426bd1f79314de2444aaed68126e5e28cc2211",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070824/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T17:14:13.702928Z"
}