Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Resources

Gets available resources for the specified API version, including resource name and URI.

Parameters

  • API version (string, optional)

iOS

Swift
1RestClient.shared.requestForResources()
Objective-C
1- (SFRestRequest *)requestForResources 
2    apiVersion:(nullable NSString *)apiVersion;

Android

Kotlin
1fun getRequestForResources(apiVersion: String?): RestRequest
Java
1public static RestRequest getRequestForResources(String apiVersion)