generated from recursivezero/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
add 2 endpoint and it should run using poetry run tiny api
Describe the solution you'd like
- shorten api
- API endpoint :
/shorten - Method : POST
- Request :
{
"url" : "http://abcd.com"
}- Response
{
"input_url" : "http://abcd.com",
"output_url" : "http://<domain name>/Kaq5w1",
"created_on":"timestamp"
}2.version api
- API endpoint :
/version - Method : GET
- Response :
{
"version":0.0.1
}Describe alternatives you've considered
Using existing sample repositories for reference https://github.com/recursivezero/sample-py
Additional context
This API will improve usability and allow integration with frontend or third-party services
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request