Skip to content

is admin registered

GET
/api/v1/auth/is-admin-registered

Controller:

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-registered
JavaScript
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())
Powered by VitePress OpenAPI

Made with love
Released under the Functional Source License (FSL)