List and retrieve diffs with detailed revision information

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

{
    "id": 1098704,
    "revision": {
        "id": 504461,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "38e98915ea2e7db5eafa3c2ce32290663d339db7",
        "head_changeset": "2b003bfda473e7904dfdcf3acc4b91f91d2b5bed",
        "phabricator_id": 259378,
        "phabricator_phid": "PHID-DREV-6ypuji2mjbqcftkyn4zw",
        "title": "Bug 1980332 - [devtools] Add DevTools Browser Console helpers to manage toolboxes",
        "bugzilla_id": 1980332,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504461/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504461/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259378"
    },
    "phid": "PHID-DIFF-j3egdnwqm5jarcircxxf",
    "review_task_id": "TBeqnQ4ZQE6bdftq1w9j2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2b003bfda473e7904dfdcf3acc4b91f91d2b5bed",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098704/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-31T07:35:41.059818Z"
}