URL
public extension URL
-
Creates a valid
URLbased on configuration’sapiBaseURLandendpointpathDeclaration
Swift
static func boxAPIEndpoint(_ endpoint: String, configuration: BoxSDKConfiguration) -> URLParameters
endpointThe relative path that will be appended to
apiBaseURLconfigurationThe SDK configuration that provides
apiBaseURLURLReturn Value
The URL of the API endpoint.
-
Creates a valid
URLbased on configuration’suploadApiBaseURLandendpointpathDeclaration
Swift
static func boxUploadEndpoint(_ endpoint: String, configuration: BoxSDKConfiguration) -> URLParameters
endpointThe relative path that will be appended to
uploadApiBaseURLconfigurationThe SDK configuration that provides
uploadApiBaseURLURLReturn Value
The URL of the upload API endpoint.
URL Extension Reference