List and retrieve diffs with detailed revision information

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

{
    "id": 1080742,
    "revision": {
        "id": 492803,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5581df48e4d2aac763d1096b717cb2ff9c2ef6f5",
        "head_changeset": "123832695a5640055ab362141823caa9aa261879",
        "phabricator_id": 256655,
        "phabricator_phid": "PHID-DREV-lgdeqnn2xmxfvdh3egyj",
        "title": "WIP: Bug 1965514 - Remove dom.workers.timeoutmanager pref and unused code, r=smaug",
        "bugzilla_id": 1965514,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492803/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492803/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256655"
    },
    "phid": "PHID-DIFF-75awdaocqoi3heiwpgcc",
    "review_task_id": "GkW3vo5FTRCrriUkLtRSqw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3f6342f4e30bfe310a0d53d053e84d76614c5afd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080742/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T11:57:04.047973Z"
}