List and retrieve diffs with detailed revision information

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

{
    "id": 1050235,
    "revision": {
        "id": 476937,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a2e2399f4064e58d33664d664310d8c12b7d10a2",
        "head_changeset": "3bd1463fdbcf1fdd3b43e56c8b5d6e57fe64b32d",
        "phabricator_id": 251949,
        "phabricator_phid": "PHID-DREV-bccmnvkcuot4uzhlob37",
        "title": "Bug 1946130: Made ComputeWakeupTimeFromTimers() handle the empty timer list case so that the caller doesn't have to r=smaug,#xpcom-reviewers",
        "bugzilla_id": 1946130,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476937/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476937/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251949"
    },
    "phid": "PHID-DIFF-u5ylsd2u2w74lf4ecx2v",
    "review_task_id": "H7Kw1nP5Q6e-nOZcky6k5A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6684e47f0533a19c9f17031255c26017a95b0c45",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050235/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T21:44:56.767836Z"
}