FilesApi

io.github.quafadas.dairect.FilesApi
See theFilesApi companion object
trait FilesApi

Attributes

Companion
object
Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def deleteFile(id: String): IO[DeletedFile]
def files(): IO[FileListy]
def getFile(id: String): IO[File]

Concrete methods

def content(id: String): IO[Blob]
def upload(purpose: String, file: Blob): IO[File]

Experimental methods

def content[F[_] : Files](file: Path, authdClient: Resource[IO, Client[IO]], file_id: String): Nothing
Extension method from io.github.quafadas.dairect

Attributes

Experimental
true
def upload[F[_] : Files](file: Path, authdClient: Resource[IO, Client[IO]], purpose: String, baseUrl: String): IO[IO[Nothing] | File]
Extension method from io.github.quafadas.dairect

Attributes

Experimental
true