GET resource/get-resource-novelties?resource_id={resource_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
| Name | Description | Type | Additional information |
|---|---|---|---|
| resource_id | globally unique identifier |
Required |
|
| search_date | string |
Required |
|
| community_short_name | string |
Optional |
|
| community_id | globally unique identifier |
Optional |
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| community_short_name |
Community short name |
string |
Required |
| resource_id |
Resource identificator |
globally unique identifier |
Optional |
| title |
Resource title |
string |
Optional |
| description |
Resource description |
string |
Optional |
| tags |
Resource tags |
Collection of string |
Optional |
| categories |
Resource categories |
Collection of globally unique identifier |
Optional |
| resource_type |
Resource type |
integer |
Optional |
| resource_type_names |
Resource type names in different languages |
Collection of ResourceTypeName |
Optional |
| item_type_names |
Item type names in different languages |
Collection of ItemTypeName |
Optional |
| resource_url |
Resource url |
string |
Optional |
| authors |
Resource authors (comma separated) |
string |
Optional |
| visibility |
Resource visibility enumeration |
integer |
Optional |
| readers_list |
Resource readers list |
Collection of ReaderEditor |
Optional |
| editors_list |
Resource editors list |
Collection of ReaderEditor |
Optional |
| creation_date |
Resource creation date in ISO 8601 format |
date |
Optional |
| last_edition_date |
Resource last edition date in ISO 8601 format |
date |
Optional |
| edition_date_by_user |
Resource edition dates in ISO 8601 format by user. |
Collection of ResourceEditionDateByUser |
Optional |
| version_date_by_user |
Resource version dates in ISO 8601 format by user. |
Collection of ResourceVersionDateByUser |
Optional |
| delete_date_by_user |
Resource deleted date in ISO 8601 format by user. |
ResourceDeleteDateByUser |
Optional |
| main_image |
Path of the resource main image |
string |
Optional |
| comments |
Resource version dates in ISO 8601 format by user. |
Collection of CommentModel |
Optional |
| views |
Resource number of views |
integer |
Optional |
| plays |
Resource number of plays |
integer |
Optional |
| downloads |
Resource number of downloads |
integer |
Optional |
| last_view_date |
Resource last view date in ISO 8601 format |
date |
Optional |
| votes |
Resource votes. |
Collection of VoteModel |
Optional |
| shared_on |
Resource sharing. |
Collection of ShareModel |
Optional |
| personal_spaces |
Resource saved to user personal space. |
Collection of PersonalSpaceModel |
Optional |
| link |
If the resource is a link to a web page, this property gets or sets the url of the web page |
string |
Optional |
Response Formats
application/json, text/json
{
"community_short_name": "developers",
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"title": "Why develop with Gnoss framework?",
"description": "GNOSS is a robust, reliable and semantic development environment, which allows you deploying and managing your own knowledge graphs.",
"tags": [
"Gnoss",
"framework",
"develope",
"semantic",
"reliable",
"knowledge",
"graphs"
],
"categories": [
"d1cc64aa-7bc7-4a4b-9c51-1db91c6a17f2"
],
"resource_type": 5,
"resource_url": "http://gnoss.com/Ontologia/Application.owl",
"authors": "Andrew Milton,Kevin Smith",
"visibility": 0,
"editors_list": [
{
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef"
},
{
"user_id": "00000000-0000-0000-0000-000000000000",
"group_short_name": "administrators"
},
{
"user_id": "00000000-0000-0000-0000-000000000000",
"group_short_name": "developers",
"organization_short_name": "gnossteam"
}
],
"creation_date": "2015-05-12T18:23:47.753",
"last_edition_date": "2025-08-17T08:41:52.1064761Z",
"edition_date_by_user": [
{
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"edition_date": "2015-07-09T07:37:17.753",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef"
}
],
"version_date_by_user": [
{
"resource_id": "cde4a08a-6a33-40fe-be0e-edadfd27e456",
"version_date": "2015-05-13T18:13:17.753",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
"previous_version_resource_id": "bbe4a08a-6a33-40fe-be0e-edadfd27e776"
}
],
"delete_date_by_user": {
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"delete_date": "2015-05-13T18:13:17.753",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef"
},
"comments": [
{
"community_short_name": "developers",
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
"html_description": "Good information about the Gnoss framework",
"parent_comment_id": "00000000-0000-0000-0000-000000000000",
"comment_date": "2015-05-13T18:13:17.753"
}
],
"views": 145,
"plays": 0,
"downloads": 0,
"last_view_date": "2025-08-17T08:41:52.1064761Z",
"votes": [
{
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
"vote_date": "2015-05-13T22:13:17.753"
}
],
"shared_on": [
{
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"origin_community_short_name": "developers",
"destiny_community_short_name": "testers",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
"share_date": "2015-05-13T22:13:17.753"
}
],
"personal_spaces": [
{
"resource_id": "abc4a08a-6a33-40fe-be0e-edadfd27e123",
"user_id": "50b7615f-e32d-469d-ad93-d5829ab983ef",
"saved_date": "2015-04-13T18:13:17.753"
}
]
}
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...
