List and retrieve diffs with detailed revision information

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

{
    "id": 1049132,
    "revision": {
        "id": 476748,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "748e5e92161b121cbed8be3e9c3dfa29592e6fcd",
        "head_changeset": "891290705b10eef07102a04edaf61e369ca86794",
        "phabricator_id": 251694,
        "phabricator_phid": "PHID-DREV-3wrakeslbwohaqxjsbze",
        "title": "Bug 1967413 - Part 3: Don't show the setup checklist if the device does not support widget pinning",
        "bugzilla_id": 1967413,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476748/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476748/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251694"
    },
    "phid": "PHID-DIFF-3jz3xzchkykrlcf62t22",
    "review_task_id": "B5pN_rP_Tb2VkmNbL7u5jw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "891290705b10eef07102a04edaf61e369ca86794",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049132/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T12:09:16.289638Z"
}