Sparkbooth Benutzername
+Photobooth Benutzername
{{ $username }}
-Eintragen im Sparkbooth Custom Upload Dialog unter „Username“.
+Eintragen im Photobooth Uploader unter „Benutzername“.
Sparkbooth Passwort
+Photobooth Passwort
{{ $password }}
-Eintragen unter „Password“.
+Eintragen im Photobooth Uploader unter „Passwort“.
Antwortformat
{{ $format }}
-In Sparkbooth „JSON Response“ oder „XML Response“ passend auswählen.
+Im Photobooth Uploader das passende Antwort-Format auswählen.
Sparkbooth Hinweise
+Photobooth Hinweise
Sparkbooth Benutzername
+Photobooth Benutzername
{{ $result['sparkbooth_username'] }}
-Eintragen in Sparkbooth ➜ Settings ➜ Upload ➜ Custom Upload ➜ Username.
+Eintragen im Photobooth Uploader unter „Benutzername“.
Sparkbooth Passwort
+Photobooth Passwort
{{ $result['sparkbooth_password'] }}
-Eintragen in Sparkbooth unter „Password“.
+Eintragen im Photobooth Uploader unter „Passwort“.
Standard-Antwortformat
{{ strtoupper($result['response_format']) }}
-Muss mit der Auswahl „JSON Response“ oder „XML Response“ in Sparkbooth übereinstimmen.
+Muss mit dem Antwort-Format im Photobooth Uploader übereinstimmen.
Optional: Für bestehende Integrationen nutzbar (Feld „token“).
Sparkbooth Hinweise
+Photobooth Hinweise
Sparkbooth Beispiel (Custom Upload)
+Photobooth Uploader Beispiel
curl -X POST {{ $result['upload_url'] }} \
-F "media=@your-photo.jpg" \
diff --git a/routes/api.php b/routes/api.php
index 2cf461d..138a09e 100644
--- a/routes/api.php
+++ b/routes/api.php
@@ -27,9 +27,9 @@ Route::middleware('auth:sanctum')->get('/user', function (Request $request) {
Route::get('/ai-status', [AiStatusController::class, 'checkStatus']);
Route::post('/ai-status/update', [AiStatusController::class, 'checkAndUpdateStatus']);
-Route::post('/sparkbooth/upload', [SparkboothUploadController::class, 'store'])
+Route::post('/v1/photobooth/upload', [SparkboothUploadController::class, 'store'])
->middleware('throttle:30,1')
- ->name('api.sparkbooth.upload');
+ ->name('api.photobooth.upload');
Route::post('/admin/navigation-state', [NavigationStateController::class, 'store'])->middleware('auth:sanctum');
diff --git a/tests/Feature/Filament/SparkboothConnectionsTest.php b/tests/Feature/Filament/PhotoboothConnectionsTest.php
similarity index 91%
rename from tests/Feature/Filament/SparkboothConnectionsTest.php
rename to tests/Feature/Filament/PhotoboothConnectionsTest.php
index 42020f8..30b1488 100644
--- a/tests/Feature/Filament/SparkboothConnectionsTest.php
+++ b/tests/Feature/Filament/PhotoboothConnectionsTest.php
@@ -2,7 +2,7 @@
namespace Tests\Feature\Filament;
-use App\Filament\Pages\SparkboothConnections;
+use App\Filament\Pages\PhotoboothConnections;
use App\Models\Gallery;
use App\Models\Role;
use App\Models\User;
@@ -11,7 +11,7 @@ use Illuminate\Foundation\Testing\DatabaseTransactions;
use Livewire\Livewire;
use Tests\TestCase;
-class SparkboothConnectionsTest extends TestCase
+class PhotoboothConnectionsTest extends TestCase
{
use DatabaseTransactions;
@@ -36,7 +36,7 @@ class SparkboothConnectionsTest extends TestCase
$gallery->setUploadToken('tokentest');
$gallery->save();
- Livewire::test(SparkboothConnections::class)
+ Livewire::test(PhotoboothConnections::class)
->callTableAction('deleteConnection', $gallery);
$updated = $gallery->fresh();
diff --git a/tests/Feature/SparkboothUploadTest.php b/tests/Feature/SparkboothUploadTest.php
index a95b04c..6a52113 100644
--- a/tests/Feature/SparkboothUploadTest.php
+++ b/tests/Feature/SparkboothUploadTest.php
@@ -27,7 +27,7 @@ class SparkboothUploadTest extends TestCase
$file = UploadedFile::fake()->image('photo.jpg', 800, 600);
- $response = $this->postJson(route('api.sparkbooth.upload'), [
+ $response = $this->postJson(route('api.photobooth.upload'), [
'username' => 'spark-user',
'password' => 'secret-123',
'media' => $file,
@@ -66,7 +66,7 @@ class SparkboothUploadTest extends TestCase
$file = UploadedFile::fake()->image('photo.jpg', 800, 600);
- $response = $this->post(route('api.sparkbooth.upload'), [
+ $response = $this->post(route('api.photobooth.upload'), [
'username' => 'spark-user',
'password' => 'wrong',
'media' => $file,
@@ -96,7 +96,7 @@ class SparkboothUploadTest extends TestCase
$binary = base64_encode(file_get_contents($fake->getRealPath()));
$dataUri = 'data:image/png;base64,'.$binary;
- $response = $this->postJson(route('api.sparkbooth.upload'), [
+ $response = $this->postJson(route('api.photobooth.upload'), [
'token' => $token,
'media' => $dataUri,
'filename' => 'custom.png',