Add Folders API to API.md, add endpoint