List and retrieve diffs with detailed revision information

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

{
    "id": 1066615,
    "revision": {
        "id": 483052,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96e7f7951d72420c9c8f6d4f5e93ee7896812ad7",
        "head_changeset": "c1248bb5e85ab767ba93be105329e2bb3f9c9ca5",
        "phabricator_id": 254497,
        "phabricator_phid": "PHID-DREV-5rwo7rfq6fkwukm7iy2w",
        "title": "Bug 1973157 - Use NSRect consistently in nsNativeThemeCocoa. r=#mac-reviewers",
        "bugzilla_id": 1973157,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483052/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483052/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254497"
    },
    "phid": "PHID-DIFF-7cupejkpq6ks3m6lxjl7",
    "review_task_id": "ci6orpVYTPqgejeVASqQNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c1248bb5e85ab767ba93be105329e2bb3f9c9ca5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066615/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T10:57:58.676190Z"
}