List and retrieve diffs with detailed revision information

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

{
    "id": 1075048,
    "revision": {
        "id": 485449,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9e12583b01ff94a285ec924db54a14c8b1cde747",
        "head_changeset": "6323b0453e5509e82d66de3cdb22b5c5d660a123",
        "phabricator_id": 254181,
        "phabricator_phid": "PHID-DREV-slx75a3h2u7yowsjbtrz",
        "title": "Bug 1968702 - part 2 - Allow specifying if the engine with which to start search was selected by user or not r=#android-reviewers",
        "bugzilla_id": 1968702,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/485449/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/485449/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254181"
    },
    "phid": "PHID-DIFF-uwqr52vajvg5ooy7g6yp",
    "review_task_id": "QfX9bSyXRYOJjjBum_cMlA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7ba84eea2eae3abc3c2b65046985ed35f2be88fa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075048/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T10:51:26.680048Z"
}