GET user/get-user-novelties?user_id={user_id}&search_date={search_date}&community_short_name={community_short_name}&community_id={community_id}

Request Information

Headers

HTTP_AUTHORIZATION: Required. OAuth 1.0 parameters with the OAuth signature of the url you are going to request. The consumer keys and access token can be obtained from the community administration.

Sample:
        HTTP_AUTHORIZATION:
            OAuth oauth_token="CObXqjfOisVh9%2F2GjC7NNd8BCzY%3D",
            oauth_consumer_key="clGACsiGaMp%2FD%2BUwkSvRBxA1k50%3D",
            oauth_nonce="VqKza6d5x1HpPQWFe08spbdOnkTQpfaLfD9Oeuyg",
            oauth_signature_method="HMAC-SHA1",
            oauth_timestamp="1462882011",
            oauth_signature="RH5aKKKJaEvK5cIsZZzXtFh7cCk%3D"
    

URI Parameters

NameDescriptionTypeAdditional information
user_id

globally unique identifier

Required

search_date

string

Required

community_short_name

string

Optional

community_id

globally unique identifier

Optional

Response Information

Resource Description

NameDescriptionTypeAdditional information
user_id

User identificator

globally unique identifier

Required

community_subscriptions

User subscriptions to community categories.

CommunitySubscriptionModel

Required

user_subscriptions

User subscriptions to another user.

Collection of UserSubscriptionModel

Required

user_community_membership

User info about community membership.

UserCommunityMembership

Optional

Response Formats

application/json, text/json

Sample:
{
  "user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
  "community_subscriptions": {
    "user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
    "community_short_name": "developers",
    "category_list": [
      {
        "category_id": "303d6b2c-ba60-4aef-a76f-e624095f3d69",
        "category_name": "Educative applications",
        "parent_category_id": "00000000-0000-0000-0000-000000000000"
      }
    ]
  },
  "user_subscriptions": [
    {
      "user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
      "user_followed_id": "80c1515f-e32d-469d-ad93-d5829ab983ef",
      "community_short_name": "developers",
      "subscription_date": "2024-11-20T00:04:12.637866Z"
    }
  ],
  "user_community_membership": {
    "user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
    "community_short_name": "developers",
    "registration_date": "2015-05-12T00:00:00",
    "administrator_rol": false
  }
}

Response HTTP status code

On success, the response contains 200 code.

On fail, throws a WebException with code:

  • 401 Unauthorized if the OAuth signature is invalid
  • 400 Bad Request if the params are invalid
  • 500 Internal server error if something goes wrong...