If the title is changed, the file will be renamed to match the new title.

$.ajax({
	type: 'PUT',
  url: '/api/page/foo.md',
  data: {
  	meta: JSON.stringify({
      title: 'Rick and Morty'
    }),
    content: '# wubalubadubdub'
  }
});
Language
Click Try It! to start a request and see the response here!