...
No, you can not override an existing API, which is globally accessible. However, if needed you can create a new global API. For more information, see Adding a New Global API.
Why
...
do we always need a lifecycle state named "initial" in a lifecycle definition?
When defining an asset via an RXTa lifecycle via a SCXML, you can specify the permissions that are allowed at each state in the lifecycle. Furthermore, when The first state in a lifecycle needs to always be initial
as ES needs to maintain this virtual state to execute the initial permission logic when the initial state change occurs. When an asset is created, ES automatically promotes it the asset from the initial
state to the created
state and assigns the respective permissions. The Note that the initial
state is added in a lifecycle, so that ES can define the permissions that need to be assigned when the asset is in the created
state, which a virtual state and that the created
state is the first logical state.
...
Questions regarding locations of key ES files and directories
...