List and retrieve diffs with detailed revision information

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

{
    "id": 1075655,
    "revision": {
        "id": 488700,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90e2a010a152db151e20c54b9d8d4f6fdf3a6a31",
        "head_changeset": "1c3de6621c54700d3aeb3b26f47bfd59d6cf9aed",
        "phabricator_id": 255587,
        "phabricator_phid": "PHID-DREV-lm72wwqxvrqbyjgnzhsl",
        "title": "WIP: Bug 1974892 - Simplify MFTEncoder::TakeOut usage",
        "bugzilla_id": 1974892,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488700/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488700/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255587"
    },
    "phid": "PHID-DIFF-zj6rdewtdmxljmuym737",
    "review_task_id": "bGbXvhNzRpGFzTTTLMrpcA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1c3de6621c54700d3aeb3b26f47bfd59d6cf9aed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075655/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T00:06:45.040932Z"
}