List and retrieve diffs with detailed revision information

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

{
    "id": 1073150,
    "revision": {
        "id": 485681,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a119201a9b17aae5f30f8913ae863077949beafa",
        "head_changeset": "39f057a883f4ce52d566bce61c1e70ddec72d37d",
        "phabricator_id": 255088,
        "phabricator_phid": "PHID-DREV-nsyxlicubjljbpuuvptf",
        "title": "Bug 1974169 - deactivate local cache for all backends in onnx r?padenot",
        "bugzilla_id": 1974169,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485681/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485681/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255088"
    },
    "phid": "PHID-DIFF-mbcarops235ldyjzow4j",
    "review_task_id": "GXNRJSLGQMOG2ewTLvckcg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "39f057a883f4ce52d566bce61c1e70ddec72d37d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073150/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T08:53:09.965572Z"
}