List and retrieve diffs with detailed revision information

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

{
    "id": 1052470,
    "revision": {
        "id": 477198,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "94bcdd88fb9cb9ad52e46cdadb641fbf4b84d3e6",
        "head_changeset": "7169b8a574e36817fb35d3e8a37c9334797cc3da",
        "phabricator_id": 252032,
        "phabricator_phid": "PHID-DREV-2hyimkiz3drvafavnnbk",
        "title": "Bug 1633450 - part 1: Make `PresShell::RecordPointerLocation()` forget the last mouse cursor position at `ePointerCancel` if the mouse cursor was for the compatibility mouse event of touch r=smaug!,#dom-core",
        "bugzilla_id": 1633450,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477198/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477198/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252032"
    },
    "phid": "PHID-DIFF-q7r6b7whwgxyaxu66rbh",
    "review_task_id": "YkZk1EW0SLWl530Jpe4AUw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "55dc33a5b97711f06c627c36eaa500bf539372ae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052470/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T08:26:00.113666Z"
}