get settings
GET
/api/v1/user/settingsController:
github.com/raghavyuva/nixopus-api/internal/features/user/controller.(*UserController).GetSettings
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func1github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func2
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"data": null,
"error": "string",
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost:8080/api/v1/api/v1/user/settingsJavaScript
fetch("http://localhost:8080/api/v1/api/v1/user/settings")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost:8080/api/v1/api/v1/user/settings");Python
import requests
response = requests.get("http://localhost:8080/api/v1/api/v1/user/settings")
print(response.json())