List and retrieve diffs with detailed revision information

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

{
    "id": 1067085,
    "revision": {
        "id": 483906,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ab8603619c3c58b9977914d74bf1d3d72621bc",
        "head_changeset": "7bc0a33a31f528641f1f896e94f38b01c8631b98",
        "phabricator_id": 254638,
        "phabricator_phid": "PHID-DREV-5f4b6iqz27ip4ewc7plj",
        "title": "Bug 1973430: Replace StringEqualsAscii with StringEqualsLiteral where applicable. r=#spidermonkey-reviewers!",
        "bugzilla_id": 1973430,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483906/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483906/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254638"
    },
    "phid": "PHID-DIFF-gh5hkk7ct55wa7krchbu",
    "review_task_id": "MJ2AZyaNTEeF6kZkHoPbZw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7bc0a33a31f528641f1f896e94f38b01c8631b98",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067085/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T06:10:32.078102Z"
}