List and retrieve diffs with detailed revision information

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

{
    "id": 1094877,
    "revision": {
        "id": 500420,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "74364fecc1795616dff73789e0f7790f8053a26c",
        "head_changeset": "ff80239303af8c93efbf29dd3fa3b11681a0daaf",
        "phabricator_id": 258522,
        "phabricator_phid": "PHID-DREV-ro6htyw4ddqjp5avn3zd",
        "title": "WIP: Bug 1973298 - Inline the face SVG image",
        "bugzilla_id": 1973298,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/500420/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/500420/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258522"
    },
    "phid": "PHID-DIFF-47w3k6erahscfyukfqef",
    "review_task_id": "COxzeGPKQNWfAla8tY-ZuA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff80239303af8c93efbf29dd3fa3b11681a0daaf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094877/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-24T01:30:10.669146Z"
}