Resolves #31131. It uses the the go-swagger `enum` property to document the activity action types.
Close #5666 Add APIs for getting activity feeds.