mirror of
https://github.com/dreamstarsky/runbin.git
synced 2026-05-15 14:23:07 +00:00
Fix API documentation to match actual implementation
Co-authored-by: dreamstarsky <150928331+dreamstarsky@users.noreply.github.com>
This commit is contained in:
13
README_EN.md
13
README_EN.md
@@ -228,7 +228,7 @@ Content-Type: application/json
|
||||
|
||||
{
|
||||
"code": "your code here",
|
||||
"language": "cpp",
|
||||
"language": "c++20",
|
||||
"stdin": "input data",
|
||||
"run": true
|
||||
}
|
||||
@@ -238,8 +238,9 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "uuid-string",
|
||||
"message": "Paste created successfully"
|
||||
"message": "Created",
|
||||
"paste_id": "uuid-string",
|
||||
"url": "/api/pastes/uuid-string"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -253,9 +254,9 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": "uuid-string",
|
||||
"ID": "uuid-string",
|
||||
"code": "your code here",
|
||||
"language": "cpp",
|
||||
"language": "c++20",
|
||||
"stdin": "input data",
|
||||
"stdout": "program output",
|
||||
"stderr": "error output",
|
||||
@@ -279,7 +280,7 @@ Response:
|
||||
|
||||
```json
|
||||
{
|
||||
"languages": ["cpp", "python", "java", "go"]
|
||||
"languages": ["c++20"]
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user