List and retrieve diffs with detailed revision information

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

{
    "id": 1076598,
    "revision": {
        "id": 489451,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "521bed59b59096baa6d6770c2f57b753590dd888",
        "head_changeset": "1c66fb3a76e2afe2e084354efee6226c1bdf6808",
        "phabricator_id": 255788,
        "phabricator_phid": "PHID-DREV-kdqd4zmt5zuo3twxyxwt",
        "title": "Bug 1974995 - Part 1: Add the basic layout UI for the ToU toolbar banner.",
        "bugzilla_id": 1974995,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489451/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489451/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255788"
    },
    "phid": "PHID-DIFF-czpua3s7jatio5lsmx27",
    "review_task_id": "DNqrdqO0RhW77wISH6mm-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c66fb3a76e2afe2e084354efee6226c1bdf6808",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076598/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T12:50:58.936714Z"
}