This REST API is designed to provide data about the public history of users who are using the Drahten application.
This API uses a JWT token provided by the Authentication Service for authentication and authorization. The token must be included in every request routed to this API, typically in the Authorization
header.
The request must have the headers:
{
"Authorization": "Bearer <jwtToken>"
}
Endpoint: GET publichistory-service/users/{UserId}/commented-articles/
Endpoint: GET publichistory-service/users/{UserId}/searched-articles/
Endpoint: GET publichistory-service/users/{UserId}/searched-topics/
Endpoint: GET publichistory-service/users/{UserId}/viewed-articles/
Endpoint: GET publichistory-service/users/{UserId}/viewed-users/
Endpoint: POST publichistory-service/users/{UserId}/
Endpoint: POST publichistory-service/users/{UserId}/commented-articles/{ArticleId}/
Endpoint: POST publichistory-service/users/{UserId}/searched-articles/{ArticleId}/
Endpoint: POST publichistory-service/users/{UserId}/searched-topics/{TopicId}/
Endpoint: POST publichistory-service/users/{UserId}/viewed-articles/{ArticleId}/
Endpoint: POST publichistory-service/users/{ViewerUserId}/viewed-users/{ViewedUserId}/
Endpoint: DELETE publichistory-service/users/{ViewerUserId}/viewed-users/{ViewedUserId}/
Endpoint: DELETE publichistory-service/users/{UserId}/commented-articles/{CommentedArticleId}/
Endpoint: DELETE publichistory-service/users/{UserId}/searched-articles/{SearchedArticleDataId}/
Endpoint: DELETE publichistory-service/users/{UserId}/searched-topics/{SearchedTopicDataId}/
Endpoint: DELETE publichistory-service/users/{UserId}/viewed-articles/{ViewedArticleId}/