List and retrieve diffs with detailed revision information

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

{
    "id": 1049318,
    "revision": {
        "id": 476778,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3c5d3554fd1442fecb807861a914d3d34ab4937b",
        "head_changeset": "c6307fce0af337cc3252582db1f59d6d409d75cd",
        "phabricator_id": 251728,
        "phabricator_phid": "PHID-DREV-d3o7qg65jcx4dzucd2xw",
        "title": "Bug 1956080 - Use async experiment cleanup in browser_default_webprotocol_handler_mailto.js r?mconley",
        "bugzilla_id": 1956080,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476778/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476778/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251728"
    },
    "phid": "PHID-DIFF-bimweuzj4hieivrqlqtu",
    "review_task_id": "MoP3TZP_RR63bz5Y3_w45w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c6307fce0af337cc3252582db1f59d6d409d75cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049318/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T16:13:29.816403Z"
}