Skip to main content
GET
/
api
/
public
/
blogPosts
/
{postId}
Get Article Details
curl --request GET \
  --url https://spaces.nexudus.com/api/public/blogPosts/{postId} \
  --header 'Authorization: Basic <encoded-value>'
{
  "Id": 123,
  "Title": "<string>",
  "FullText": "<string>",
  "SummaryText": "<string>",
  "PublishDate": "<string>",
  "HasLargeImage": true
}

Documentation Index

Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt

Use this file to discover all available pages before exploring further.

Get Article Details

Returns the full content and metadata for a specific article. Used to render the article detail page.

Authentication

No authentication required.

Path Parameters

postId
number
required
Numeric identifier of the article. Returned as Id from GET /api/public/blogPosts.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Title,SummaryText,FullText,PublishDate,BlogCategories.

Response

Returns an article object with full content.
Id
number
required
Unique identifier for the article.
Title
string
required
Post title.
FullText
string
Full post content. May contain HTML.
SummaryText
string
Short summary shown in list views.
PublishDate
string
Publication date in ISO 8601 format.
HasLargeImage
boolean
Whether the post has a header image.

Examples

Fetch an article

GET /api/public/blogPosts/55

TypeScript Integration

import endpoints from '@/api/endpoints'

const response = await httpClient.get(endpoints.blog.details(55))