GET resource/get-resource?resource_id={resource_id}&community_short_name={community_short_name}
Get a specific resource by its own identifier and community short name where it belongs.
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 |
Resource identifier |
globally unique identifier |
Required |
| community_short_name |
Community short name |
string |
Required |
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| community_short_name |
Community short name |
string |
Optional |
| resource_id |
Resource identifier |
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_url |
Resource url |
string |
Optional |
| ontology |
Ontology |
string |
Optional |
| resource_attached_files |
Resource attached files |
Collection of AttachedResource |
Optional |
| authors |
Resource authors (comma separated) |
string |
Optional |
| url_screenshot |
Url to make a screenshot |
string |
Optional |
| predicate_screenshot |
Screenshot predicate |
string |
Optional |
| screenshot_sizes |
Screenshot posible sizes |
Collection of integer |
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 |
date |
Optional |
| main_image |
Path of the resource main image |
string |
Optional |
| lecturaAumentada | AumentedReading |
Optional |
|
| link | string |
Optional |
Response Formats
application/json, text/json
{
"community_short_name": "sample string 1",
"resource_id": "efa6fdba-cd11-414a-844e-3815c69acb74",
"title": "sample string 3",
"description": "sample string 4",
"tags": [
"sample string 1",
"sample string 2"
],
"categories": [
"b0c32183-75aa-45c0-a508-6ef07e95e4be",
"fd6b6e17-a5d7-428c-82c2-0e21f438abaf"
],
"resource_type": 5,
"resource_url": "sample string 6",
"ontology": "sample string 7",
"resource_attached_files": [
{
"file_rdf_property": "sample string 1",
"file_property_type": 2,
"rdf_attached_file": "QEA=",
"delete_file": true
},
{
"file_rdf_property": "sample string 1",
"file_property_type": 2,
"rdf_attached_file": "QEA=",
"delete_file": true
}
],
"authors": "sample string 8",
"url_screenshot": "sample string 9",
"predicate_screenshot": "sample string 10",
"screenshot_sizes": [
1,
2
],
"visibility": 11,
"readers_list": [
{
"user_id": "fba280b5-cabf-4ba4-8ccd-fcea60a81578",
"user_short_name": "sample string 2",
"group_short_name": "sample string 3",
"organization_short_name": "sample string 4"
},
{
"user_id": "fba280b5-cabf-4ba4-8ccd-fcea60a81578",
"user_short_name": "sample string 2",
"group_short_name": "sample string 3",
"organization_short_name": "sample string 4"
}
],
"editors_list": [
{
"user_id": "fba280b5-cabf-4ba4-8ccd-fcea60a81578",
"user_short_name": "sample string 2",
"group_short_name": "sample string 3",
"organization_short_name": "sample string 4"
},
{
"user_id": "fba280b5-cabf-4ba4-8ccd-fcea60a81578",
"user_short_name": "sample string 2",
"group_short_name": "sample string 3",
"organization_short_name": "sample string 4"
}
],
"creation_date": "2025-08-19T19:41:51.5094003+02:00",
"main_image": "sample string 12",
"lecturaAumentada": {
"title": "sample string 1",
"description": "sample string 2"
},
"link": "sample string 13"
}
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...
