PUT /v1/searchIndexes/{id}/followers
Followers & Votes
Add or remove followers and manage upvotes/downvotes for search indexes to track popularity and enable change notifications using the Collate REST API.
PUT
PUT /v1/searchIndexes/{id}/followers
Followers & Votes
Manage followers and votes for search index entities.Followers
Add Follower
PUT /v1/searchIndexes/{id}/followers
UUID of the search index.
UUID of the user to add as a follower (sent as request body string).
Remove Follower
DELETE /v1/searchIndexes/{id}/followers/{userId}
UUID of the search index.
UUID of the user to remove.
Votes
Add or Update Vote
PUT /v1/searchIndexes/{id}/vote
UUID of the search index.
Vote type:
votedUp, votedDown, or unVoted.PUT /v1/searchIndexes/{id}/followers
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission |
404 | NOT_FOUND | Search index or user does not exist |