List and retrieve diffs with detailed revision information

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

{
    "id": 1076371,
    "revision": {
        "id": 488702,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90e2a010a152db151e20c54b9d8d4f6fdf3a6a31",
        "head_changeset": "a5d90d1c174c0ef7f58e0c6ef0a8a07e3b03ebf6",
        "phabricator_id": 255590,
        "phabricator_phid": "PHID-DREV-z7htawcc7c37turpnx5o",
        "title": "WIP: Bug 1974892 - Drain MFTEncoder until receiving METransformDrainComplete",
        "bugzilla_id": 1974892,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488702/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488702/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255590"
    },
    "phid": "PHID-DIFF-3h6bhlff3zaxkljwrq5r",
    "review_task_id": "NY98beUaTi2STSsLlJj1AQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cb3807395e485c8c87e31a891f4add0bb83e2fe7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076371/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T00:14:16.671319Z"
}