-
Notifications
You must be signed in to change notification settings - Fork 11
/
test-trigger-webhook-v1.yml
62 lines (62 loc) · 1.71 KB
/
test-trigger-webhook-v1.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
openapi: 3.0.1
info:
title: Webhook v1 Test Trigger
description: Trigger API that initiates webhook payload delivery to your endpoint for testing.
version: "1.0"
servers:
- url: https://api.benzinga.com/api/v1
- url: http://api.benzinga.com/api/v1
paths:
/webhook/test:
get:
summary: This endpoint will send data to your endpoint so you may test.
parameters:
- name: accept
in: header
description: Specifies return format
schema:
type: string
enum:
- application/json
- name: token
in: query
description: (optional) specify token to have data transformed for production
usage
schema:
type: string
- name: version
in: query
description: api version currently webhook/v1
schema:
type: string
enum:
- webhook/v1
- name: kind
in: query
description: Identifies the message kind. Currently News/v1
schema:
type: string
enum:
- News/v1
- name: destination
in: query
description: where the api will send the fake data
schema:
type: string
responses:
200:
description: success.
content: {}
400:
description: Error Indicating that the Request received invalid. Inspect
response body for details.
content: {}
424:
description: Error Indicating that the system encountered an error delivering
the test payload. Inspect response body for details.
content: {}
500:
description: Internal System Error.
content: {}
components: {}