Class TextureController

java.lang.Object
org.vrspace.server.api.ApiBase
org.vrspace.server.api.TextureController

@RestController @RequestMapping("/vrspace/api/textures") public class TextureController extends ApiBase
Manages textures known to the server.
Author:
joe
  • Field Details

  • Constructor Details

    • TextureController

      public TextureController()
  • Method Details

    • list

      @GetMapping("/list") public List<String> list()
      List all jpg and png files in content directory hierarchy
    • search

      @GetMapping("/search") public List<String> search(String pattern)
      Search textures that contain given substring