Describe

Completely describes the object’s metadata at all levels, including fields, URLs, and child relationships.

Parameters 

  • API version (string)
  • Object type (string)

iOS 

Swift 

Delegate Method

1RestClient.shared.requestForDescribe(withObjectType:)
Block Method

1describe(_:onFailure:onSuccess:)

Objective-C 

Delegate Method

1- (SFRestRequest *)
2          requestForDescribeWithObjectType:(NSString *)objectType
3                                apiVersion:(nullable NSString *)apiVersion;
Block Method

1- (SFRestRequest *) performDescribeWithObjectType:(NSString *)objectType
2	                                 failBlock:(SFRestFailBlock)failBlock
3	                             completeBlock:(SFRestDictionaryResponseBlock)completeBlock;

Android 

Kotlin

1fun getRequestForDescribe(apiVersion: String?, objectType: String?): RestRequest
Java

1public static RestRequest getRequestForDescribe(String apiVersion, String objectType)

See Also 

We've Moved

Welcome to the new home of the Mobile SDK Developer Guide! For now, the Japanese guide can be found in PDF form.