All URIs are relative to https://localhost/api/v1
Method | HTTP request | Description |
---|---|---|
AnnouncementGet | Get /announcement | Get site announcements. |
AnnouncementGetUrgent | Get /announcement/urgent | Get urgent (banner) announcements. |
[]Announcement AnnouncementGet(ctx, optional) Get site announcements.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AnnouncementGetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AnnouncementGetOpts struct
Name | Type | Description | Notes |
---|---|---|---|
columns | optional.String | Array of column names to fetch. If omitted, will return all columns. |
No authorization required
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Announcement AnnouncementGetUrgent(ctx, ) Get urgent (banner) announcements.
This endpoint does not need any parameter.
apiKey, apiNonce, apiSignature
- Content-Type: application/json, application/x-www-form-urlencoded
- Accept: application/json, application/xml, text/xml, application/javascript, text/javascript
[Back to top] [Back to API list] [Back to Model list] [Back to README]