-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Reuven
committed
Feb 22, 2024
1 parent
ee546eb
commit 070bee4
Showing
2 changed files
with
245 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
<html> | ||
|
||
<head> | ||
<style> | ||
|
||
@import url(//fonts.googleapis.com/css?family=Nunito); | ||
|
||
* { | ||
font-family: 'Nunito','Helvetica Neue',Helvetica,Arial,sans-serif; | ||
} | ||
|
||
.title { | ||
margin: 1em 0 0.5em 0; | ||
font-size: 36px; | ||
} | ||
|
||
.path { | ||
color: #016BF8; | ||
font-size: 18px; | ||
font-weight: 600; | ||
} | ||
|
||
.endpoint { | ||
color: #21313c; | ||
line-height: 24px; | ||
margin: 22px 0; | ||
} | ||
|
||
.endpoint-header { | ||
display: inline-flex; | ||
align-items: center; | ||
gap: 5px; | ||
} | ||
|
||
.change-type { | ||
box-sizing: border-box; | ||
font-weight: 700; | ||
font-size: 12px; | ||
line-height: 16px; | ||
border-radius: 5px; | ||
height: 18px; | ||
padding-left: 6px; | ||
padding-right: 6px; | ||
text-transform: uppercase; | ||
border: 1px solid; | ||
letter-spacing: 1px; | ||
background-color: #E3FCF7; | ||
border-color: #C0FAE6; | ||
color: #00684A; | ||
margin-top: 2px; | ||
} | ||
|
||
.change { | ||
} | ||
|
||
.breaking { | ||
display: inline-flex; | ||
align-items: center; | ||
gap: 5px; | ||
margin-right: 5px; | ||
} | ||
|
||
.breaking-icon { | ||
color: #DB3030; | ||
} | ||
|
||
.endpoint-changes { | ||
} | ||
|
||
.tooltip { | ||
position:relative; | ||
} | ||
|
||
.tooltip:before { | ||
content: attr(data-text); | ||
position:absolute; | ||
|
||
|
||
top:50%; | ||
transform:translateY(-50%); | ||
|
||
|
||
left:100%; | ||
margin-left:15px; | ||
|
||
|
||
width:200px; | ||
padding:10px; | ||
border-radius:10px; | ||
background:#000; | ||
color: #fff; | ||
text-align:center; | ||
|
||
display:none; | ||
} | ||
|
||
.tooltip:hover:before { | ||
display:block; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div class="title">API Changelog 1.0.0 vs. 1.0.1 </div> | ||
|
||
<div class="endpoint"> | ||
<div class="endpoint-header"> | ||
<span class="path"> | ||
<div class="">GET /api/{domain}/{project}/badges/security-score</div> | ||
</span> | ||
<div class="change-type">Updated</div> | ||
</div> | ||
<ul class="endpoint-changes"> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
removed the success response with the status '200' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
removed the success response with the status '201' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
deleted the 'cookie' request parameter 'test' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
deleted the 'header' request parameter 'user' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
deleted the 'query' request parameter 'filter' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
api operation id 'GetSecurityScores' removed and replaced with 'GetSecurityScore' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
api tag 'security' removed | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
for the 'query' request parameter 'token', the maxLength was increased from '29' to '30' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
removed the pattern '^(?:[\w-./:]+)$' from the 'query' request parameter 'image' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
removed the non-success response with the status '400' | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
|
||
<div class="endpoint"> | ||
<div class="endpoint-header"> | ||
<span class="path"> | ||
<div class="">GET /api/{domain}/{project}/install-command</div> | ||
</span> | ||
<div class="change-type">Updated</div> | ||
</div> | ||
<ul class="endpoint-changes"> | ||
|
||
<li class="change"> | ||
|
||
<div class="breaking tooltip" data-text="Breaking Change"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16" class="breaking-icon" role="img" aria-label="Important With Circle Icon"><path fill="currentColor" fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM7 4.5a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm2 7a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z" clip-rule="evenodd"></path></svg> | ||
</div> | ||
|
||
deleted the 'header' request parameter 'network-policies' | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
added the new optional 'header' request parameter 'name' to all path's operations | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
added the new enum value 'test1' to the 'path' request parameter 'project' | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
|
||
<div class="endpoint"> | ||
<div class="endpoint-header"> | ||
<span class="path"> | ||
<div class="">POST /register</div> | ||
</span> | ||
<div class="change-type">Updated</div> | ||
</div> | ||
<ul class="endpoint-changes"> | ||
|
||
<li class="change"> | ||
|
||
the endpoint scheme security 'bearerAuth' was removed from the API | ||
</li> | ||
|
||
<li class="change"> | ||
|
||
the security scope 'write:pets' was added to the endpoint's security scheme 'OAuth' | ||
</li> | ||
|
||
</ul> | ||
</div> | ||
|
||
</body> | ||
|
||
</html> | ||
|