solarwinds-itsm-api-definitions 0.2.7 → 0.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Redocly/development.html +23 -17
- data/Redocly/index.html +55 -23
- data/Redocly/redoc/schema/resolved_schema.json +1 -1
- data/lib/definitions/common/components.json +290 -10
- data/lib/definitions/common/examples/associations/category.json +12 -0
- data/lib/definitions/common/examples/associations/department.json +9 -0
- data/lib/definitions/common/examples/associations/group_assignee.json +27 -0
- data/lib/definitions/common/examples/associations/site.json +11 -0
- data/lib/definitions/common/examples/associations/sub_category.json +11 -0
- data/lib/definitions/common/examples/catalog_item.json +6 -28
- data/lib/definitions/common/examples/change.json +222 -16
- data/lib/definitions/common/examples/change_catalog.json +5 -15
- data/lib/definitions/common/examples/change_request.json +2 -1
- data/lib/definitions/common/examples/configuration_item.json +5 -16
- data/lib/definitions/common/examples/contract.json +281 -0
- data/lib/definitions/common/examples/hardware.json +235 -71
- data/lib/definitions/common/examples/incident.json +389 -90
- data/lib/definitions/common/examples/other_asset.json +211 -0
- data/lib/definitions/common/examples/problem.json +200 -12
- data/lib/definitions/common/examples/release.json +12 -20
- data/lib/definitions/common/examples/service_request.json +10 -14
- data/lib/definitions/common/examples/solution.json +54 -0
- data/lib/definitions/common/examples/user.json +4 -15
- data/lib/definitions/common/schemas/inventory/mobile.json +2 -0
- data/lib/definitions/common/schemas/inventory/other_asset.json +2 -2
- data/lib/definitions/common/schemas/procurement/purchase_order.json +97 -1
- data/lib/definitions/common/schemas/service_desk/catalog_item.json +1 -0
- data/lib/definitions/common/schemas/service_desk/change.json +2 -0
- data/lib/definitions/common/schemas/service_desk/change_catalog.json +2 -0
- data/lib/definitions/common/schemas/service_desk/change_request.json +1 -0
- data/lib/definitions/common/schemas/service_desk/incident.json +72 -23
- data/lib/definitions/common/schemas/service_desk/problem.json +2 -0
- data/lib/definitions/common/schemas/service_desk/release.json +2 -0
- data/lib/definitions/common/schemas/service_desk/service_request.json +2 -6
- data/lib/definitions/common/schemas/setup/category.json +4 -2
- data/lib/definitions/common/schemas/setup/department.json +3 -1
- data/lib/definitions/common/schemas/setup/group.json +1 -1
- data/lib/definitions/common/schemas/setup/site.json +4 -1
- data/lib/definitions/openapi.json +4 -3
- data/lib/definitions/paths/changes/change_by_id.json +6 -2
- data/lib/definitions/paths/changes/changes.json +6 -2
- data/lib/definitions/paths/contracts/contract_by_id.json +9 -2
- data/lib/definitions/paths/contracts/contracts.json +6 -1
- data/lib/definitions/paths/hardwares/hardware_by_id.json +6 -2
- data/lib/definitions/paths/hardwares/hardwares.json +6 -2
- data/lib/definitions/paths/incidents/incident_by_id.json +6 -2
- data/lib/definitions/paths/incidents/incidents.json +6 -2
- data/lib/definitions/paths/other_assets/other_asset_by_id.json +9 -2
- data/lib/definitions/paths/other_assets/other_assets.json +6 -1
- data/lib/definitions/paths/problems/problem_by_id.json +6 -2
- data/lib/definitions/paths/problems/problems.json +6 -2
- data/lib/definitions/paths/purchase_orders/purchase_order_by_id.json +3 -2
- data/lib/definitions/paths/purchase_orders/purchase_orders.json +3 -2
- data/lib/definitions/paths/solutions/solution_by_id.json +6 -2
- data/lib/definitions/paths/solutions/solutions.json +6 -2
- metadata +10 -3
|
@@ -47,79 +47,243 @@
|
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
49
|
"response": {
|
|
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
|
-
"value": "1",
|
|
100
|
-
"options": "",
|
|
101
|
-
"type_name": "User",
|
|
102
|
-
"user": {
|
|
103
|
-
"group_id": 1,
|
|
104
|
-
"is_user": true,
|
|
105
|
-
"id": 1,
|
|
106
|
-
"name": "John Doe",
|
|
107
|
-
"email": "john.doe@email.com"
|
|
50
|
+
"json": {
|
|
51
|
+
"hardware": {
|
|
52
|
+
"id": 1,
|
|
53
|
+
"name": "Hardware Name",
|
|
54
|
+
"description": "description",
|
|
55
|
+
"category": { "id": 1, "name": "Laptop" },
|
|
56
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
57
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
58
|
+
"ip": "0.0.0.0",
|
|
59
|
+
"external_ip": "0.0.0.0",
|
|
60
|
+
"status": { "name": "Operational" },
|
|
61
|
+
"technical_contact": { "email": "john.doe@email.com" },
|
|
62
|
+
"owner": { "email": "john.doe@email.com" },
|
|
63
|
+
"notes": "Hardware notes",
|
|
64
|
+
"barcode_encoding_format": "Code1A",
|
|
65
|
+
"cpu": "hardware_cpu",
|
|
66
|
+
"processor_speed": "processor_speed",
|
|
67
|
+
"memory":1024,
|
|
68
|
+
"swap": "MB",
|
|
69
|
+
"operating_system": "Windows 10",
|
|
70
|
+
"domain": "domain description",
|
|
71
|
+
"active_directory": "Workgroup of the OS",
|
|
72
|
+
"address": "Site 1, Building 1, Department 1",
|
|
73
|
+
"longitude": "0.000",
|
|
74
|
+
"latitude": "0.000",
|
|
75
|
+
"product_number": "1",
|
|
76
|
+
"custom_fields_values": [
|
|
77
|
+
{
|
|
78
|
+
"id": "10",
|
|
79
|
+
"custom_field_id": "1",
|
|
80
|
+
"name": "Text custom field",
|
|
81
|
+
"value": "content",
|
|
82
|
+
"options": "",
|
|
83
|
+
"type_name": "Text"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "100",
|
|
87
|
+
"custom_field_id": "2",
|
|
88
|
+
"name": "User custom field",
|
|
89
|
+
"value": "1",
|
|
90
|
+
"options": "",
|
|
91
|
+
"type_name": "User",
|
|
92
|
+
"user": {
|
|
93
|
+
"group_id": 1,
|
|
94
|
+
"is_user": true,
|
|
95
|
+
"id": 1,
|
|
96
|
+
"name": "John Doe",
|
|
97
|
+
"email": "john.doe@email.com"
|
|
98
|
+
}
|
|
108
99
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
100
|
+
],
|
|
101
|
+
"bioses": [{
|
|
102
|
+
"id": 1,
|
|
103
|
+
"manufacturer": "Dell",
|
|
104
|
+
"ssn": "1",
|
|
105
|
+
"model": "model description",
|
|
106
|
+
"version": "1",
|
|
107
|
+
"bios_date": "2020-01-01 00:00",
|
|
108
|
+
"reported_at": "2020-01-01 00:00"
|
|
109
|
+
}],
|
|
110
|
+
"tag": "tag",
|
|
111
|
+
"asset_tag": "1"
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"response_long": {
|
|
116
|
+
"json": {
|
|
117
|
+
"hardware": {
|
|
112
118
|
"id": 1,
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
"name": "Hardware Name",
|
|
120
|
+
"description": "description",
|
|
121
|
+
"category": { "id": 1, "name": "Laptop" },
|
|
122
|
+
"site": { "$ref": "./associations/site.json#/site" },
|
|
123
|
+
"department": { "$ref": "./associations/department.json#/department" },
|
|
124
|
+
"ip": "0.0.0.0",
|
|
125
|
+
"external_ip": "0.0.0.0",
|
|
126
|
+
"status": { "name": "Operational" },
|
|
127
|
+
"technical_contact": { "email": "john.doe@email.com" },
|
|
128
|
+
"owner": { "email": "john.doe@email.com" },
|
|
129
|
+
"notes": "Hardware notes",
|
|
130
|
+
"barcode_encoding_format": "Code1A",
|
|
131
|
+
"cpu": "hardware_cpu",
|
|
132
|
+
"processor_speed": "processor_speed",
|
|
133
|
+
"memory":1024,
|
|
134
|
+
"swap": "MB",
|
|
135
|
+
"operating_system": "Windows 10",
|
|
136
|
+
"domain": "domain description",
|
|
137
|
+
"active_directory": "Workgroup of the OS",
|
|
138
|
+
"address": "Site 1, Building 1, Department 1",
|
|
139
|
+
"longitude": "0.000",
|
|
140
|
+
"latitude": "0.000",
|
|
141
|
+
"product_number": "1",
|
|
142
|
+
"custom_fields_values": [
|
|
143
|
+
{
|
|
144
|
+
"id": "10",
|
|
145
|
+
"custom_field_id": "1",
|
|
146
|
+
"name": "Text custom field",
|
|
147
|
+
"value": "content",
|
|
148
|
+
"options": "",
|
|
149
|
+
"type_name": "Text"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "100",
|
|
153
|
+
"custom_field_id": "2",
|
|
154
|
+
"name": "User custom field",
|
|
155
|
+
"value": "1",
|
|
156
|
+
"options": "",
|
|
157
|
+
"type_name": "User",
|
|
158
|
+
"user": {
|
|
159
|
+
"group_id": 1,
|
|
160
|
+
"is_user": true,
|
|
161
|
+
"id": 1,
|
|
162
|
+
"name": "John Doe",
|
|
163
|
+
"email": "john.doe@email.com"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"bioses": [{
|
|
168
|
+
"id": 1,
|
|
169
|
+
"manufacturer": "Dell",
|
|
170
|
+
"ssn": "1",
|
|
171
|
+
"model": "model description",
|
|
172
|
+
"version": "1",
|
|
173
|
+
"bios_date": "2020-01-01 00:00",
|
|
174
|
+
"reported_at": "2020-01-01 00:00"
|
|
175
|
+
}],
|
|
176
|
+
"tag": "tag",
|
|
177
|
+
"asset_tag": "1",
|
|
178
|
+
"contract": null,
|
|
179
|
+
"maintenance_contract": null,
|
|
180
|
+
"lease_contract": {
|
|
181
|
+
"href": "https://api.samanage.com/contracts/476738-eetay-s-contract",
|
|
182
|
+
"id": 476738,
|
|
183
|
+
"name": "Eetay's contract",
|
|
184
|
+
"type": "Lease",
|
|
185
|
+
"manufacturer_name": "Microsoft",
|
|
186
|
+
"start_date": "2018-07-10T17:00:00.000-07:00",
|
|
187
|
+
"end_date": "2018-09-29T17:00:00.000-07:00",
|
|
188
|
+
"created_at": "2018-07-10T04:19:38.000-07:00",
|
|
189
|
+
"updated_at": "2024-08-27T02:19:54.000-07:00",
|
|
190
|
+
"note": "",
|
|
191
|
+
"site": null,
|
|
192
|
+
"department": null,
|
|
193
|
+
"items": [
|
|
194
|
+
{
|
|
195
|
+
"name": "Apple - iPhone 7",
|
|
196
|
+
"version": null,
|
|
197
|
+
"quantity": 1,
|
|
198
|
+
"language": null,
|
|
199
|
+
"date": null,
|
|
200
|
+
"rate": null,
|
|
201
|
+
"notes": null,
|
|
202
|
+
"created_at": "2018-08-23T04:56:30.000-07:00",
|
|
203
|
+
"updated_at": "2019-08-20T01:52:09.000-07:00",
|
|
204
|
+
"tag": null,
|
|
205
|
+
"manufacturer": null,
|
|
206
|
+
"contract": null,
|
|
207
|
+
"inventory": null,
|
|
208
|
+
"variance": null
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"status": "Active",
|
|
212
|
+
"custom_fields_values": [
|
|
213
|
+
{
|
|
214
|
+
"id": 62973780,
|
|
215
|
+
"custom_field_id": 21442,
|
|
216
|
+
"name": "Scott User",
|
|
217
|
+
"value": "-1",
|
|
218
|
+
"attachment": null,
|
|
219
|
+
"options": "",
|
|
220
|
+
"type": 7,
|
|
221
|
+
"type_name": "User",
|
|
222
|
+
"entity": null,
|
|
223
|
+
"user": null
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"lease_expiration": null,
|
|
228
|
+
"purchase": {
|
|
229
|
+
"id": 266650,
|
|
230
|
+
"date": "2024-08-26T00:00:00.000-07:00",
|
|
231
|
+
"number": "1",
|
|
232
|
+
"notes": "",
|
|
233
|
+
"total_cost": "10.0",
|
|
234
|
+
"currency": "USD",
|
|
235
|
+
"recurrence": "One_Time",
|
|
236
|
+
"created_at": "2024-08-27T02:20:19.000-07:00",
|
|
237
|
+
"updated_at": "2024-08-27T02:20:19.000-07:00",
|
|
238
|
+
"vendor": {
|
|
239
|
+
"id": 153707,
|
|
240
|
+
"href": "https://api.samanage.com/vendors/153707-amazon",
|
|
241
|
+
"name": "Amazon",
|
|
242
|
+
"url": "",
|
|
243
|
+
"contact_name": "",
|
|
244
|
+
"contact_email": "",
|
|
245
|
+
"contact_phone": "",
|
|
246
|
+
"note": "",
|
|
247
|
+
"address": "",
|
|
248
|
+
"city": "",
|
|
249
|
+
"state": "",
|
|
250
|
+
"zip": "",
|
|
251
|
+
"telephone": "",
|
|
252
|
+
"vendor_type": {
|
|
253
|
+
"id": 50,
|
|
254
|
+
"name": "Computer Hardware Vendor"
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"hardware_dates": [
|
|
259
|
+
{
|
|
260
|
+
"id": 163580672,
|
|
261
|
+
"date": "2024-08-22",
|
|
262
|
+
"date_type": "Assigned",
|
|
263
|
+
"username": null,
|
|
264
|
+
"notes": "[Automatic] Assigned to Brazil site",
|
|
265
|
+
"user_type": null
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
"attachments": [
|
|
269
|
+
{
|
|
270
|
+
"id": 212598157,
|
|
271
|
+
"content_type": "application/json",
|
|
272
|
+
"size": 583,
|
|
273
|
+
"filename": "myjson.json",
|
|
274
|
+
"url": "https://mydomain.com/attachments/c4d6df03448d80c4d9c1/myjson",
|
|
275
|
+
"shared_attachment": false,
|
|
276
|
+
"attachable_id": 753657,
|
|
277
|
+
"attachable_type": "Problem",
|
|
278
|
+
"attachment_type": "attachment",
|
|
279
|
+
"thumb_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json?thumb=true",
|
|
280
|
+
"secure_url": "/attachments/c4d6df03448d80c4d9c1/myjson.json",
|
|
281
|
+
"link_uuid_url": "/attachments/c4d6df03448d80c4d9c1",
|
|
282
|
+
"uuid": "c4d6df03448d80c4d9c1"
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
}
|
|
122
286
|
}
|
|
123
287
|
}
|
|
124
288
|
}
|
|
125
|
-
}
|
|
289
|
+
}
|