List and retrieve diffs with detailed revision information

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

{
    "id": 1081525,
    "revision": {
        "id": 494028,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "83027a3af402dc048b85867c7ba6a41a941cd582",
        "head_changeset": "958fe8195c47090f0f02eaf690762b4fd5cb6804",
        "phabricator_id": 257000,
        "phabricator_phid": "PHID-DREV-6yizyftboewdenuuomd3",
        "title": "Bug 1973629 - Remove body of response for influxdb unit test mocks. r?#perftest",
        "bugzilla_id": 1973629,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494028/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494028/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257000"
    },
    "phid": "PHID-DIFF-joogqw75ffq6zcvwuivc",
    "review_task_id": "GG9AOEsDRGiwhbCkqCcGeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "dc05ff2542d03d35a8fc058c490f877e96a6f919",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081525/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T13:46:06.197239Z"
}