List and retrieve diffs with detailed revision information

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

{
    "id": 1074878,
    "revision": {
        "id": 487976,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bedff7cb27c4f9b1b2ef732d12e7c4a813a55832",
        "head_changeset": "c355f22d73952809ea11623a308631e9302237f0",
        "phabricator_id": 255433,
        "phabricator_phid": "PHID-DREV-ycuoxviri63iwice5aot",
        "title": "Bug 1974302 - part 2 - Use the RegistrableDomainSpan for highlighting the domain r=#android-reviewers",
        "bugzilla_id": 1974302,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487976/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487976/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255433"
    },
    "phid": "PHID-DIFF-4tzjy726trtvcqvukw2f",
    "review_task_id": "bMamFYa8SrCMs0tPoOd-VQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c355f22d73952809ea11623a308631e9302237f0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074878/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-29T18:50:40.078744Z"
}