add _api endpoint for pocket-uikit