diff options
| author | JP Dillingham <jp@dillingham.me> | 2024-11-30 14:10:07 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2024-11-30 14:10:07 -0600 |
| commit | 6ade4aedfce517a394b9e1275860db7308fa0428 (patch) | |
| tree | 900b60d7323f2defb85cadb52ad7bc5287de64be /docs | |
| parent | 6650447a76a042ce1710dc3f352856cd4ee5520c (diff) | |
| download | slskd-6ade4aedfce517a394b9e1275860db7308fa0428.tar.gz | |
tweak event docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/config.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/config.md b/docs/config.md index 8dc43000..9d17974f 100644 --- a/docs/config.md +++ b/docs/config.md @@ -961,18 +961,18 @@ Here's an example of what a `DownloadFileComplete` event (at the time of this wr } ``` -Users developing integrations can use the internal `RaiseEvent` HTTP endpoint to create sample events and put them on the bus. This will help test integrations end to end without having to take action within the application. +Users developing integrations can use the internal `RaiseEvent` HTTP endpoint to create sample events and put them on the bus. This will help test integrations end to end without having to take action within the application, but be aware; using this endpoint after testing is complete is not a good idea! Here's an example cURL command for the endpoint: ```bash curl --location 'localhost:5030/api/v0/events/downloadfilecomplete' \ ---header 'Content-Type: application/json' \ ---header 'X-API-Key: <an API key from your config>' \ ---data '"asdfasfdasfd"' + --header 'Content-Type: application/json' \ + --header 'X-API-Key: <an API key from your config>' \ + --data '"asdfasfdasfd"' ``` -The data passed is a 'disambiguator' that's prepended to sample data. This will help users differentiate between different event instances. +The data passed is a 'disambiguator' that's prepended to sample data. This helps differentiate between different event instances. ### Webhooks |
