List and retrieve diffs with detailed revision information

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

{
    "id": 1039509,
    "revision": {
        "id": 475700,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0e9fb62a13882c8ff2bcb4568beb89d4b98d1a01",
        "head_changeset": "d50e2e3a1e09fe56ec6b6f9d57f4e28685aaf7e8",
        "phabricator_id": 250260,
        "phabricator_phid": "PHID-DREV-lbqlwpzcx7okvjtfieo3",
        "title": "Bug 1967390 - Return IPC_FAIL when RemoteWorkerDebuggerParent endpoint is not valid. r=#dom-worker-reviewers.",
        "bugzilla_id": 1967390,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475700/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475700/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250260"
    },
    "phid": "PHID-DIFF-lsuq6ujy6274zf45tshc",
    "review_task_id": "EUCu2NabTSGmMCjxbunTaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5edd0069f8200c66bfb2c738924bcfc5a74b89b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039509/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T08:34:39.800453Z"
}