List and retrieve diffs with detailed revision information

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

{
    "id": 1078201,
    "revision": {
        "id": 490878,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7899cad53cdcbbc3d16621256085c14037acecff",
        "head_changeset": "5f06e0b96d21e14edaff24f1f8e0ab667f2b0b0c",
        "phabricator_id": 256132,
        "phabricator_phid": "PHID-DREV-othubn3oreik6ihlkivk",
        "title": "WIP: Bug 1975770 - study Cosine distance threshold exploration in history semantic search r=mak,tarek",
        "bugzilla_id": 1975770,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490878/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490878/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256132"
    },
    "phid": "PHID-DIFF-vx342cza2jvdwxg7ra2e",
    "review_task_id": "Jbv_8PKGSJ6FRiBng_30jQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5f06e0b96d21e14edaff24f1f8e0ab667f2b0b0c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078201/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-04T17:30:49.051203Z"
}