mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-18 13:06:30 -06:00
Merge pull request #3615 from markkuleinio/develop
Update examples in webhooks.md
This commit is contained in:
commit
24344ccfaf
@ -11,8 +11,10 @@ The webhook POST request is structured as so (assuming `application/json` as the
|
|||||||
```no-highlight
|
```no-highlight
|
||||||
{
|
{
|
||||||
"event": "created",
|
"event": "created",
|
||||||
"signal_received_timestamp": 1508769597,
|
"timestamp": "2019-10-12 12:51:29.746944",
|
||||||
"model": "Site"
|
"username": "admin",
|
||||||
|
"model": "site",
|
||||||
|
"request_id": "43d8e212-94c7-4f67-b544-0dcde4fc0f43",
|
||||||
"data": {
|
"data": {
|
||||||
...
|
...
|
||||||
}
|
}
|
||||||
@ -24,8 +26,10 @@ The webhook POST request is structured as so (assuming `application/json` as the
|
|||||||
```no-highlight
|
```no-highlight
|
||||||
{
|
{
|
||||||
"event": "deleted",
|
"event": "deleted",
|
||||||
"signal_received_timestamp": 1508781858.544069,
|
"timestamp": "2019-10-12 12:55:44.030750",
|
||||||
"model": "Site",
|
"username": "johnsmith",
|
||||||
|
"model": "site",
|
||||||
|
"request_id": "e9bb83b2-ebe4-4346-b13f-07144b1a00b4",
|
||||||
"data": {
|
"data": {
|
||||||
"asn": None,
|
"asn": None,
|
||||||
"comments": "",
|
"comments": "",
|
||||||
|
Loading…
Reference in New Issue
Block a user