List and retrieve diffs with detailed revision information

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

{
    "id": 1059379,
    "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-3fzoojl76feguqqwmyji",
    "review_task_id": "U_Rp5U8MQrOj6uPVCC1lGA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2bcf5683a31cc97720084cc4cd758f020e6e11b2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059379/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T15:36:03.953560Z"
}