---
title: "Show news | Mostra news"
method: GET
path: "/news/{newsItemId}"
tags: ["News"]
---

# Show news | Mostra news

`GET /news/{newsItemId}`

## Request

- Base URL: `https://app.didattica.polito.it/api`
- URL: `https://app.didattica.polito.it/api/news/{newsItemId}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/polito/apis/polito-faculty-api/docs/news/:newsItemId/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `newsItemId` number, required

## Response `200`

The request has succeeded.

- object
  - `data` NewsItem, required
    - `id` number, required
    - `title` string, required
    - `isEvent` boolean, required
    - `shortDescription` string, required
    - `eventStartTime` string, nullable, required
    - `eventEndTime` string, nullable, required
    - `createdAt` string, date-time, required

## Other responses

- `400`: The server could not understand the request due to invalid syntax.
- `500`: Server error

---

[API](https://skmtc.dev/polito/apis/polito-faculty-api.md) - [All operations](https://skmtc.dev/polito/apis/polito-faculty-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polito/apis/polito-faculty-api/revisions/c29c33e75373?raw)
