Skip to content
Vessios Docs
English
Esc
navigateopen⌘Jpreview

Pubsub Push

Pub/Sub push 受信(OIDC・Cloud Run platform auth で保護、gateway-origin 除外)。 エンベロープを decode し worker_main.route_message に委譲する(ルーティングの単一真実)。 2xx=ack。UC 例外は伝播させ非2xxで Pub/Sub に再試行/DLQ させる。

POST/pubsub/push
Header parameters
authorizationstring | any
Request body
requiredapplication/json
messageobject
default: {}
subscriptionstring
default: ""
Responses
200Successful Response
any
422Validation Error
detailValidationError[]
Show properties
Array of ValidationError
locstring | integer[]required
Show properties
Array of string | integer
Any of:
string
string
integer
integer
msgstringrequired
typestringrequired
Request
curl -X POST "/pubsub/push" \
  -H "Content-Type: application/json" \
  -d '{
  "message": {},
  "subscription": ""
}'
Response
"string"