List and retrieve diffs with detailed revision information

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

{
    "id": 1051245,
    "revision": {
        "id": 477134,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "12a85e5b916633a3e342e26a5014590aad4f307d",
        "phabricator_id": 252205,
        "phabricator_phid": "PHID-DREV-na46kxdkeub3kb5rcygp",
        "title": "Bug 1969954 - add a webcompat CSS intervention for tinyawards.net/nominations to fix some form element heights; r?denschub",
        "bugzilla_id": 1969954,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477134/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477134/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252205"
    },
    "phid": "PHID-DIFF-q5zxkjqqimfnr5sd5ota",
    "review_task_id": "Ly4RTnlHQiCgAK13Lq_zqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "12a85e5b916633a3e342e26a5014590aad4f307d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051245/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T18:01:08.069908Z"
}