List and retrieve diffs with detailed revision information

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

{
    "id": 1052004,
    "revision": {
        "id": 477201,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "e1ab7a6ce19b6433611251f6435d4b413f8872d6",
        "head_changeset": "402f3a621d742f5d2d53b9faa5faf8c468f8f689",
        "phabricator_id": 252284,
        "phabricator_phid": "PHID-DREV-g3kkmwddjjuphk6ztlfd",
        "title": "Bug 1970044 - Move schema annotations into the tree. r=#thunderbird-reviewers",
        "bugzilla_id": 1970044,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477201/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477201/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252284"
    },
    "phid": "PHID-DIFF-zpvk7xoxjafjeneefnma",
    "review_task_id": "VmXQUFKKQbuVQze8-3DjUA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a0cf16ab5b082f37240db52bb22374f58a7cb9d2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052004/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T16:27:25.810311Z"
}