feat: Change slice url

Signed-off-by: Avior <github@avior.me>
This commit is contained in:
2023-06-28 19:15:34 +02:00
parent ff07f8f4a5
commit b2b829ec54
3 changed files with 268 additions and 263 deletions

View File

@ -16,7 +16,7 @@ add `Authorization: Bearer {token}`
| /api/v1/users/{userId}/configs | POST | configs.create | yes | yes | Add a new configuration to the user |
| /api/v1/users/{userId}/keys | GET | keys.get | yes | no | get the list of API key for the user |
| /api/v1/users/{userId}/keys | POST | keys.create | yes | no | create a new API key for the user |
| /api/v1/users/{userId}/process | POST | slicing.slice | yes | yes | run the main website action |
| /api/v1/slice/{configId} | POST | slice.slice | yes | yes | run the main website action |
endpoints not available through API can still be accessed by admins with the `admin.` prefix to the permission