The game will provide tools for creating levels to developers.
Each developer will ask before starting a level for a level namespace. This is, an identifier to avoid collisions with other levels developed by other developers.
So instead of calling to the level endpoint:
http://localhost/actions/openDoor
With the namespace (example: namespace-2302) obtained before starting the development of the level the endpoint will be something like:
http://localhost/namespace-2302/actions/openDoor
Being /actions/openDoor a endpoint defined inside the level.
The management of namespaces should be transparent to developers. They should configure the namespace obtained in a variable and use game defined APIs to make routing.
The developers platform will be in the following repository:
The game will provide tools for creating levels to developers. Each developer will ask before starting a level for a level namespace. This is, an identifier to avoid collisions with other levels developed by other developers.
So instead of calling to the level endpoint:
http://localhost/actions/openDoor
With the namespace (example: namespace-2302) obtained before starting the development of the level the endpoint will be something like:
http://localhost/namespace-2302/actions/openDoor
Being /actions/openDoor a endpoint defined inside the level.
The management of namespaces should be transparent to developers. They should configure the namespace obtained in a variable and use game defined APIs to make routing.
The developers platform will be in the following repository: