List and retrieve diffs with detailed revision information

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

{
    "id": 1081513,
    "revision": {
        "id": 493696,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6e397b7817d831d7dab47be952d6510c8561ccdc",
        "head_changeset": "7e2bd8b02d07bcc696896baa96f6260393c187b3",
        "phabricator_id": 256931,
        "phabricator_phid": "PHID-DREV-yth6mly3b2ezieiwjtdo",
        "title": "Bug 1976699 - [riscv64] Part 1: Fix JitRuntime::generateEnterJIT stack alignment on an odd number of arguments and notOsr code path. r=jandem",
        "bugzilla_id": 1976699,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493696/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493696/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256931"
    },
    "phid": "PHID-DIFF-wa2pk2ng2ax7vv6h2cmz",
    "review_task_id": "LO138bHNQeuNte7n-gBOfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "36d66e168de69f0b2b3de37302c28164d65316a2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081513/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T13:18:07.661394Z"
}