Create new or rename directorypost https://{server}/api2/repos/{repo_id}/dir/ Create: Newly created directory will be renamed if the name is duplicated. Rename: If the new name is the same of the old name no operation will be done.