Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetView ¶
func GetView() gin.HandlerFunc
@Summary Get view @Schemes @Description Get view @Tags view @Accept application/json @Produce application/json @Success 200 {object} apiview.View @Failure 403 {object} rorerror.ErrorData @Failure 401 {object} rorerror.ErrorData @Failure 500 {object} rorerror.ErrorData @Router /v2/views/{viewid} [get] @Param viewid path string true "The ID of the view to retrieve" @Param limit query int false "Number of items to return, if set to -1, only metadata is returned" @Param offset query int false "Number of items to skip before starting to collect the result set" @Param sort query string false "Comma separated list of fields to sort by (e.g. name,-date)" @Param filter query string false "Filter expression (e.g. name==example*,date>2020-01-01)" @Param fields query string false "Comma separated list of extra fields to include in the response (e.g. workorder,branch,testfield1)" @Security ApiKey || AccessToken
func GetViews ¶
func GetViews() gin.HandlerFunc
@Summary Get view @Schemes @Description Get view @Tags view @Accept application/json @Produce application/json @Success 200 {object} []apiview.ViewMetadata @Failure 403 {object} rorerror.ErrorData @Failure 401 {object} rorerror.ErrorData @Failure 500 {object} rorerror.ErrorData @Router /v2/views [get] @Security ApiKey || AccessToken
Types ¶
This section is empty.