Added REST:/api/index/library?name=lib1 mock endpoint