List and retrieve diffs with detailed revision information

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

{
    "id": 1055308,
    "revision": {
        "id": 477903,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ebb4da90ded3b22ca936eca5a98e185f8f6972",
        "head_changeset": "7af4badf2105eb4c1fc7de8766fba3608b41282b",
        "phabricator_id": 253065,
        "phabricator_phid": "PHID-DREV-qiags7lkytxagcrrec6s",
        "title": "WIP: - Bug 1966240 - Refactor PlacesQuery cache logic into dedicated class - r?#places-reviewers",
        "bugzilla_id": 1966240,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477903/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477903/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253065"
    },
    "phid": "PHID-DIFF-vamry7vrnrzhfgazwsx6",
    "review_task_id": "F7wS7m-PTsWFL7DutVM9QQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7af4badf2105eb4c1fc7de8766fba3608b41282b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055308/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T18:31:37.474336Z"
}