-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSigstr_API.json
102 lines (102 loc) · 1.9 KB
/
Sigstr_API.json
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"swagger": "2.0",
"info": {
"title": "Sigstr API",
"version": "0.0.1",
"description": "Add or Delete Users in Sigstr"
},
"host": "import.sigstr.com",
"basePath": "/",
"schemes": [
"http"
],
"produces": [
"application/json"
],
"securityDefinitions": {
"Bearer": {
"type": "apiKey",
"name": "x-api-key",
"in": "header"
}
},
"security": [
{
"Bearer": []
}
],
"paths": {
"/": {
"post": {
"summary": "Update User Information",
"description": "UpdateUserInfo",
"operationId": "UpdateUserInfo",
"produces": [
"application/json"
],
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"description": "RequestBody",
"schema": {
"$ref": "#/definitions/addBody"
}
}
],
"responses": {
"200": {
"description": "Success operation"
}
}
}
}
},
"definitions": {
"addBody": {
"type": "object",
"properties": {
"APIKey": {
"type": "string"
},
"CustomerID": {
"type": "string"
},
"FileData": {
"$ref": "#/definitions/fieldNames"
},
"UserMethod": {
"type": "string",
"enum": [
"Add",
"Delete"
]
}
}
},
"fieldNames": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"last_name": {
"type": "string"
},
"title": {
"type": "string"
},
"office_phone": {
"type": "string"
},
"group": {
"type": "string"
}
}
}
}
}