List and retrieve diffs with detailed revision information

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

{
    "id": 1081118,
    "revision": {
        "id": 493559,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "733d32c030591d7a9ccfb6afa3a235e2835cfed4",
        "head_changeset": "7145eccf137b05d7276c5af9422fbf61e762295f",
        "phabricator_id": 256885,
        "phabricator_phid": "PHID-DREV-axdgiskx4cyz2n3y5fot",
        "title": "Bug 1976767 - set a blocking bug for updatebot in security/nss/moz.yaml. r=keeler",
        "bugzilla_id": 1976767,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493559/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493559/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256885"
    },
    "phid": "PHID-DIFF-guxrnqxoug4v64rdwreg",
    "review_task_id": "GvrW8FUQTJKbOQ-2tKD50w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7145eccf137b05d7276c5af9422fbf61e762295f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081118/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T22:27:25.826538Z"
}