List and retrieve diffs with detailed revision information

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

{
    "id": 1038485,
    "revision": {
        "id": 474985,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "47282323aab5f95c4cc4457b360787ee9785130a",
        "head_changeset": "de2ecdd88abab0f99f5b2e15102a215b4afcc03c",
        "phabricator_id": 249167,
        "phabricator_phid": "PHID-DREV-7bdtwqzzugghzxd75pmc",
        "title": "Bug 1606785 - Format aboutlogins and megalist CSS files with Prettier r=#credential-management-reviewers",
        "bugzilla_id": 1606785,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474985/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474985/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249167"
    },
    "phid": "PHID-DIFF-7ryvbyq3egauvazoks2o",
    "review_task_id": "Qm8E9ucVT7GSYxJ2r4PnoQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b04af39a1eadaffe44b4b20738d20d0eb20decef",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038485/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T15:32:00.907419Z"
}