Announcement
Last updated
Last updated
GET
‎https://<domain>/<api prefix>/<version>/announcements/get/list/
This API endpoint will return a list of announcements.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Node
PHP
POST
‎https://<domain>/<api prefix>/<version>/announcements/close/
This API endpoint will close an announcement.
Node
PHP
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
offset
string
limit
string
read_status
string
0(unread) or 1(readed),default value is 1
subject
string
subject text
start_date
string
formate: mm/dd/yyyy
end_date
string
formate: mm/dd/yyyy
created
string
formate: mm/dd/yyyy
apikey*
string
apikey
Authorization*
string
Bearer access token
Status Code
Error Type
FIeld
Description
400
Validation Error
start_date,
end_date,
created
Invalid date format.
apikey*
string
Apikey
Authorization*
string
Bearer access token
slug*
string
Announcement slug
Status Code
Error Type
FIeld
Description
400
Validation Error
slug
This field is required.
This field may not be blank.
Requested announcement not found.
You can't close the requested announcement.