This REST API is designed to provide data about the private 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 privatehistory-service/users/{UserId}/commented-articles/
Endpoint: GET privatehistory-service/users/{UserId}/liked-articles/
Endpoint: GET privatehistory-service/users/{UserId}/disliked-articles/
Endpoint: GET privatehistory-service/users/{UserId}/liked-article-comments/
Endpoint: GET privatehistory-service/users/{UserId}/disliked-article-comments/
Endpoint: GET privatehistory-service/users/{UserId}/searched-articles/
Endpoint: GET privatehistory-service/users/{UserId}/searched-topics/
Endpoint: GET privatehistory-service/users/{UserId}/topic-subscriptions/
Endpoint: GET privatehistory-service/users/{UserId}/viewed-articles/
Endpoint: GET privatehistory-service/users/{UserId}/viewed-users/
Endpoint: POST privatehistory-service/users/{UserId}/
Endpoint: POST privatehistory-service/users/{UserId}/retention-datetime/
Endpoint: POST privatehistory-service/users/{UserId}/commented-articles/{ArticleId}/
Endpoint: POST privatehistory-service/users/{UserId}/liked-article-comments/{ArticleCommentId}/
Endpoint: POST privatehistory-service/users/{UserId}/disliked-article-comments/{ArticleCommentId}/
Endpoint: POST privatehistory-service/users/{UserId}/searched-articles/{ArticleId}/
Endpoint: POST privatehistory-service/users/{UserId}/searched-topics/{TopicId}/
Endpoint: POST privatehistory-service/users/{UserId}/topic-subscriptions/{TopicId}/
Endpoint: DELETE privatehistory-service/users/{UserId}/topic-subscriptions/{TopicId}/
Endpoint: POST privatehistory-service/users/{UserId}/viewed-articles/{ArticleId}/
Endpoint: POST privatehistory-service/users/{ViewerUserId}/viewed-users/{ViewedUserId}/
Endpoint: DELETE privatehistory-service/users/{ViewerUserId}/viewed-users/{ViewedUserId}/
Endpoint: DELETE privatehistory-service/users/{UserId}/commented-articles/{CommentedArticleId}/
Endpoint: DELETE privatehistory-service/users/{UserId}/searched-articles/{SearchedArticleDataId}/
Endpoint: DELETE privatehistory-service/users/{UserId}/searched-topics/{SearchedTopicDataId}/
Endpoint: DELETE privatehistory-service/users/{UserId}/viewed-articles/{ViewedArticleId}/