List and retrieve diffs with detailed revision information

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

{
    "id": 1088669,
    "revision": {
        "id": 497779,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "69e499386dad015db033b5fc4303705a608265be",
        "head_changeset": "7d2d07a5fc1dc1c0a3a61d12b0fe4098ed7edfd6",
        "phabricator_id": 257842,
        "phabricator_phid": "PHID-DREV-xn4s6emhph2yeibtdvmu",
        "title": "Bug 1978042 - Document PROFILER_MARKER_SIMPLE_PAYLOAD. r?bas",
        "bugzilla_id": 1978042,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497779/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497779/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257842"
    },
    "phid": "PHID-DIFF-ptn2z3xex2xh7ieqrbzp",
    "review_task_id": "BnS2WG3ARKeIpBWrJsIByQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7d2d07a5fc1dc1c0a3a61d12b0fe4098ed7edfd6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088669/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T13:31:22.709922Z"
}