getProfileMapping #
Gets the mapping of the internal security profiles collection.
Future<Map<String, dynamic>> getProfileMapping()
Return #
An object representing the internal profiles mapping, using Elasticsearch mapping format.
Usage #
final result = await kuzzle.security.getProfileMapping();
/*
{ mapping:
{ policies:
{ properties:
{ restrictedTo:
{ properties:
{ collections:
{ type: 'text',
fields: { keyword: { type: 'keyword', ignore_above: 256 } } },
index:
{ type: 'text',
fields: { keyword: { type: 'keyword', ignore_above: 256 } } } } },
roleId: { type: 'keyword' } } } } }
*/
Edit this page on Github(opens new window)