add field api and dev config