List and retrieve diffs with detailed revision information

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

{
    "id": 1107083,
    "revision": {
        "id": 501315,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "18b7a940ba03e23ff5e213809c83af62bba9984a",
        "head_changeset": "492f0ab3d168bf237773de2ccc69a9c069aa481c",
        "phabricator_id": 258720,
        "phabricator_phid": "PHID-DREV-puyio2exwse5as324i35",
        "title": "Bug 1976493 - Add an API to BrowsingContext to override timezone in JS APIs.",
        "bugzilla_id": 1976493,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501315/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501315/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258720"
    },
    "phid": "PHID-DIFF-7aylzgjflan3jobtukws",
    "review_task_id": "VimkhsR7TGiLQTMv9dcz6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "38eab47453be1d0d5e6d6947da0b31d06ffd375b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107083/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T14:29:48.837448Z"
}