flask_restful_dbbase.resources.CollectionModelResource.get_meta

classmethod CollectionModelResource.get_meta(method=None)

This function returns the settings for the resource.

Parameters:

method – (str : None) : choices are get/post/put/patch/delete.

Returns:

meta_data (dict) – A dict with the resource characteristics. If a method is preferred, the focus will be narrowed to that method.

The intent of this function is to show relevant information for someone interacting with an API.