Get Page content ​
Endpoint ​
GET /unified/knowledge-base/page-content/{id}
Integrations supported
- Discourse
Path parameters ​
The ID of the resource.
23423523
Query parameters ​
Refer Specifying query parameters in Truto APIs
The ID of the integrated account to use for the request.
62f44730-dd91-461e-bd6a-aedd9e0ad79d
The format of the response.
unified
will return the response with unified mappings applied.raw
will return the raw response from the remote API.normalized
will apply the unified mappings and return the data in a normalized format.
Defaults to unified
.
unified
raw
normalized
unified
Excludes the remote_data
attribute from the response.
Array of fields to exclude from the response.
truto_exclude_fields[]=id&truto_exclude_fields[]=name
Query parameters to pass to the underlying API without any transformations. Refer this guide to see how to structure the query parameters.
remote_query[foo]=bar
Response Body ​
The unique identifier for the page content
Supported in
- Discourse
The order of the page content in the context of a page. Will increase sequentially from 0.
The page the content belongs to
Supported in
- Discourse
The unique identifier for the page
The type of the page
landing-pages
site-pages
blog-posts
Supported in
- Discourse
The parent of the page content
The unique identifier for the parent page content
The type of the parent
Whether the page content has children
The body of the page content
Supported in
- Discourse
The format of the body
markdown
html
plaintext
The content of the body
The URLs of the files attached in the page content
The URL of the file
The URL type of the file
original_url
truto_download
The date and time the page content was created
Supported in
- Discourse
The date and time the page content was last updated
Supported in
- Discourse
The visibility of the page
private
public
Raw data returned from the remote API call.