mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
docs: section-prefix tool API endpoints
This commit is contained in:
@@ -4,7 +4,7 @@ Split a single image into grid tiles by column/row count or by specific pixel di
|
||||
|
||||
## API Endpoint
|
||||
|
||||
`POST /api/v1/tools/split`
|
||||
`POST /api/v1/tools/image/split`
|
||||
|
||||
## Parameters
|
||||
|
||||
@@ -20,7 +20,7 @@ Split a single image into grid tiles by column/row count or by specific pixel di
|
||||
## Example Request
|
||||
|
||||
```bash
|
||||
curl -X POST http://localhost:1349/api/v1/tools/split \
|
||||
curl -X POST http://localhost:1349/api/v1/tools/image/split \
|
||||
-F "file=@large-image.png" \
|
||||
-F 'settings={"columns":3,"rows":3,"outputFormat":"png"}' \
|
||||
--output split-tiles.zip
|
||||
|
||||
Reference in New Issue
Block a user