Exemple #1
0
def get_templates():
    client = ContentfulClient()
    templates = client.get_templates()
    return ModelSerializer.serialize_list(templates)
Exemple #2
0
def get_messages():
    client = ContentfulClient()
    messages = client.get_messages()
    return ModelSerializer.serialize_list(messages)
Exemple #3
0
def get_blueprints():
    client = ContentfulClient()
    blueprints = client.get_blueprints()
    return ModelSerializer.serialize_list(blueprints)