List and retrieve diffs with detailed revision information

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

{
    "id": 1108299,
    "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-rsd4b5ylvbqgistnt5sd",
    "review_task_id": "D5hcrDi4QuCjQ8tChCQeHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "61c47271d8c4c2d04bae6cc9aac76492a85d09df",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108299/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T23:49:34.991982Z"
}