List and retrieve diffs with detailed revision information

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

{
    "id": 1093171,
    "revision": {
        "id": 494007,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "78c4083d168f41a4ddc2d9d04421d67b66d85bec",
        "head_changeset": "07473288c7db91bbc628f2555dae3f20a00a6476",
        "phabricator_id": 256991,
        "phabricator_phid": "PHID-DREV-tkdy4mu2tl75zzvj2upl",
        "title": "Bug 1972411 - give gnome-shell and pipewire more time to start, and retry the task if we time out. r?jmaher,#releng",
        "bugzilla_id": 1972411,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494007/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494007/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256991"
    },
    "phid": "PHID-DIFF-t5ckmpyrn6tbuv3udgd3",
    "review_task_id": "edibLOjPRxilS0GrTXA17g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "80144f56f44d6a6afc30539b1692bb18916af0a0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093171/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T10:20:06.707168Z"
}