List and retrieve diffs with detailed revision information

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

{
    "id": 1074727,
    "revision": {
        "id": 483483,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "93db82e44f594227108f3cb8f7cb31cdeed33d87",
        "head_changeset": "e99704d74e381c5991c9fa835d7dae328eba9f76",
        "phabricator_id": 254558,
        "phabricator_phid": "PHID-DREV-cp4qyvial2bd374qokka",
        "title": "Bug 258291 - Make `EditorBase::OnCompositionEnd` delete the undo transaction storing the last composition if and only if it's canceled r=m_kato!",
        "bugzilla_id": 258291,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483483/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483483/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254558"
    },
    "phid": "PHID-DIFF-nb6pyglzo5qv3xq2vhok",
    "review_task_id": "Hk56HkG9Su6izUaMk5zh3w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "426e0806fe5ce14da95f953f46c6492706a9c16c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074727/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-28T00:42:36.079968Z"
}