List and retrieve diffs with detailed revision information

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

{
    "id": 1051785,
    "revision": {
        "id": 477236,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "027c40354af5364f678fca29013e44b5556f11dc",
        "head_changeset": "f8341001f0ea1a4add65b12b2c555a5757d69931",
        "phabricator_id": 252325,
        "phabricator_phid": "PHID-DREV-377hnenmjqrmczehsy3e",
        "title": "Bug 1970117 - Improve the string ID CookieRejectedAttributeDomainOversize, r?flod",
        "bugzilla_id": 1970117,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477236/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477236/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252325"
    },
    "phid": "PHID-DIFF-p2c4l2g5w3vhpoaxgote",
    "review_task_id": "LLSYJLltRSuquaOAFYvLEw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f8341001f0ea1a4add65b12b2c555a5757d69931",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051785/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T13:08:14.473527Z"
}