public WikiPage updatePage ( Object projectIdOrPath , String slug , String title , String content ) throws GitLabApiException { GitLabApiForm formData = new GitLabApiForm ( ) . withParam ( "title" , title ) . withParam ( "slug" , slug , true ) . withParam ( "content" , content ) ; Response response = put ( Response . Status . OK , formData . asMap ( ) , "projects" , getProjectIdOrPath ( projectIdOrPath ) , "wikis" , slug ) ; return ( response . readEntity ( WikiPage . class ) ) ; }
Updates an existing project wiki page . The user must have permission to change an existing wiki page .