get categories
GET
/api/v1/extensions/categoriesController:
github.com/raghavyuva/nixopus-api/internal/features/extension/controller.(*ExtensionsController).GetCategories
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal/routes.(*Router).SetupRoutes.(*Router).setupAuthentication.func2github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func1github.com/raghavyuva/nixopus-api/internal/routes.(*Router).applyMiddleware.func3
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"data": [
"string"
],
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost/api/v1/extensions/categoriesJavaScript
fetch("http://localhost/api/v1/extensions/categories")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost/api/v1/extensions/categories");Python
import requests
response = requests.get("http://localhost/api/v1/extensions/categories")
print(response.json())