List and retrieve diffs with detailed revision information

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

{
    "id": 1100692,
    "revision": {
        "id": 506371,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "ddcd20732c937d784a78a6754d974ef90327384e",
        "head_changeset": "2065a6c473000faf75a09564fcfdfb742b3dd571",
        "phabricator_id": 259909,
        "phabricator_phid": "PHID-DREV-leczhcnh3btcwx3lkp7e",
        "title": "Bug 1972812 - Account Hub LDAP directory creation tests. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1972812,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506371/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506371/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259909"
    },
    "phid": "PHID-DIFF-xtz67vnkzgfdsrkax4yd",
    "review_task_id": "HuORn4u1QzyuMqYtaeV2FA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2065a6c473000faf75a09564fcfdfb742b3dd571",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1100692/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T02:06:37.777882Z"
}