mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
typos
This commit is contained in:
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@@ -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?
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"query": {
|
||||
"age": {
|
||||
"_type": "GraterThan",
|
||||
"_type": "GreaterThan",
|
||||
"value": 10
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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>
|
||||
@@ -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="[&>:first-child]:mt-0 [&>: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"
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<div class="[&>:first-child]:mt-0 [&>: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>
|
||||
|
||||
Reference in New Issue
Block a user