This commit is contained in:
Carl Downing
2023-07-30 08:23:05 -07:00
parent 98b31288bd
commit cba6e4deb9
6 changed files with 7 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
- [ ] Please make sure all jobs pass before requesting a review.
- [ ] Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if such).
- [ ] Have you lint your code locally before submission?
- [ ] Did you write tests where appropiate?
- [ ] Did you write tests where appropriate?
### Related Issue?

View File

@@ -1,7 +1,7 @@
{
"query": {
"age": {
"_type": "GraterThan",
"_type": "GreaterThan",
"value": 10
}
}

View File

@@ -14,7 +14,7 @@ export default class ServiceHandler {
const pageData: any = {};
pageTitle = 'Errors';
pageDescription = 'Learn more about how we reuturn errors from API';
pageDescription = 'Learn more about how we return errors from API';
return res.render('pages/index', {
page: page,

View File

@@ -29,11 +29,11 @@
<h2 id="basic-authentication">
Authentication with API Key
</h2>
<p>You can use OneUptime API Key on Request Header when you're making a requst. You can use <code
<p>You can use OneUptime API Key on Request Header when you're making a request. You can use <code
class="rounded p-0.5 px-1 text-sm text-gray-500 bg-gray-100 border-2 border-gray-200">Authorization</code>
header with your API Key when you make a request.</p>
<%- include('../partials/code', {title: "Example request with API Key" , requestUrl: "" , requestType: "" , code: "curl --header \"ApiKey: {secret-api-key}\" --header \"ProjectID: {project-id}\" https://oneuptime.com/api/\<path\>" }) -%>
<p class="text-sm">Please don't commit your OneUptime API Key to GitHub, or on any other source control
project. Please regenerate a new API Key, if your API Key is comitted by mistake.</p>
project. Please regenerate a new API Key, if your API Key is committed by mistake.</p>
</article>
</main>

View File

@@ -12,7 +12,7 @@
<div class="grid grid-cols-1 items-start gap-x-16 gap-y-10 xl:max-w-none xl:grid-cols-2">
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>Select can be used to select fields from an Object in List or Get Item API. By default only ID's
are returned to the client. To retrive more fields you need use:</p>
are returned to the client. To retrieve more fields you need use:</p>
<div class="my-6">
<ul role="list"

View File

@@ -15,7 +15,7 @@
<div class="[&amp;>:first-child]:mt-0 [&amp;>:last-child]:mb-0">
<p>In this example, we request the list fo monitors. As a result, we get a list of three monitors and can
tell by the <code class="inline-code">count</code> attribute that we have reached the end of the
resultset</p>
result set</p>
<h2 id="example-using-cursors" class="scroll-mt-24">
Query Parameters
</h2>