List and retrieve diffs with detailed revision information

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

{
    "id": 1100847,
    "revision": {
        "id": 506668,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "99e2525eb369a500d2037ba5846f390a7fc84e0a",
        "head_changeset": "1bd2a95749498aef085e31907c2289829b0e46ab",
        "phabricator_id": 259938,
        "phabricator_phid": "PHID-DREV-3rjuhp6dwiukjzt2iar7",
        "title": "Bug 1981103 Allow builders to specify RUST_TARGET",
        "bugzilla_id": 1981103,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/506668/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/506668/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259938"
    },
    "phid": "PHID-DIFF-4w6dr5h3ky4bcih4orld",
    "review_task_id": "e290Mt4_SsqVt3MyYsbB9g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1bd2a95749498aef085e31907c2289829b0e46ab",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1100847/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-05T10:32:28.067508Z"
}