List and retrieve diffs with detailed revision information

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

{
    "id": 1086177,
    "revision": {
        "id": 460018,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5ec13fd9a7552d965aee757985c15fc027c02e6b",
        "head_changeset": "96ebcf60b299e3f61ed49c0ab7b4c5104a8917f4",
        "phabricator_id": 239779,
        "phabricator_phid": "PHID-DREV-nxdci3txdy7keg3kylii",
        "title": "Bug 194542 - [contextual-password-manager] Focus \"Close Without Saving?\" notification after tabbing on the last button in login-form. r=mtigley!",
        "bugzilla_id": 194542,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/460018/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/460018/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D239779"
    },
    "phid": "PHID-DIFF-hryu2nfjceogl3q3dyvi",
    "review_task_id": "btLpxf_pQqKte_quvP5aSw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "112f06f9272f1be223eeb2f7a923e701cc9c3207",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086177/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T08:19:27.820122Z"
}