Skip to content

List gate sign-in methods

GET
/api/v1/public/gate/methods
curl --request GET \
--url 'https://api.deploybase.eu/api/v1/api/v1/public/gate/methods?host=example'

Public. How a visitor may sign in to a private preview host: “team” (members of the owning team) and “password” (guests). Always 200; an unknown, public or invalid host answers [] exactly like a host while the doorway is off, so the endpoint is no oracle.

host
required
string

Preview hostname

OK

Media type application/json
object
data
meta
object
request_id
string
timestamp
string
trace_id
string
data
object
methods

Methods is a subset of [“team”,“password”]; [] when the host offers nothing (unknown, public, not a preview, or the doorway is off).

Array<string>

Example

{
"data": {
"methods": [
"team",
"password"
]
}
}

Live a8b7eb1d built