List and retrieve diffs with detailed revision information

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

{
    "id": 1087910,
    "revision": {
        "id": 496871,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a9d3edafe1c8125fe36e3dbd64d3e015a783f274",
        "head_changeset": "bd0ac3a899c10c0c699e2d9b205b85174e7c06bb",
        "phabricator_id": 257670,
        "phabricator_phid": "PHID-DREV-ua2rphmpm7m4oqnjadrj",
        "title": "Bug 1977384 - Bring Rule::UnlinkDeclarationWrapper into sync with nsWrapperCache::ReleaseWrapper r?mccr8",
        "bugzilla_id": 1977384,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496871/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496871/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257670"
    },
    "phid": "PHID-DIFF-5hhsdzsjou6doanvalnk",
    "review_task_id": "ZvrEhPtjRz-m7hRbZ-kpTQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0449419f144c269e23562617d7f68d0950f661d6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087910/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-17T10:55:06.305591Z"
}