Read a post
curl --request GET \
--url https://api.sharedgraph.com/api/posts/{id}const options = {method: 'GET'};
fetch('https://api.sharedgraph.com/api/posts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sharedgraph.com/api/posts/{id}"
response = requests.get(url)
print(response.text){
"post": {
"id": "<string>",
"authorActorId": "<string>",
"text": "<string>",
"audience": "public",
"revision": 123,
"createdAt": 123,
"parentId": "<string>",
"rootId": "<string>",
"originApp": {
"id": "<string>",
"name": "<string>"
},
"edited": true,
"lastEditAppId": "<string>",
"lastEditAt": 123,
"parentUnavailable": true,
"rootUnavailable": true
}
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}Social
Read a post
Read a post. Required scope with bearer authority: read.
GET
/
api
/
posts
/
{id}
Read a post
curl --request GET \
--url https://api.sharedgraph.com/api/posts/{id}const options = {method: 'GET'};
fetch('https://api.sharedgraph.com/api/posts/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sharedgraph.com/api/posts/{id}"
response = requests.get(url)
print(response.text){
"post": {
"id": "<string>",
"authorActorId": "<string>",
"text": "<string>",
"audience": "public",
"revision": 123,
"createdAt": 123,
"parentId": "<string>",
"rootId": "<string>",
"originApp": {
"id": "<string>",
"name": "<string>"
},
"edited": true,
"lastEditAppId": "<string>",
"lastEditAt": 123,
"parentUnavailable": true,
"rootUnavailable": true
}
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}{
"error": "unknown_or_immutable_field",
"message": "<string>",
"error_description": "<string>",
"error_uri": "<string>"
}