Closed kennedyjosh closed 1 year ago
Hi @kennedyjosh, thank you for pointing this out. The information you mentioned is only true for our legacy SDKs. The newer SDKs build 2022 and beyond are defaulted to use https://api2.amplitude.com/2/httpapi/
. We'll update our docs.
Hi @kennedyjosh, we just update our docs. The changes will be live soon. We are listing all the required endpoints for different SDKs. Thanks.
@yuhao900914 is there somewhere I can report additional documentation bugs?
@kennedyjosh is it related to Kotlin? Feel free to leave it in Kotlin repo, or you can create a issue at https://github.com/Amplitude-Developer-Docs/amplitude-dev-center
On this page from the Amplitude documentation it says that the SDKs have custom payloads and their own endpoint that differs from the standard HTTP endpoint. Specifically, it claims that the SDKs should use endpoint at
https://api2.amplitude.com/
instead ofhttps://api2.amplitude.com/2/httpapi/
.However, the
DEFAULT_API_HOST
(ifsetServerUrl
is not used) seems to be the http endpoint. Why is this?