List and retrieve diffs with detailed revision information

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

{
    "id": 1073080,
    "revision": {
        "id": 482931,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2eee456c72c6499b4270ada8f34fbed5e39169b8",
        "head_changeset": "d970d48fce0f8cbc7168a9980a8958c87f44567d",
        "phabricator_id": 254484,
        "phabricator_phid": "PHID-DREV-bhrvjvegldkvouidnois",
        "title": "WIP: Bug 1973147 - Use DCSwapChain instead of DCLayerCompositionSurface when overlay does not exist",
        "bugzilla_id": 1973147,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482931/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482931/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254484"
    },
    "phid": "PHID-DIFF-5faqdymeddjfki66sj4j",
    "review_task_id": "EDBRCnwqQpKBXPp0-iGBoQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "864d9ba17bca232a3e96c600b3013514f24179fe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073080/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T07:33:16.690714Z"
}