List and retrieve diffs with detailed revision information

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

{
    "id": 1105748,
    "revision": {
        "id": 512664,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "76f448acb1d5c3a749d5e4a1b68afd97bd5ce27c",
        "head_changeset": "9f5ab2eb9813dd53c6f1c1246d83a4edba7b3323",
        "phabricator_id": 261052,
        "phabricator_phid": "PHID-DREV-wwmhvujv5oethslg446l",
        "title": "Bug 1982959 - Update perplexity trending URL to accept lang param. r=Standard8!",
        "bugzilla_id": 1982959,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512664/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512664/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261052"
    },
    "phid": "PHID-DIFF-nby2n6x6e4bqdal5rxiu",
    "review_task_id": "Xfuz3QCpRwCVbLiNpBGSVQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9f5ab2eb9813dd53c6f1c1246d83a4edba7b3323",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105748/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-14T00:02:12.733030Z"
}