We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Obtain the api object using the authentification method explained in Getting Started or in Authentication and connection
contents = api.get_call("content", "list", body={"lang":"en"})
content = api.get_call("content", "get",uid=5386179638984704)
new_content = {"type": "page", "template": content[template], # from existing content or template "customContentType": content["customContentType"], "customer": content["customer"], "instance": content["instance"], "feedKeys": content["feedKeys"], "publicationDate": content[publicationDate], "title": {"en": "created content from api"}, "slug": {"en": "create-content-from-api"}, # WARNING : unique "metadata": [], # if any } new_content_saved = api.get_call("content","save",body=new_content)
Home