List and retrieve diffs with detailed revision information

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

{
    "id": 1099786,
    "revision": {
        "id": 505387,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed28bde759c16860d3ee821ad3e4740150099212",
        "head_changeset": "08d9860315ce4009586c97c35a9ef2852a2e97c6",
        "phabricator_id": 259627,
        "phabricator_phid": "PHID-DREV-is6awlcs7rws5hfrz7xw",
        "title": "Bug 1980680 - Update AndroidX Test to the latest releases. r=aaronmt",
        "bugzilla_id": 1980680,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505387/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505387/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259627"
    },
    "phid": "PHID-DIFF-4wykuxso2prly4gvc5qo",
    "review_task_id": "a5s0OTb_QQWZLFlkDdFyng",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "08d9860315ce4009586c97c35a9ef2852a2e97c6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099786/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T18:27:39.123422Z"
}