Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MiniSEED ¶
type MiniSEED struct{}
func (*MiniSEED) Bind ¶
func (h *MiniSEED) Bind(rg *gin.RouterGroup, jwtHandler *jwt.GinJWTMiddleware, options *services.Options) error
@Summary MiniSEED Data @Description This API returns a list of MiniSEED files or exports a specific MiniSEED file. This API requires a valid JWT token if the server is in restricted mode. @Router /miniseed [post] @Produce application/json @Produce application/octet-stream @Security ApiKeyAuth @Param action formData string true "Action to be performed, Use `list` to get list of MiniSEED files, `export` to export a specific MiniSEED file." @Param name formData string false "A valid filename of the MiniSEED file to be exported, only required when action is `export`." @Param Authorization header string false "Bearer JWT token, only required when the server is in restricted mode."