List and retrieve diffs with detailed revision information

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

{
    "id": 1076561,
    "revision": {
        "id": 489404,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f9cf1bee8ef03146f85982ecaadbaf1545302190",
        "head_changeset": "51a86a99f844f4e9357c47e64edca157f64c3c07",
        "phabricator_id": 255779,
        "phabricator_phid": "PHID-DREV-d7zak6kgtkgtcwmiannx",
        "title": "WIP: Bug 1975165 - Move arena_chunk_t::IsEmpty to Chunk.cpp",
        "bugzilla_id": 1975165,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489404/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489404/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255779"
    },
    "phid": "PHID-DIFF-trtoih24b3nilgornl4h",
    "review_task_id": "UnC_L7J2T3WDeaqcjC1cvQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "51a86a99f844f4e9357c47e64edca157f64c3c07",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076561/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T11:00:26.683283Z"
}