List and retrieve diffs with detailed revision information

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

{
    "id": 1039652,
    "revision": {
        "id": 475454,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cee661c084644b91b085116d9f31c03f61aafb57",
        "head_changeset": "aa4f38770faa222cd5291cda10dab3eea30e042e",
        "phabricator_id": 249900,
        "phabricator_phid": "PHID-DREV-jas4lqmj62u3u5xs63tg",
        "title": "WIP: Bug 1961386 - Amend some comment on IsInTimerThread. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475454/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475454/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249900"
    },
    "phid": "PHID-DIFF-6g3jins35pxl4if2kk6r",
    "review_task_id": "ARKcLGt3RjqN4F3TutedJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cdb7bd92ea0981494f7d5a99704cc3a43e397833",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039652/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T11:56:13.047960Z"
}