List and retrieve diffs with detailed revision information

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

{
    "id": 1048602,
    "revision": {
        "id": 457240,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ac2b765f864daa388e22f822db75dbdd153249ad",
        "head_changeset": "57563a19ecc4259e35764b38b95e4e16b5be416f",
        "phabricator_id": 238876,
        "phabricator_phid": "PHID-DREV-ljymc7zfvevt7b5sjkyf",
        "title": "WIP: Bug 1927886: Remove DataChannelConnection::mLock, as it is no longer necessary.",
        "bugzilla_id": 1927886,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/457240/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/457240/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238876"
    },
    "phid": "PHID-DIFF-655flr4xotpvhu2vx4ia",
    "review_task_id": "UjiV-mTCSl-MLTboyOetFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "00d4b792b441faeb25ba13d9b6cc254bffbfeca1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1048602/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-28T18:58:30.007979Z"
}