List and retrieve diffs with detailed revision information

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

{
    "id": 1096111,
    "revision": {
        "id": 496589,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "b11c9e28f5021c80456f6debee33cfb4c7276430",
        "phabricator_id": 257514,
        "phabricator_phid": "PHID-DREV-ldd4dk7qaobgw442mgsy",
        "title": "Bug 1973507: Add and use a frame property for anchor positiond frames to keep track of its anchors, and their offset & size. r=#anchor-positioning-reviewers,#layout",
        "bugzilla_id": 1973507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496589/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496589/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257514"
    },
    "phid": "PHID-DIFF-qxg6op7i5alapknsoxxv",
    "review_task_id": "By5nV5BjTPuDKMVJSeL7eQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b31bd371ddc3d696d0e0fe003e473593b06818f8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1096111/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-25T18:37:03.095866Z"
}