This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new f7605e5 Fix the endpoint to record a distribution using an external
publisher
f7605e5 is described below
commit f7605e59d9277fa76e4e3a91f57d4345b3b246e6
Author: Sean B. Palmer <[email protected]>
AuthorDate: Mon Sep 8 20:48:31 2025 +0100
Fix the endpoint to record a distribution using an external publisher
---
atr/blueprints/api/api.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/atr/blueprints/api/api.py b/atr/blueprints/api/api.py
index b71678c..90b3f41 100644
--- a/atr/blueprints/api/api.py
+++ b/atr/blueprints/api/api.py
@@ -584,10 +584,7 @@ async def projects_list() -> DictResponse:
@api.BLUEPRINT.route("/publisher/distribution/record", methods=["POST"])
[email protected]
-@quart_schema.security_scheme([{"BearerAuth": []}])
@quart_schema.validate_request(models.api.PublisherDistributionRecordArgs)
-@quart_schema.validate_response(models.api.PublisherDistributionRecordResults,
200)
async def publisher_distribution_record(data:
models.api.PublisherDistributionRecordArgs) -> DictResponse:
"""
Record a distribution with a corroborating Trusted Publisher JWT.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]