List and retrieve diffs with detailed revision information

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

{
    "id": 1108170,
    "revision": {
        "id": 515564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "d94487ee17c1124a31039b1738f115bb185aae0f",
        "phabricator_id": 261640,
        "phabricator_phid": "PHID-DREV-olnmeazpi5s3bnxfhc3i",
        "title": "Bug 1983946 - update blocking bug for NSS 3.116 updatebot runs. r=keeler UPGRADE_NSS_RELEASE",
        "bugzilla_id": 1983946,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261640"
    },
    "phid": "PHID-DIFF-64cc4emy5ta3s5ef4b3q",
    "review_task_id": "N8EwXyEvTziIKhzV5YCcCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d94487ee17c1124a31039b1738f115bb185aae0f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108170/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T20:49:59.899622Z"
}