List and retrieve diffs with detailed revision information

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

{
    "id": 1039435,
    "revision": {
        "id": 475814,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "a296bb59b1ddad51a706de2ab0c76d70e9f87435",
        "head_changeset": "ecbfc070a8e59f6c62ef5e9b64c41a7d35608e10",
        "phabricator_id": 250382,
        "phabricator_phid": "PHID-DREV-h7etrq3jlvxowxrq7ne2",
        "title": "Bug 1949120 - Implement registerPendingListener and accountKey to get more tests passing. r=#thunderbird-back-end-reviewers",
        "bugzilla_id": 1949120,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475814/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475814/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250382"
    },
    "phid": "PHID-DIFF-bojdy7wlbq2fmdr72d75",
    "review_task_id": "Di3nHz_aQ_e81gCjGtyDQA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ecbfc070a8e59f6c62ef5e9b64c41a7d35608e10",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039435/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T03:17:44.981008Z"
}