List and retrieve diffs with detailed revision information

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

{
    "id": 1058485,
    "revision": {
        "id": 477997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "4a4c9bbee03b9674a9da276b98c1564867e2c765",
        "phabricator_id": 253167,
        "phabricator_phid": "PHID-DREV-nyyxi4m53hvyffrwk3sp",
        "title": "WIP: Bug 1963853 - Object metric rough c++ support r?janerik",
        "bugzilla_id": 1963853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253167"
    },
    "phid": "PHID-DIFF-xy4yi77yjy4hja2umqad",
    "review_task_id": "Lu7ULluiSaiDTQABcJ4XXA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2aa4f5a68b189a6518b1ead8a57913920333b81e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058485/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T15:49:23.937804Z"
}