List and retrieve diffs with detailed revision information

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

{
    "id": 1081492,
    "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-ifdvxyyphod2vx4ig5x6",
    "review_task_id": "AfFE6aaqS9S4e18hgk4bKA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a4c9e473d9c8eae81a5c94ca80634be8d12845f7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081492/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T12:59:05.219342Z"
}