List and retrieve diffs with detailed revision information

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

{
    "id": 1111193,
    "revision": {
        "id": 520170,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fe626098c9958824d148bdf25cbf5375085a1eea",
        "head_changeset": "a49600e4a720307223aa8407cc454249d49849e2",
        "phabricator_id": 262418,
        "phabricator_phid": "PHID-DREV-x5tivrga4iyb6vnnzyyv",
        "title": "Bug 1984059 - Update metadata for storage-access-api/storage-access-headers.tentative.https.sub.window.js.",
        "bugzilla_id": 1984059,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520170/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520170/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262418"
    },
    "phid": "PHID-DIFF-erzdsumcm2syd7d6z2pv",
    "review_task_id": "e0vcNq-GSZetWtkEB46KGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a49600e4a720307223aa8407cc454249d49849e2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111193/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T16:38:40.426827Z"
}