Comments (1)
Example webhook from Netbox:
Body:
{"event": "updated", "timestamp": "2018-08-21 20:58:04.682320", "model": "device", "data": {"id": 11, "name": "elsa.darmstadt.freifunk.net", "display_name": "elsa.darmstadt.freifunk.net", "device_type": {"id": 7, "url": "/api/dcim/device-types/7/", "manufacturer": {"id": 3, "url": "/api/dcim/manufacturers/3/", "name": "Dell", "slug": "dell"}, "model": "PowerEdge SC1435", "slug": "poweredge-sc1435"}, "device_role": {"id": 3, "url": "/api/dcim/device-roles/3/", "name": "Server", "slug": "server"}, "tenant": {"id": 2, "url": "/api/tenancy/tenants/2/", "name": "NOC", "slug": "noc"}, "platform": null, "serial": "8HR5Z3J", "asset_tag": "44454C4C-4800-1052-8035-B8C04F5A334A", "site": {"id": 1, "url": "/api/dcim/sites/1/", "name": "S2|02 C303", "slug": "s202-c303"}, "rack": {"id": 1, "url": "/api/dcim/racks/1/", "name": "1: FFDA / D120", "display_name": "1: FFDA / D120 (1)"}, "position": 37, "face": {"value": 0, "label": "Front"}, "parent_device": null, "status": {"value": 1, "label": "Active"}, "primary_ip": {"id": 19, "url": "/api/ipam/ip-addresses/19/", "family": 6, "address": "2001:67c:2ed8::4:1/64"}, "primary_ip4": {"id": 18, "url": "/api/ipam/ip-addresses/18/", "family": 4, "address": "82.195.73.4/26"}, "primary_ip6": {"id": 19, "url": "/api/ipam/ip-addresses/19/", "family": 6, "address": "2001:67c:2ed8::4:1/64"}, "cluster": null, "virtual_chassis": null, "vc_position": null, "vc_priority": null, "comments": "VGA Ports defekt, Ger\u00e4t bootet aber noch und serial funktioniert.", "tags": [], "custom_fields": {}, "created": "2017-04-09", "last_updated": "2018-08-21T20:58:04.483195Z"}}
Header:
Accept-Encoding: [identity]
Content-Type: [application/json]
Content-Length: [1609]
X-Hook-Signature: [c1818cdc320d25eb637758fa98dc4dadf1073aa6a2798b3eac3b5e71f8db13c40175e087fa7e8ed30372254858b6fc83aa591d2a54959b6db309003dfc512b79]
------------------------------
from cpthook.
Related Issues (20)
- [prometheus] Hostname filter does not work with IPv6 addresses
- Ping/Pong behaviour HOT 1
- configuration for unknown module raises error HOT 1
- Allow configuring max commits in gitlab module HOT 1
- http: Accept error: accept tcp [::]:8086: accept4: too many open files HOT 4
- Add GitHub Module
- Backwards compatibility HOT 1
- Update README.md HOT 1
- Relicensing HOT 4
- Logging needs to offer more information
- GitLab: Match most specific namespace, not first one HOT 1
- gitlab: commit notification should only include title HOT 4
- Remove webhook parsing code by using librarys
- Switch to main branch HOT 1
- Add debug module
- v0.6.0 depends on github.com/hashicorp/hcl/hcl/printer which doesn't exist anymore HOT 7
- Slack/Discord/Mattermost like webhooks? HOT 2
- RELAYMSG support?
- Wrong LICENSE in README
- spelling "custpm"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpthook.