API Security API
Get a security scheme
| Path | Method | Protected |
|---|---|---|
/v1/api/security/{project_id}/{security_scheme_identifier} | GET | Yes |
Get a security scheme by name
Example Response JSON
{
"providerType": "Google",
"schemeIdentifier": "string",
"clientId": "string",
"clientSecret": "string",
"redirectUrl": "string",
"scopes": [
"string"
]
}Create a security scheme
| Path | Method | Protected |
|---|---|---|
/v1/api/security/{project_id} | POST | Yes |
Example Request JSON
{
"providerType": "Google",
"schemeIdentifier": "string",
"clientId": "string",
"clientSecret": "string",
"redirectUrl": "string",
"scopes": [
"string"
]
}Example Response JSON
{
"providerType": "Google",
"schemeIdentifier": "string",
"clientId": "string",
"clientSecret": "string",
"redirectUrl": "string",
"scopes": [
"string"
]
}API Security API Errors
| Status Code | Description | Body |
|---|---|---|
| 400 | {"errors":["string"]} | |
| 401 | {"error":"string"} | |
| 403 | {"error":"string"} | |
| 404 | {"error":"string"} | |
| 409 | {"error":"string"} | |
| 500 | {"error":"string","workerError":{"cause":"string","stderr":"string"}} |