File
public struct File : Codable
Undocumented
-
Url encoded full path to new file. Ex. lib%2Fclass%2Erb (required when
POST,PUTorDELETE)Declaration
Swift
public let filePath: String? -
Name of the branch (required when
POST,PUTorDELETE)Declaration
Swift
public let branch: String? -
Name of the branch to start the new commit from
Declaration
Swift
public let startBranch: String? -
Change encoding to ‘base64’. Default is text.
Declaration
Swift
public let encoding: String? -
Specify the commit author’s email address
Declaration
Swift
public let authorEmail: String? -
Specify the commit author’s name
Declaration
Swift
public let authorName: String? -
File content (required when
POST,PUTorDELETE)Declaration
Swift
public let content: String? -
Commit message (required when
POST,PUTorDELETE)Declaration
Swift
public let commitMessage: String? -
Last known file commit id
Declaration
Swift
public let lastCommitID: String?
File Structure Reference