How To Use TLDR

 
base_api_url = http://3.22.241.58/
 
Methods
Endpoints
Description
GET
/
Returns a welcome message.
POST
/run
Executes tinygen with required parameters repoUrl and prompt in the request body. Return a unified diff of suggested changes.
GET
/docs
Provides interactive API documentation via Swagger UI.

Example

POST
base_api_url /run
 
*Request body (raw)
{ "repoUrl": "https://github.com/Deniz-Jasa/Python-Project-Euler", "prompt": "add an emoji to the title of the readme." }
 
[200 OK] Response:
{ "diff": "--- \n\n+++ \n\n@@ -1,5 +1,5 @@\n\n File README.md:\n-# Python-Project-Euler-Problem-Set\n+# Python-Project-Euler-Problem-Set ✨\n \n My full solutions to the Project Euler Problem Set in Python 3. I began with some warm up exercise (problems 1-5), then worked on some harder problems lower down the list. Enjoy!\n " }
 

Run in Postman:

 

Complete README API Doc

For a complete README file with comprehensive instructions on accessing this API:
 📄 README