Filestack Documentation

Structure Policy​Call

public struct PolicyCall: OptionSet  

Represents a policy call type.

See Creating Policies for more information about policy calls.

PolicyCall PolicyCall OptionSet OptionSet PolicyCall->OptionSet

Conforms To

OptionSet

Initializers

init(raw​Value:​)

public init(rawValue: Int)  

Properties

pick

public static let pick  

Allows users to upload files.

read

public static let read  

Allows files to be viewed/accessed.

stat

public static let stat  

Allows metadata about files to be retrieved.

write

public static let write  

Allows use of the write function.

write​URL

public static let writeURL  

Allows use of the writeUrl function.

store

public static let store  

Allows files to be written to custom storage.

convert

public static let convert  

Allows transformation (crop, resize, rotate) of files, also needed for the viewer.

remove

public static let remove  

Allows removal of Filestack files.

exif

public static let exif  

Allows exif metadata to be accessed.

run​Workflow

public static let runWorkflow  

Allows workflows to be run.

raw​Value

public let rawValue: Int