List and retrieve diffs with detailed revision information

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

{
    "id": 1088369,
    "revision": {
        "id": 497335,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ebbcf21a2ae5382eb1a1fd1d94710d5b0c63c94",
        "head_changeset": "8835b646a298594fc6a01fe995eddf2d55fdf71c",
        "phabricator_id": 251932,
        "phabricator_phid": "PHID-DREV-nxcgoa44sdjfbq2malbz",
        "title": "Bug 1963901: Added ProfilerViewModelFactory since dispatchers in the constructor broke the default AndroidViewModelFactory and changed the initialization of the ViewModel in SettingsFragment and StopProfilerActivity r=kaya",
        "bugzilla_id": 1963901,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497335/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497335/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251932"
    },
    "phid": "PHID-DIFF-jplxv43gkxivxdbweawl",
    "review_task_id": "OdQWrbu5T1S53rQPrpZQnQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d90f53e9e4f4442c7772815eb954dc6e9d0d05c4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088369/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T20:40:55.674162Z"
}