List and retrieve diffs with detailed revision information

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

{
    "id": 1039527,
    "revision": {
        "id": 475692,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6f682f69506162b95dea83b305f708d8f4e94318",
        "head_changeset": "31447815b08d47d6679c3137c4ea24ca623e0a1b",
        "phabricator_id": 250251,
        "phabricator_phid": "PHID-DREV-ufcj5r36plnr5nudeq6q",
        "title": "WIP: Bug 1899507 - P3 Integrate WorkerScriptLoader and PFetchLoadHandler.",
        "bugzilla_id": 1899507,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475692/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475692/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250251"
    },
    "phid": "PHID-DIFF-aqnfyyegbzrqvpofj5j7",
    "review_task_id": "ffBv4bVDQAaSnjSeTH2NQA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "229f5d66243bb1db2d7ae745e142c431aad9dfd6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039527/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T09:05:34.989081Z"
}