GET
/api/v1/auth/providers
const url = 'https://app.monitorly.cloud/api/v1/auth/providers';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://app.monitorly.cloud/api/v1/auth/providersThe sign-in providers on offer, such as Google and GitHub. No sign-in needed.
Authorizations
Section titled “Authorizations”- None
Responses
Section titled “Responses”The providers.
Media typeapplication/json
Array<object>
object
id
required
google or github.
string
name
required
Google, GitHub.
string
Example generated
[ { "id": "example", "name": "example" }]Bad Request.
auth.credentials_conflict: the request carries both a session cookie and a token
Media typeapplication/problem+json
object
detail
string | null
errors
required
Field errors, empty for errors of the whole request.
Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required
JSON pointer into the request body.
string
status
required
integer format: int32
title
required
string
type
required
Stable code, for example check.timeout_exceeds_interval.
string
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}Unauthorized.
token.invalid: the token is malformed, unknown, revoked or expired, or its creator left the workspace
Media typeapplication/problem+json
object
detail
string | null
errors
required
Field errors, empty for errors of the whole request.
Array<object>
object
code
required
string
params
required
object
key
additional properties
pointer
required
JSON pointer into the request body.
string
status
required
integer format: int32
title
required
string
type
required
Stable code, for example check.timeout_exceeds_interval.
string
Example generated
{ "detail": "example", "errors": [ { "code": "example", "params": { "additionalProperty": "example" }, "pointer": "example" } ], "status": 1, "title": "example", "type": "example"}