Returns the content entry for a specific id.
GET
/api/content/{contentId}Authorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
contentId*
Typestring
RequiredResponses
Success
JSON
{
"id": 0,
"name": "string",
"title": "string",
"body": "string",
"lastModified": "string"
}
Authorization
api_key
Variables
Key
Value
contentId*
cURL
curl -X GET \
'http://localhost/api/content/{contentId}'
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())