List and retrieve diffs with detailed revision information

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

{
    "id": 1051648,
    "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-eszzwx7iyglbn7rle6yo",
    "review_task_id": "QKpQQJ3ySEONNNS11JkQTQ",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "ea3c0893c678e8df764dcfa7305dcf26058b3fdd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051648/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T08:10:24.108867Z"
}