Skip to content

Returns the content entry for a specific id.

GET
/api/content/{contentId}

Authorizations

Parameters

Path Parameters

contentId*
Typestring
Required

Responses

Success
JSON
{
"id": 0,
"name": "string",
"title": "string",
"body": "string",
"lastModified": "string"
}

Samples

cURL
curl -X GET http://localhost/api/content/{contentId}
JavaScript
fetch("http://localhost/api/content/{contentId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/content/{contentId}");
Python
import requests
response = requests.get("http://localhost/api/content/{contentId}")
print(response.json())