List and retrieve diffs with detailed revision information

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

{
    "id": 1088357,
    "revision": {
        "id": 497301,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7ec5a911287f51bc177058928bb102163a3b656e",
        "head_changeset": "ce09280babb4f58051b74f3f0987775afee8f735",
        "phabricator_id": 257751,
        "phabricator_phid": "PHID-DREV-tbj6b6pokjvfjmsljt3p",
        "title": "Bug 1977893 - Add `FileLock` to l10n git clone to resolve a race condition with `jj fix` r?#linter-reviewers!,beth",
        "bugzilla_id": 1977893,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497301/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497301/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257751"
    },
    "phid": "PHID-DIFF-7jr5fpy454oo65etdzhz",
    "review_task_id": "auWMPrebQNOA9Pqza3Oa2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "65531d18b24725f9487c15e914fc9067596cbceb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088357/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T20:27:44.891227Z"
}