List and retrieve diffs with detailed revision information

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

{
    "id": 1104736,
    "revision": {
        "id": 511299,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "63a3e76f1452d832ff4a914d1238513e56f75b87",
        "head_changeset": "38c3d90af8d1f00f1ea9fe54aba924e33f12272d",
        "phabricator_id": 260826,
        "phabricator_phid": "PHID-DREV-2yyduqt7t2qjsoczrpg7",
        "title": "Bug 1979110 - Hold reference to layers::Image until all external texture work using it is done. r?#webgpu-reviewers",
        "bugzilla_id": 1979110,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/511299/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/511299/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260826"
    },
    "phid": "PHID-DIFF-cmnvfdt3vgxczjywsbme",
    "review_task_id": "TBZPcCuOQ4eIVue9NXwe6Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "38c3d90af8d1f00f1ea9fe54aba924e33f12272d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1104736/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-12T14:44:58.145458Z"
}