Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SdRefreshRequest.go « octoprintApis - github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 92c6dbf4ac207ad2b8e98836ab40efdf472bfeb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package octoprintApis

import (
	// "bytes"
	// "encoding/json"
	// "fmt"
	// "io"
	// "strings"

	// "github.com/Z-Bolt/OctoScreen/octoprintApis/dataModels"
)


// SdRefreshRequest Refreshes the list of files stored on the printer’s SD card.
type SdRefreshRequest struct{}

// Do sends an API request and returns an error if any.
func (cmd *SdRefreshRequest) Do(c *Client) error {
	return doCommandRequest(c, PrinterSdApiUri, "refresh", PrintSdErrors)
}