Skip to content

Get details on a hidden forum post

GET
/api/forum/post/{postId}/hide

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

postId*
Typestring
Required

Responses

success
Authorization
api_key
Variables
Key
Value
postId*
cURL
curl -X GET \
'http://localhost/api/forum/post/{postId}/hide'

Samples

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