List and retrieve diffs with detailed revision information

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

{
    "id": 1087501,
    "revision": {
        "id": 496535,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "633efe446fbce6547a7d2e646e750c9b9f678153",
        "head_changeset": "bdea88cc9c32981d0e913c33a5131f2d6691e6fc",
        "phabricator_id": 257565,
        "phabricator_phid": "PHID-DREV-ufkznyzkqd77uvcqms6q",
        "title": "Bug 1976934: Reenable test_printpreview mochitests now that Windows test runners are updated. r?jmaher,#layout",
        "bugzilla_id": 1976934,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496535/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496535/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257565"
    },
    "phid": "PHID-DIFF-4h3vpgvipv7yyxwhmxyt",
    "review_task_id": "T017FfFETEyxzmjpo7i0ZQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bdea88cc9c32981d0e913c33a5131f2d6691e6fc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087501/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T19:15:48.843956Z"
}