def get_templates(): client = ContentfulClient() templates = client.get_templates() return ModelSerializer.serialize_list(templates)
def get_messages(): client = ContentfulClient() messages = client.get_messages() return ModelSerializer.serialize_list(messages)
def get_blueprints(): client = ContentfulClient() blueprints = client.get_blueprints() return ModelSerializer.serialize_list(blueprints)