SDK
SDK Dart v2.x
2

getSpecifications #

Returns the validation specifications associated to the given index and collection.


Future<Map<String, dynamic>> getSpecifications(
    String index, String collection)

ArgumentsTypeDescription
index
String
Index name
collection
String
Collection name

Returns #

Returns a Future<Map<String, dynamic>> representing the collection specifications.

Usage #

final result = await kuzzle
  .collection
  .getSpecifications('nyc-open-data', 'yellow-taxi');