Native replacement of the legacy my /auth used by the appliance enterprise feeds (distfeed, ns-signatures-proxy, blacklists) via forwardAuth. Returns 200 when the system credentials belong to a valid subscription; unknown, unregistered, suspended and deleted systems get 401 (same semantics as the legacy nethserver_basic_auth.php).
GET
/auth
curl \
--request GET 'https://collect.your-domain.com/api/auth' \
--user "username:password"
Response examples (200)
{
"code": 200,
"message": "authorized",
"data": {}
}
Response examples (401)
{
"code": 401,
"message": "invalid token",
"data": {}
}
Response examples (500)
{
"code": 500,
"message": "internal server error",
"data": {}
}