SchemasApi
@interface SchemasApi : NodeDependant
Provides access to Textile schemas related APIs
-
Add a new schema
Declaration
Objective-C
- (id)add:(id)schemaNode error:(NSError *_Nullable *_Nullable)error;Swift
func add(_ schemaNode: Any!) throws -> AnyParameters
schemaNodeThe node that describes the new schema to add
errorA reference to an error pointer that will be set in the case of an error
Return Value
The FileIndex representing the added schema
View on GitHub
SchemasApi Class Reference