List and retrieve diffs with detailed revision information

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

{
    "id": 1067092,
    "revision": {
        "id": 477129,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "8a8af9636b43fd0108c9458d5643a459f4423a8b",
        "phabricator_id": 250452,
        "phabricator_phid": "PHID-DREV-zpcrohjhg43qm4hnkkre",
        "title": "Bug 1964599 - [devtools] Focus and update cursor position when selecting a precise JS source. r=#devtools",
        "bugzilla_id": 1964599,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477129/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477129/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250452"
    },
    "phid": "PHID-DIFF-yaldmlhwgaeeexhdrt5y",
    "review_task_id": "GYDJ9EeTRdKb_H1T_fIvIA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "57b350377581f67a4a53b8304f478a5af6589c86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067092/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T07:11:58.082441Z"
}