List and retrieve diffs with detailed revision information

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

{
    "id": 1087224,
    "revision": {
        "id": 487140,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bfca4cc2969b5ddca3e8ed4e1cf7d78b655595f6",
        "head_changeset": "fa600b217762bb20e961fdfd3f30e08d2c1abaa4",
        "phabricator_id": 255364,
        "phabricator_phid": "PHID-DREV-bhucni3zb33xv5xh34wr",
        "title": "Bug 1972836 - Migrate startup timeline to Glean r?TravisLong",
        "bugzilla_id": 1972836,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487140/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487140/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255364"
    },
    "phid": "PHID-DIFF-keuf2aylwgppmr4f43a7",
    "review_task_id": "b-8Ajbs_S1G7G7CP_7IBgw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b982b0e5299cf577e91378b8014e280a72d0a5f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087224/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T15:41:11.936344Z"
}