List and retrieve diffs with detailed revision information

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

{
    "id": 1066922,
    "revision": {
        "id": 483521,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c2c0b5559b134465deab2d6d7e4f2e2f86d20e0f",
        "head_changeset": "1683ad185a82516f7da39e4c0f25245a7b20ab58",
        "phabricator_id": 254587,
        "phabricator_phid": "PHID-DREV-sb4nf6kfshp6rgevkwok",
        "title": "Bug 1972159 - Part 14: Remove RecentBookmarksViewHolderTest",
        "bugzilla_id": 1972159,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483521/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483521/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254587"
    },
    "phid": "PHID-DIFF-ojt7upuxiofpggqex24b",
    "review_task_id": "G483gHuPSbShyVtHovi24A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1683ad185a82516f7da39e4c0f25245a7b20ab58",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066922/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-21T02:47:03.434880Z"
}