List and retrieve diffs with detailed revision information

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

{
    "id": 1107274,
    "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-lgvyi7ndkgr4nv5o7xal",
    "review_task_id": "WMT9yS59RgOC4pZq0Y_Tfg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ef212e3c0e5f0dc71827ad0628792553334f00e2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107274/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-18T18:33:42.729537Z"
}