List and retrieve diffs with detailed revision information

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

{
    "id": 1111974,
    "revision": {
        "id": 521074,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "e9473798392a19b020b38997cebecf7315aeb451",
        "phabricator_id": 262581,
        "phabricator_phid": "PHID-DREV-3ytaojut3ji3whfpmvd6",
        "title": "Bug 1985072 - Don't disable protection exceptions if strict is set by policy. r?leoliu",
        "bugzilla_id": 1985072,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521074/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521074/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262581"
    },
    "phid": "PHID-DIFF-4g4odoeobq6bzna45ou5",
    "review_task_id": "FL-V4ufvTMqAJx_pXsMWNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9473798392a19b020b38997cebecf7315aeb451",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111974/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T14:24:40.304891Z"
}