List and retrieve diffs with detailed revision information

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

{
    "id": 1051068,
    "revision": {
        "id": 476086,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "789198a042fcfe8cff755b1da0e9d3bed635093f",
        "head_changeset": "9461c6f3cbe680085ef749fddcb197d02fc7677c",
        "phabricator_id": 250799,
        "phabricator_phid": "PHID-DREV-ktndaxhe2pqf73wqlwrs",
        "title": "WIP: Bug 1953740 - part 2 - Extract functionality of configuring search suggestions providers",
        "bugzilla_id": 1953740,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476086/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476086/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250799"
    },
    "phid": "PHID-DIFF-lqscidoeg5b7stuvqffi",
    "review_task_id": "VtOpqgeBSbKLq2kQPzgLww",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "443742188f4b9f7cf33d8e67c9ebbe153bbfaffe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051068/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T15:37:17.937416Z"
}