Patent attributes
Methods and systems for implementing multi-endpoint methods are disclosed. For example, an Application Programming Interface (“API”) executing on a processor receives a first request to execute a first method. The API processes the first request with an active context including a list of implementations, the list including one or more implementations of a plurality of implementations respectively associated with a plurality of endpoints including a first endpoint and a first implementation. The API is determined to be executing in either a preferential mode or a strict mode. In preferential mode the API selects preferential implementation from the plurality of implementations. In strict mode, the API selects a selected implementation from the list of implementations. The API either selects the first implementation or a preferred implementation. The first request is then processed by either the first endpoint or another endpoint associated with the preferential implementation.