Demo Data
Only works before until the customer has sent their first real release
There is an inject endpoint that you can use to inject somewhat random press releases into the feed. Which can be used to simulate a press release going out.
We can also pre-fill the feed with a few years random of demo data. That also contains properly tagged Financial Reports.
Use cases
Feed is empty, since perhaps the customer is an IPO
Testing WebSub subscription
HTTP Posthooks
Wordpress Plugin Subscription
Inject Demo News Item
POST
https://feed.mfn.se/demo/inject/:entity_id
You can inject demo News Items into your feed by posting to the following endpoint. Injects a somewhat random demo press release into the feed. Only works before until the customer has sent their first real release.
Path Parameters
Name | Type | Description |
---|---|---|
entity_id | string | Typically this has the same value as the primary |
Query Parameters
Name | Type | Description |
---|---|---|
type | string | Choose the |
lang | string | Choose language
|
Command line example using curl
To inject multiple press releases with the same groupe_id, add languages separeted with commas. Avalible languages are "en,sv,fi,no,zh,fr,de,da,pl,nl,lb,et,lv,lt,es"
Multiple press releases with the same group_id simulate when a company sends the same press release in different languages. This makes the releases receive the same groupe ID
To specify tags and type for press releases to inject look at the following inject example. Two tags need to be specified and coma separated. "type" is a quary param and takes "ir"(investor relation) or "pr"(public relation) as an argument.
Last updated