@Path(value="/system/indexer/indices/templates") @Produces(value="application/json") public class IndexTemplatesResource extends RestResource
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexTemplatesResource.IndexTemplateResponse |
configuration, userService| Constructor and Description |
|---|
IndexTemplatesResource(Indices indices,
IndexSetRegistry indexSetRegistry) |
| Modifier and Type | Method and Description |
|---|---|
IndexTemplatesResource.IndexTemplateResponse |
get(@NotBlank String indexSetId) |
Set<IndexTemplatesResource.IndexTemplateResponse> |
getAll() |
IndexTemplatesResource.IndexTemplateResponse |
sync(@NotBlank String indexSetId) |
Set<IndexTemplatesResource.IndexTemplateResponse> |
syncAll() |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public IndexTemplatesResource(Indices indices, IndexSetRegistry indexSetRegistry)
@GET
@Path(value="{indexSetId}")
@Timed
public IndexTemplatesResource.IndexTemplateResponse get(@PathParam(value="indexSetId") @NotBlank
@NotBlank String indexSetId)
@GET @Timed public Set<IndexTemplatesResource.IndexTemplateResponse> getAll()
@POST
@Path(value="{indexSetId}/update")
@Timed
public IndexTemplatesResource.IndexTemplateResponse sync(@PathParam(value="indexSetId") @NotBlank
@NotBlank String indexSetId)
@POST @Path(value="update") @Timed public Set<IndexTemplatesResource.IndexTemplateResponse> syncAll()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.