Get Active News
GET/news/activenews
This operation allows to get a page of News
Request
Query Parameters
limit int32
limit of the page
offset int32
Offset of the page
Responses
- 200
- 401
- 403
- 404
- 500
ok
Response Headers
X-Total-Count
integer
total count of news
X-Result-Count
integer
news result count
- application/json
- Schema
- Example (from schema)
Schema
id uuid
Possible values: Value must match regular expression [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
news id
dateStart date
start date of the news
dateEnd date
end date of the news
eventType string
event Type
information string
informations about the news
status string
Possible values: [ACTIVE
, DESACTIVE
]
news state
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dateStart": "2022-03-10",
"dateEnd": "2022-03-10",
"eventType": "string",
"information": "string",
"status": "ACTIVE"
}
unauthorized access
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
forbidden access
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
not found
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
internal error
- application/json
- Schema
- Example (from schema)
Schema
code int32
error code
message string
error message
description string
error description
{
"code": 0,
"message": "string",
"description": "string"
}
Loading...