List and retrieve diffs with detailed revision information

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

{
    "id": 1040657,
    "revision": {
        "id": 473852,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b0ed789c871bc86c02fbc22b769a81d6497297de",
        "head_changeset": "e99e09732821ef38fa1c2846e8be2b295e040bc1",
        "phabricator_id": 247234,
        "phabricator_phid": "PHID-DREV-jnup4ndjnf3dfss4izoa",
        "title": "WIP: Bug 1963535 - Support partial present with DCLayerCompositionSurface",
        "bugzilla_id": 1963535,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473852/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473852/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247234"
    },
    "phid": "PHID-DIFF-z6kxu32zi72w5wxu572t",
    "review_task_id": "McYrBw2yRAWdze_MKkkofA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "feed2718e2217d75c8f10b410ee18f13af2b4304",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1040657/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-22T05:27:22.881710Z"
}