content.news
List published news with pagination and an optional category filter.
GET
/api/v1/{locale}/newsAPI scope content.news
Request
Send Authorization: Bearer <key> with each request.
Path parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | tr or en | Required | Request locale. |
Query parameters
| Field | Type | Requirement | Description |
|---|---|---|---|
page | integer ≥ 1 | Optional | Page number, defaults to 1. |
category | integer ≥ 1 | Optional | News category ID. |
This endpoint takes no request body.
Run samples from your application server. See Quickstart for variables and sessions.
curl --fail-with-body --request GET \
-H "Authorization: Bearer $MINEXON_API_KEY" \
"${MINEXON_BASE_URL}/api/v1/en/news?page=1"Response
HTTP 200 · application/json
The fields below are inside the response’s data object.
| Field | Type | Requirement | Description |
|---|---|---|---|
locale | string | Required | Response locale. |
error | string or null | Conditional | Action error. Can be empty on success. |
errors | array or object | Conditional | Field or form validation errors. |
notice | string or null | Conditional | Action notice. |
posts | array or object | Conditional | Published news records. |
categories | array or object | Conditional | Available categories or a map keyed by category. |
selectedCategory | integer or string or null | Conditional | Current category filter. |
pagination | object | Conditional | Pagination values. |
Nested fields
| Field | Type | Requirement | Description |
|---|---|---|---|
posts[].slug | string | Conditional | Article slug. |
posts[].title | string | Conditional | Article title. |
posts[].date | string | Conditional | Publication date, YYYY-MM-DD. |
posts[].dateLabel | string | Conditional | Display-ready publication date. |
posts[].cover | string | Conditional | Cover image path. |
posts[].category | string | Conditional | Display category name. |
pagination.page | integer | Conditional | Current page. |
pagination.pages | integer | Conditional | Number of result pages. |
pagination.size | integer | Conditional | Records per page. |
pagination.total | integer | Conditional | Total records matching the category filter. |
Selected fields from an example response
{
"data": {
"locale": "en",
"posts": [
{
"id": 7,
"slug": "opening-week",
"title": "Opening week",
"date": "2026-12-05",
"cover": "default/news-announcement.jpg",
"category": "News"
}
],
"pagination": {
"page": 1,
"pages": 1,
"size": 7,
"total": 1
}
}
}