Skip to main content
GET
/
posts
List all posts
curl --request GET \
  --url http://localhost:3001/portal-api/posts \
  --header 'Authorization: <api-key>'
[
  {
    "ID": 1,
    "Content": "# Title\r\n## Subtitle\r\nContent goes here",
    "MarkdownEnabled": true,
    "Status": "published",
    "Title": "Get started this API Product",
    "Lede": "<string>",
    "Type": "<string>",
    "Path": "<string>",
    "Categories": [
      "<string>"
    ],
    "Tags": [
      "<string>"
    ],
    "CreatedAt": "2023-06-25 13:37",
    "UpdatedAt": "2023-06-25 13:37"
  }
]

Authorizations

Authorization
string
header
required

Response

200 - application/json
ID
integer
Example:
Content
string
Example:
MarkdownEnabled
boolean
Example:
Status
enum<string>
Available options:
published,
draft,
review
Example:
Title
string
Example:
Lede
string
Type
string
Path
string
Categories
string[]
Tags
string[]
CreatedAt
string
Example:
UpdatedAt
string
Example: