platform api