Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Public API Reference
Public API details and usage examples for the Members Portal
Posts a new comment on a published article on behalf of the authenticated customer.
cURL
curl --request POST \ --url https://spaces.nexudus.com/api/public/blogPosts/{postId}/comments \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "comment": "<string>" } '
import requests url = "https://spaces.nexudus.com/api/public/blogPosts/{postId}/comments" payload = { "comment": "<string>" } headers = { "Authorization": "Basic <encoded-value>", "Content-Type": "application/json" } response = requests.post(url, json=payload, headers=headers) print(response.text)
const options = { method: 'POST', headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'}, body: JSON.stringify({comment: '<string>'}) }; fetch('https://spaces.nexudus.com/api/public/blogPosts/{postId}/comments', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
Id
GET /api/public/blogPosts
200 OK
POST /api/public/blogPosts/55/comments Authorization: Bearer {token} Content-Type: application/json { "comment": "Great article, very helpful tips!" }
HTTP/1.1 200 OK
import endpoints from '@/api/endpoints' await httpClient.post(endpoints.blog.newComment(55), { comment: 'Great article, very helpful tips!', })
Was this page helpful?