Steps to reproduce.
Create a new sprite $SPRITE_NAME
Run the example from the docs:
curl -X PUT
-H "Authorization: Bearer $SPRITE_TOKEN"
-H "Content-Type: application/json"
-d '{"args":["-m","http.server","8000"],"cmd":"python","http_port":8000,"needs":["postgres"]}'
"https://api.sprites.dev/v1/sprites/$SPRITE_NAME/services/$SERVICE_NAME"
Returns "service name required".
Same with basic services
curl -X PUT
-H "Authorization: Bearer $SPRITE_TOKEN"
-H "Content-Type: application/json"
-d '{"name":"testservice","cmd":"/bin/sh","args":["-c","echo hello"],"needs":[]}'
"https://api.sprites.dev/v1/sprites/$SPRITE_NAME/services/$SERVICE_NAME"
Returns "service name required"