Api Rest
El proyecto cuenta con una API privada y publica con el fin de aumentar su rango de acciones y utilidades
Última actualización
El proyecto cuenta con una API privada y publica con el fin de aumentar su rango de acciones y utilidades
Última actualización
Retrieve a nsfw image from the Nekotina API using the specified type.
The type of nsfw image to retrieve.
"hentai"
Nsfw image retrieved successfully
"Nsfw image retrieved successfully"
"https://nekotina.com/nsfw/hentai.jpg"
Retrieve the code content stored in the source bin using a unique ID.
The unique ID of the code content
"5f7b7b7b7b7b7b7b7b7b7b7b"
Code content retrieved successfully
"Code content retrieved successfully"
"console.log('Hello World')"
"javascript"
"Hello World"
Add code to the source bin and get a unique ID to view the code later.
The code content to be added to the source bin.
"console.log('Hello World')"
The language of the code content.
"javascript"
The title of the code content.
"Hello World"
Code added successfully
"Code added successfully"
The unique ID of the code content.
"5f7b7b7b7b7b7b7b7b7b7b7b"
Authenticate a user and return a JWT token for subsequent requests.
"user@example.com"
"secure-password"
User logged in successfully.
Get all sources from the database and return the total count of sources.
All sources from the database
Register a new user in the API and generate a JWT token.
"user@example.com"
"secure-password"
"John Doe"
"123456789"
User registered successfully.
Retrieve user data from the API using the provided JWT token.
ID of the user to retrieve.
"userId123"
User data retrieved successfully.
"userId123"
"123456789"
"John Doe"
"2024-08-30T14:53:44.077Z"
"user"
"user@example.com"
"hashed-password"
Delete a specific order by its ID from the database.
ID of the order to delete.
"cld8h89qw0000pmp59ts0b89d"
Order successfully deleted.
Delete a specific crypto bot by its token from the database.
Token of the crypto bot to delete.
"some-unique-token"
Crypto bot successfully deleted.
Returns a welcome message and server status including platform and port.
Welcome message and server status
"Welcome to the API!"
Retrieve all crypto bots from the database and return the total count and the list of bots.
All crypto bots from the database
Retrieve all orders from the database and return the total count and the list of orders.
All orders from the database
Update the enabled status of a specific crypto bot by its token.
Token of the crypto bot to edit.
"some-unique-token"
New enabled status of the bot.
true
Crypto bot successfully updated.
Update the status of a specific order by its ID.
ID of the order to edit.
"cld8h89qw0000pmp59ts0b89d"
New status of the order.
"approved"
Order successfully updated.