List and retrieve diffs with detailed revision information

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

{
    "id": 1074083,
    "revision": {
        "id": 485885,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "15f293ff7a8e7c0ff790fb78977d2748cb84ec25",
        "head_changeset": "48bd6030797748baa17f609d4186e1cd261b9ff2",
        "phabricator_id": 255119,
        "phabricator_phid": "PHID-DREV-mxpv77ogidho4pv66qpo",
        "title": "WIP: Bug 1959437 - Only allow trusted schemes in Services.scriptloader.loadSubScript",
        "bugzilla_id": 1959437,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485885/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485885/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255119"
    },
    "phid": "PHID-DIFF-xik2t53lj6tnlyjteezb",
    "review_task_id": "IRxysAxYQ8q0ZTxKQUYKNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7e8104bf020ff26ff5114710c51d04311f98c3d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074083/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T07:39:39.089124Z"
}