is admin registered
GET
/api/v1/auth/is-admin-registeredController:
github.com/raghavyuva/nixopus-api/internal/features/auth/controller.(*AuthController).IsAdminRegistered
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middleware
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"data": {
"admin_registered": true
},
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost/api/v1/auth/is-admin-registeredJavaScript
fetch("http://localhost/api/v1/auth/is-admin-registered")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost/api/v1/auth/is-admin-registered");Python
import requests
response = requests.get("http://localhost/api/v1/auth/is-admin-registered")
print(response.json())