Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RetrieveReadOnlySinceObjectMetaData ¶
func RetrieveReadOnlySinceObjectMetaData(m *manager.Manager) http.HandlerFunc
RetrieveReadOnlySinceObjectMetaData godoc @BasePath /api/v1/readonly GetObjectHead godoc @Summary Get object data locally @Description Returns the metadata/HEAD of the objects that have been created since a certain time @Tags objects @Param since query string true "The unix time since all objects returned should have been created after" @Success 200 @Failure 400 {object} HTTPClientError @Failure 502 {object} HTTPServerError
Types ¶
type HTTPClientError ¶
type HTTPClientError struct { Code int `json:"code" example:"400"` Message string `json:"message" example:"status bad request"` }
HTTPClientError returned when a client error occurs
type HTTPServerError ¶
type HTTPServerError struct { Code int `json:"code" example:"502"` Message string `json:"message" example:"status server error"` }
HTTPServerError returned when a server error occurs
Click to show internal directories.
Click to hide internal directories.