List and retrieve diffs with detailed revision information

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

{
    "id": 1109003,
    "revision": {
        "id": 516469,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2dfb5850d1714442bd14076a3731c68ac1087619",
        "head_changeset": "37a676289b18f08576956ea4e83a61b0a9a5392a",
        "phabricator_id": 261828,
        "phabricator_phid": "PHID-DREV-owync4n5uaubxdvnxwsb",
        "title": "Bug 1983027: Do not show market suggestion if no polygon values",
        "bugzilla_id": 1983027,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516469/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516469/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261828"
    },
    "phid": "PHID-DIFF-2he4wnnlqmbgjpkqeb3u",
    "review_task_id": "bu3DjO7HQlaY0jq5jTn--A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "37a676289b18f08576956ea4e83a61b0a9a5392a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1109003/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-20T21:33:16.090238Z"
}