List and retrieve diffs with detailed revision information

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

{
    "id": 1092677,
    "revision": {
        "id": 497109,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c532163bc3da0e38ceb6074587335c4b91f7077b",
        "head_changeset": "519e38d9db723726122dd66bb496ad3e35c0fd8d",
        "phabricator_id": 257700,
        "phabricator_phid": "PHID-DREV-kluxzjd72sumqj6cgwud",
        "title": "Bug 799415 - Add a Storybook story for the new webrtc-preview element. r=#reusable-components-reviewers!",
        "bugzilla_id": 799415,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497109/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497109/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257700"
    },
    "phid": "PHID-DIFF-jksyklo764u3khhmgnrp",
    "review_task_id": "SdH-8qy6QwSyF-58dIQbNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6cc5a165e5a04ba8b63ab7143de712ebd9817a01",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1092677/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-21T18:50:37.531196Z"
}