I’m using the api to publish ou domains under my website, but it will only publish WF’s default domain.
I hit /sites/:site_id/publish endpoint properly, passing an array with all my domains. The response is queued: true. WF default domain is instantly published, the other’s won’t publish at all.
Is this something that have occurred to anyone else before?
What does your API request look like? In testing, I made this request:
curl https://api.webflow.com/sites/566f78812c8c39a5650421fc/publish \
-H "Authorization: Bearer $censored$" \
-H 'accept-version: 1.0.0' \
-H "Content-Type: application/json" \
"domains": ["testing-default.$censored$.org", "testing-not-default.$censored$.org"]
and both domains were successfully published.
Hey Nathan, thanks for replying, mine looks like this
curl -XPOST -H 'Accept-Version: 1.0.0'
-H 'Authorization: Bearer TOKEN'
-H "Content-type: application/json"
It only publishes the webflow domain