List and retrieve diffs with detailed revision information

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

{
    "id": 1049353,
    "revision": {
        "id": 476786,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbc885550e92a86ea9f457bc0ddf57d206fb5cfb",
        "head_changeset": "8637e5a156fad999d9121d051427127d10f829e8",
        "phabricator_id": 251735,
        "phabricator_phid": "PHID-DREV-bdfv46tjxk7hyq6jnboo",
        "title": "Bug 1968844 - Add missing option/arguments to TopSitesFeed MARS fetch request r?#home-newtab-reviewers",
        "bugzilla_id": 1968844,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476786/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476786/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251735"
    },
    "phid": "PHID-DIFF-vd7auu4pstqnducw6muy",
    "review_task_id": "GEROK02jS_qzVnflU91JOQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8637e5a156fad999d9121d051427127d10f829e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049353/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T16:59:10.283262Z"
}