-
Move all pages in a folder to a new folder
from wikijs import WikiJs client = WikiJs(<endpoint>, <api_key>) OLD_FOLDER = 'OldFolder/' NEW_FOLDER = 'NewFolder/' for page in client.search_pages('', OLD_FOLDER): new_path = page['path'].replace(OLD_FOLDER, NEW_FOLDER, 1) client.move_page(page['id'], new_path, page['locale'])
-
Notifications
You must be signed in to change notification settings - Fork 1
WikiJs Python API client
License
nuno-andre/python-wikijs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
WikiJs Python API client