List and retrieve diffs with detailed revision information

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

{
    "id": 1087604,
    "revision": {
        "id": 496580,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b34369cfdacdbeee47d3d4c029af0fb2e66cb4ff",
        "head_changeset": "535ac8c8b45a8f7cd76fea74b3dfe6372e2ee726",
        "phabricator_id": 257595,
        "phabricator_phid": "PHID-DREV-yg5gzlpw4xry75f5afee",
        "title": "Bug 1977696: Remove about:config pref layout.css.text-indent-keywords.enabled. r?jfkthame",
        "bugzilla_id": 1977696,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496580/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496580/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257595"
    },
    "phid": "PHID-DIFF-xgfrirqnexlape2gui7t",
    "review_task_id": "DK3fqwThTBOCIiqaxtb8Dw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "535ac8c8b45a8f7cd76fea74b3dfe6372e2ee726",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087604/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T22:03:41.398910Z"
}