List and retrieve diffs with detailed revision information

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

{
    "id": 1052255,
    "revision": {
        "id": 477176,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "df509edb950c8ec6c14b505a5ac1d0ffd1b61f1b",
        "head_changeset": "4fd58223c7d08143f91e8cb960c7b85fc0b76b91",
        "phabricator_id": 251085,
        "phabricator_phid": "PHID-DREV-pcnskdrk4hxdbznpitez",
        "title": "Bug 1968365 - Test perplexity has been in search mode PREF is set correctly. r=jteow!",
        "bugzilla_id": 1968365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477176/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477176/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251085"
    },
    "phid": "PHID-DIFF-a266uqjsendxij2glpjx",
    "review_task_id": "EaulkxQhT1GMkS8JmL0Zhw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e694852be6d8d1794b3267a584db11c66c9eb23b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052255/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T21:00:46.553868Z"
}