[API] Fixed the incorrect endpoint for the `termvector` API method