List and retrieve diffs with detailed revision information

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

{
    "id": 1064087,
    "revision": {
        "id": 479870,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e3dfcdead92ede9500a3c94c8ee1c7ecb0756bf",
        "head_changeset": "2bcf5683a31cc97720084cc4cd758f020e6e11b2",
        "phabricator_id": 253838,
        "phabricator_phid": "PHID-DREV-zi6chda2gh7hwtuo3okw",
        "title": "Bug 1972029 - Add --no-fjcvtzs JS Shell flag to not generate FJCVTZS instructions.",
        "bugzilla_id": 1972029,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479870/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479870/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253838"
    },
    "phid": "PHID-DIFF-weofad2pyujmb4hapkva",
    "review_task_id": "LgY-hXKPR0GxxKiGGKRJ7w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1d4f97fc292783aefd2062949cff15657eb3168d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1064087/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T13:44:17.253748Z"
}