List and retrieve diffs with detailed revision information

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

{
    "id": 1086128,
    "revision": {
        "id": 495509,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "735b7d103a063a7636c5b36828d5e129baf4658e",
        "head_changeset": "55d3ab2e9831cc0521c65634bc6f739cdcbd1047",
        "phabricator_id": 257208,
        "phabricator_phid": "PHID-DREV-yhg3renun6mnyy5xwg5i",
        "title": "Bug 1977295 - update libyuv to 96134e95a7468af63ff2ea74a85b0d6db2d2c25e from 2025-06-14;r?mjf",
        "bugzilla_id": 1977295,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495509/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495509/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257208"
    },
    "phid": "PHID-DIFF-uf4ve3svpwvlix3nq5om",
    "review_task_id": "a3DOjY0-Ra2U12tLQhF_fg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "55d3ab2e9831cc0521c65634bc6f739cdcbd1047",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086128/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T04:28:22.621217Z"
}