List and retrieve diffs with detailed revision information

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

{
    "id": 1079254,
    "revision": {
        "id": 491976,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3571eaba556228a7432e73ea0039647c9db5907e",
        "head_changeset": "1d7530635a3a309657acc75a2b022665de74680e",
        "phabricator_id": 256397,
        "phabricator_phid": "PHID-DREV-zomlgryb2uwc7q6od763",
        "title": "Bug 1950748 part 1: HyperTextAccessibleBase::ToTextLeafPoint: Descend to the end of an embedded object when given its end offset.",
        "bugzilla_id": 1950748,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491976/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491976/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256397"
    },
    "phid": "PHID-DIFF-lnsq5yatfba7ic4ouuht",
    "review_task_id": "XCm8jKzSRU6Nb27grvSJsg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d7530635a3a309657acc75a2b022665de74680e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079254/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T07:39:26.962532Z"
}