Search
K
Secure Simple API

Welcome Message

Returns welcome message

get
https://kong.nonamesec.org/secure/home

Response

200 application/json

Returns welcome message

messagestring

Example:Welcome No Name Security!

get/secure/home
 
200 application/json

Users

User management endpoints

Get All Users

Retrieves all users with their complete information including sensitive data

get
https://kong.nonamesec.org/secure/users

Response

200 application/json

List of all users

total_usersinteger

Example:4

usersobject
get/secure/users
 
200 application/json

User Login

Authenticate user and receive session token

post
https://kong.nonamesec.org/secure/login

Body

application/json
emailstring(email)required

Example:sergio@company.com

passwordstring(password)required

Example:SuperSecret123!

Response

200 application/json

Login successful

successboolean

Example:true

messagestring

Example:Login successful

session_tokenstring

Example:a2cbce88465d6b36229e48e11f186e89b31aec7c79643cadb442a565ff546b6

userobject
Show Child Parameters
post/secure/login

Body

{ "email": "sergio@company.com", "password": "SuperSecret123!" }
 
200 application/json

Get User Settings

Retrieves user settings with authorization check

get
https://kong.nonamesec.org/secure/user/{user_id}/settings

Path Parameters

user_idintegerrequired

Example:22

Response

200 application/json

User settings with masked sensitive data

user_idstring

Example:22

settingsobject
Show Child Parameters
get/secure/user/{user_id}/settings
 
200 application/json