solarwinds-itsm-api-definitions 0.1.7 → 0.2.1
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 +126 -0
- data/Redocly/index.html +126 -0
- data/Redocly/redoc/favicon.ico +0 -0
- data/Redocly/redoc/schema/resolved_schema.json +1 -0
- data/lib/definitions/common/components.json +7 -2
- data/lib/definitions/common/examples/change_request.json +29 -0
- data/lib/definitions/common/schemas/service_desk/change.json +1 -1
- data/lib/definitions/common/schemas/service_desk/change_catalog.json +1 -1
- data/lib/definitions/common/schemas/service_desk/change_request.json +30 -0
- data/lib/definitions/common/schemas/service_desk/comment.json +2 -1
- data/lib/definitions/common/schemas/service_desk/configuration_item.json +1 -1
- data/lib/definitions/common/schemas/service_desk/incident.json +1 -1
- data/lib/definitions/common/schemas/service_desk/problem.json +1 -1
- data/lib/definitions/common/schemas/service_desk/release.json +1 -1
- data/lib/definitions/common/schemas/service_desk/solution.json +1 -1
- data/lib/definitions/common/schemas/setup/department.json +2 -2
- data/lib/definitions/common/schemas/setup/site.json +2 -2
- data/lib/definitions/openapi.json +3 -1
- data/lib/definitions/paths/change_requests/request_by_id.json +36 -0
- metadata +11 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca75087c359e29756bcf35c85f496d55d761d512526d5387965305158af63258
|
4
|
+
data.tar.gz: 1edd379385b3cfcb039e32dfa45d9dc6cfdc4eed7caa6e9d1e22d24a0cc2b364
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc520da902e39f12401f5d126ad882b0af55ae17ecab7a7440ae5ecf14853a84b7b1785c5ecdb927ab3a1c5f58db9d5503ec384540d0991bfe7537457c928321
|
7
|
+
data.tar.gz: 8d19264f6d01e9b0cd4a682dbb48e72bf9c2016d3699c3ac6641cf3a89aa0fa4c14be3e748061a8f1886b1e671f718b2f0f5eec07f56bf10150d46d3f38855e3
|
@@ -0,0 +1,126 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>SolarWinds ITSM API</title>
|
5
|
+
|
6
|
+
<meta charset="utf-8"/>
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
9
|
+
|
10
|
+
<link rel="icon" type="image/png" href="/redoc/favicon">
|
11
|
+
<style>
|
12
|
+
body {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
select {
|
18
|
+
background-color:#fafafa;
|
19
|
+
border-color:#bdc1c3;
|
20
|
+
height: 46px;
|
21
|
+
align-items: center;
|
22
|
+
border-radius: 2px;
|
23
|
+
border-style: solid;
|
24
|
+
border-width: 1px;
|
25
|
+
cursor: default;
|
26
|
+
display: flex;
|
27
|
+
flex-wrap: wrap;
|
28
|
+
justify-content: space-between;
|
29
|
+
min-height: 38px;
|
30
|
+
outline: 0 !important;
|
31
|
+
position: relative;
|
32
|
+
transition: all 100ms;
|
33
|
+
box-sizing: border-box;
|
34
|
+
text-align: center;
|
35
|
+
font-size: 15px;
|
36
|
+
width: 200px;
|
37
|
+
margin: 10px 30px
|
38
|
+
}
|
39
|
+
</style>
|
40
|
+
</head>
|
41
|
+
|
42
|
+
<body onload="onLoadOperations();">
|
43
|
+
<select class="versions" id="version-select">
|
44
|
+
<option value="/redoc/schema"> Version 2.1</option>
|
45
|
+
</select>
|
46
|
+
|
47
|
+
<div id="redoc-container">
|
48
|
+
<redoc id="redoc-id" spec-url="http://localhost:4566/redoc/schema"></redoc>
|
49
|
+
</div>
|
50
|
+
<script id="redoc-script" src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
|
51
|
+
|
52
|
+
<script>
|
53
|
+
select = document.querySelector(".versions")
|
54
|
+
options = document.querySelectorAll(".versions option")
|
55
|
+
redocElement = document.getElementById("redoc-id")
|
56
|
+
redocScript = document.getElementById("redoc-script")
|
57
|
+
select.addEventListener("change", function() {
|
58
|
+
version = this.options[this.selectedIndex].value
|
59
|
+
redocElement.setAttribute("spec-url", version)
|
60
|
+
redocScript.remove
|
61
|
+
body = document.getElementsByTagName("body")[0]
|
62
|
+
script = document.createElement("script")
|
63
|
+
script.src = "https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"
|
64
|
+
body.appendChild(script)
|
65
|
+
body.insertBefore(select, body.children[0])
|
66
|
+
relocateVersionSelectorInterval();
|
67
|
+
})
|
68
|
+
|
69
|
+
function onLoadOperations() {
|
70
|
+
relocateVersionSelectorInterval()
|
71
|
+
removeGemVersionFromTitleInterval()
|
72
|
+
}
|
73
|
+
|
74
|
+
function relocateVersionSelectorInterval() {
|
75
|
+
var timerVariable = window.setInterval(helper, 500);
|
76
|
+
|
77
|
+
function helper() {
|
78
|
+
body = document.getElementsByTagName("body")[0]
|
79
|
+
children = body.children
|
80
|
+
if (children[0].id == "redoc-container") {
|
81
|
+
window.clearInterval(timerVariable)
|
82
|
+
return
|
83
|
+
}
|
84
|
+
relocateVersionSelector()
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
function relocateVersionSelector() {
|
89
|
+
let allImages = document.getElementsByTagName("img")
|
90
|
+
let images = []
|
91
|
+
for (let i = 0, len = allImages.length; i < len; ++i) {
|
92
|
+
if (allImages[i].alt === "logo") {
|
93
|
+
images.push(allImages[i]);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
firstImage = allImages[0]
|
97
|
+
if (!firstImage) return
|
98
|
+
|
99
|
+
logoImageElement = firstImage.parentElement
|
100
|
+
logoImageElement.parentNode.insertBefore(document.getElementById("version-select"), logoImageElement.nextSibling)
|
101
|
+
}
|
102
|
+
|
103
|
+
function removeGemVersionFromTitleInterval() {
|
104
|
+
var timerVariable = window.setInterval(helper, 500);
|
105
|
+
|
106
|
+
function helper() {
|
107
|
+
allTitles = document.getElementsByTagName("h1")
|
108
|
+
mainTitle = allTitles[0]
|
109
|
+
if (mainTitle?.firstElementChild?.getAttribute("style") === "display:none") {
|
110
|
+
window.clearInterval(timerVariable)
|
111
|
+
return
|
112
|
+
}
|
113
|
+
removeGemVersionFromTitle()
|
114
|
+
}
|
115
|
+
|
116
|
+
function removeGemVersionFromTitle() {
|
117
|
+
let allTitles = document.getElementsByTagName("h1")
|
118
|
+
if (allTitles.length === 0) return
|
119
|
+
|
120
|
+
titleVersion = allTitles[0].firstElementChild
|
121
|
+
titleVersion.setAttribute("style", "display:none")
|
122
|
+
}
|
123
|
+
}
|
124
|
+
</script>
|
125
|
+
</body>
|
126
|
+
</html>
|
data/Redocly/index.html
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>SolarWinds ITSM API</title>
|
5
|
+
|
6
|
+
<meta charset="utf-8"/>
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
8
|
+
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
|
9
|
+
|
10
|
+
<link rel="icon" type="image/png" href="/redoc/favicon">
|
11
|
+
<style>
|
12
|
+
body {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
}
|
16
|
+
|
17
|
+
select {
|
18
|
+
background-color:#fafafa;
|
19
|
+
border-color:#bdc1c3;
|
20
|
+
height: 46px;
|
21
|
+
align-items: center;
|
22
|
+
border-radius: 2px;
|
23
|
+
border-style: solid;
|
24
|
+
border-width: 1px;
|
25
|
+
cursor: default;
|
26
|
+
display: flex;
|
27
|
+
flex-wrap: wrap;
|
28
|
+
justify-content: space-between;
|
29
|
+
min-height: 38px;
|
30
|
+
outline: 0 !important;
|
31
|
+
position: relative;
|
32
|
+
transition: all 100ms;
|
33
|
+
box-sizing: border-box;
|
34
|
+
text-align: center;
|
35
|
+
font-size: 15px;
|
36
|
+
width: 200px;
|
37
|
+
margin: 10px 30px
|
38
|
+
}
|
39
|
+
</style>
|
40
|
+
</head>
|
41
|
+
|
42
|
+
<body onload="onLoadOperations();">
|
43
|
+
<select class="versions" id="version-select">
|
44
|
+
<option value="/redoc/schema"> Version 2.1</option>
|
45
|
+
</select>
|
46
|
+
|
47
|
+
<div id="redoc-container">
|
48
|
+
<redoc id="redoc-id" spec-url="/redoc/schema/resolved_schema.json"></redoc>
|
49
|
+
</div>
|
50
|
+
<script id="redoc-script" src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
|
51
|
+
|
52
|
+
<script>
|
53
|
+
select = document.querySelector(".versions")
|
54
|
+
options = document.querySelectorAll(".versions option")
|
55
|
+
redocElement = document.getElementById("redoc-id")
|
56
|
+
redocScript = document.getElementById("redoc-script")
|
57
|
+
select.addEventListener("change", function() {
|
58
|
+
version = this.options[this.selectedIndex].value
|
59
|
+
redocElement.setAttribute("spec-url", version)
|
60
|
+
redocScript.remove
|
61
|
+
body = document.getElementsByTagName("body")[0]
|
62
|
+
script = document.createElement("script")
|
63
|
+
script.src = "https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"
|
64
|
+
body.appendChild(script)
|
65
|
+
body.insertBefore(select, body.children[0])
|
66
|
+
relocateVersionSelectorInterval();
|
67
|
+
})
|
68
|
+
|
69
|
+
function onLoadOperations() {
|
70
|
+
relocateVersionSelectorInterval()
|
71
|
+
removeGemVersionFromTitleInterval()
|
72
|
+
}
|
73
|
+
|
74
|
+
function relocateVersionSelectorInterval() {
|
75
|
+
var timerVariable = window.setInterval(helper, 500);
|
76
|
+
|
77
|
+
function helper() {
|
78
|
+
body = document.getElementsByTagName("body")[0]
|
79
|
+
children = body.children
|
80
|
+
if (children[0].id == "redoc-container") {
|
81
|
+
window.clearInterval(timerVariable)
|
82
|
+
return
|
83
|
+
}
|
84
|
+
relocateVersionSelector()
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
function relocateVersionSelector() {
|
89
|
+
let allImages = document.getElementsByTagName("img")
|
90
|
+
let images = []
|
91
|
+
for (let i = 0, len = allImages.length; i < len; ++i) {
|
92
|
+
if (allImages[i].alt === "logo") {
|
93
|
+
images.push(allImages[i]);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
firstImage = allImages[0]
|
97
|
+
if (!firstImage) return
|
98
|
+
|
99
|
+
logoImageElement = firstImage.parentElement
|
100
|
+
logoImageElement.parentNode.insertBefore(document.getElementById("version-select"), logoImageElement.nextSibling)
|
101
|
+
}
|
102
|
+
|
103
|
+
function removeGemVersionFromTitleInterval() {
|
104
|
+
var timerVariable = window.setInterval(helper, 500);
|
105
|
+
|
106
|
+
function helper() {
|
107
|
+
allTitles = document.getElementsByTagName("h1")
|
108
|
+
mainTitle = allTitles[0]
|
109
|
+
if (mainTitle?.firstElementChild?.getAttribute("style") === "display:none") {
|
110
|
+
window.clearInterval(timerVariable)
|
111
|
+
return
|
112
|
+
}
|
113
|
+
removeGemVersionFromTitle()
|
114
|
+
}
|
115
|
+
|
116
|
+
function removeGemVersionFromTitle() {
|
117
|
+
let allTitles = document.getElementsByTagName("h1")
|
118
|
+
if (allTitles.length === 0) return
|
119
|
+
|
120
|
+
titleVersion = allTitles[0].firstElementChild
|
121
|
+
titleVersion.setAttribute("style", "display:none")
|
122
|
+
}
|
123
|
+
}
|
124
|
+
</script>
|
125
|
+
</body>
|
126
|
+
</html>
|
Binary file
|