List and retrieve diffs with detailed revision information

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

{
    "id": 1088534,
    "revision": {
        "id": 497306,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2945b847a815c838524ee98db55980903b7d6d46",
        "head_changeset": "f86d4fb42b3540887090ab577827ff17d2f4fcb9",
        "phabricator_id": 257754,
        "phabricator_phid": "PHID-DREV-erkciimzioiv4ltyp6tf",
        "title": "WIP: Bug 1964564 - Add new custom actions that let user override geckoprofiler presets in CI. r?#perftest",
        "bugzilla_id": 1964564,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497306/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497306/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257754"
    },
    "phid": "PHID-DIFF-ats5qd2ntnpiitb7cg6f",
    "review_task_id": "UNzukB0BSN-P04cY0JoD8Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "85784c9834b32f8165c7c8934f64109bf9351a5f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088534/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T03:43:22.284438Z"
}