List and retrieve diffs with detailed revision information

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

{
    "id": 1077042,
    "revision": {
        "id": 489418,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f9cf1bee8ef03146f85982ecaadbaf1545302190",
        "head_changeset": "8ce08fe1aa7a3d87496c4ae1cbbe9ef50ca52183",
        "phabricator_id": 255782,
        "phabricator_phid": "PHID-DREV-otwkcxrmpmvk3ms47q75",
        "title": "Bug 1973544 - Run inc-origin-init tests on try only. r=#taskgraph-reviewers",
        "bugzilla_id": 1973544,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489418/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489418/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255782"
    },
    "phid": "PHID-DIFF-lrqu4r36e24ixmoijaeu",
    "review_task_id": "DSh1xA99T4qBaUTkL70KRQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6f555f8e89ee1f747b71e86fef158c8e91f1b4f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077042/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T21:38:15.540634Z"
}