api: initial commit