feat(integerations): add route to get user details (#4030)

* feat(integerations): add route to get user details

* Commit updated API documentation

* test(integrations): implement unit test for get user details

---------

Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
Varun Gujarathi
2024-11-26 14:30:33 -05:00
committed by GitHub
parent 2c2bf2b5bb
commit d135d2907a
7 changed files with 622 additions and 357 deletions

View File

@@ -74,3 +74,7 @@ func GetUserDetails(w http.ResponseWriter, r *http.Request) {
utils.InternalErrorHandler(w, err)
}
}
func ExternalGetUserDetails(integration models.ExternalAPIUser, w http.ResponseWriter, r *http.Request) {
GetUserDetails(w, r)
}