Endpoint
struct Endpoint
Undocumented
-
Undocumented
Declaration
Swift
public var method: String
-
Undocumented
Declaration
Swift
public var path: String
-
Undocumented
Declaration
Swift
public var body: Data?
-
Undocumented
Declaration
Swift
public var queryItems: [URLQueryItem]?
-
Undocumented
Declaration
Swift
public static func create<T>(type: String, fields: [String : T]) throws -> Endpoint where T : Encodable
-
Undocumented
Declaration
Swift
public static func read(type: String, id: String, fields: [String]? = nil) -> Endpoint
-
Undocumented
Declaration
Swift
public static func update<T>(type: String, id: String, fields: [String : T]) throws -> Endpoint where T : Encodable
-
Undocumented
Declaration
Swift
public static func delete(type: String, id: String) -> Endpoint
-
Undocumented
Declaration
Swift
public static func describe(type: String) -> Endpoint
-
Undocumented
Declaration
Swift
public static var describeAll: Endpoint { get }