List and retrieve diffs with detailed revision information

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

{
    "id": 1076028,
    "revision": {
        "id": 489014,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1d8a123ed4864c361e3f0a8f2f29a202fa735fb3",
        "head_changeset": "024c3893664ccae93d939223c2c9de3c8bbe6192",
        "phabricator_id": 255656,
        "phabricator_phid": "PHID-DREV-z357g66drcv23fr25sbx",
        "title": "Bug 1971573 - Propagate the \"css-specified\" bit as well from nsDocShell::Embed. r=#layout,tnikkel",
        "bugzilla_id": 1971573,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489014/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489014/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255656"
    },
    "phid": "PHID-DIFF-vn6wojojioa3iw5on4gw",
    "review_task_id": "Oc1qJiQJQBaWwpwQdVLL7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "024c3893664ccae93d939223c2c9de3c8bbe6192",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076028/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T14:41:50.892213Z"
}