Open a password-protected project
post/public/site/gate
Open a password-protected project: the password in the body; right answers return the project's markup. Rate limited; the same answer for a wrong password and an unknown project.
Before you call
- Credential
Authorization: Bearer $KEY- Scope
hosting:read- Sdk
hosting.siteGate.open- Cli
hosting site gate open- Publishable
yes
Request bodyapplication/json, required
- sitestring (uuid)required
- pathstringrequiredAt most 120 characters.
- passwordstringrequiredAt most 128 characters.
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring