List and retrieve diffs with detailed revision information

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

{
    "id": 1051898,
    "revision": {
        "id": 476649,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6355f5807d0ae7f65adcf83c7f097e9c9c2647af",
        "head_changeset": "96489e60a5d087044797f5c304750eaec166ff5b",
        "phabricator_id": 251590,
        "phabricator_phid": "PHID-DREV-fywuluvvpoobb7j3tviy",
        "title": "Bug 1963827 When malformed PDF is generated, investigate whether we can verify the pdf before sending it to android r=ohall",
        "bugzilla_id": 1963827,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476649/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476649/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251590"
    },
    "phid": "PHID-DIFF-lgdwrexouvksxfcpu235",
    "review_task_id": "F9h78ZEdSSW7uq_LQd5G_w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a0d203a31b31c1ac13061dc1e21fd7eba042760f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051898/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T15:28:37.689290Z"
}