List and retrieve diffs with detailed revision information

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

{
    "id": 1056369,
    "revision": {
        "id": 478075,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ebd8c421108cdbec416cc0059ac5b959636650b4",
        "head_changeset": "e4eceba06ea7992d951aca0606b11eded5e75cdd",
        "phabricator_id": 253261,
        "phabricator_phid": "PHID-DREV-lx5i5kt5vebvwv756uvs",
        "title": "Bug 1967788 - Remove pocket component tests -",
        "bugzilla_id": 1967788,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478075/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478075/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253261"
    },
    "phid": "PHID-DIFF-ce4d34p7gumswwtq3f7x",
    "review_task_id": "BgIFEsVLTp-dcXHoG0QcPA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e4eceba06ea7992d951aca0606b11eded5e75cdd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T00:56:11.912387Z"
}