chore: Move to prettier standard double quotes (#1309)

This commit is contained in:
Tom Moor
2020-06-20 13:59:15 -07:00
committed by GitHub
parent 2a3b9e2104
commit f43deb7940
444 changed files with 5988 additions and 5977 deletions

View File

@ -1,10 +1,10 @@
// @flow
import * as React from 'react';
import Grid from 'styled-components-grid';
import styled from 'styled-components';
import PageTitle from '../components/PageTitle';
import Header from '../components/Header';
import Content from '../components/Content';
import * as React from "react";
import Grid from "styled-components-grid";
import styled from "styled-components";
import PageTitle from "../components/PageTitle";
import Header from "../components/Header";
import Content from "../components/Content";
export default function Developers() {
return (
@ -51,8 +51,8 @@ export default function Developers() {
<h2 id="requests">Making requests</h2>
<p>
Outlines API follows simple RPC style conventions where each API
endpoint is a method on{' '}
<Code>https://www.getoutline.com/api/&lt;METHOD&gt;</Code>. Both{' '}
endpoint is a method on{" "}
<Code>https://www.getoutline.com/api/&lt;METHOD&gt;</Code>. Both{" "}
<Code>GET</Code> and <Code>POST</Code> methods are supported but
its recommended that you make all calls using <Code>POST</Code>.
Only HTTPS is supported in production.
@ -61,10 +61,10 @@ export default function Developers() {
<p>
For <Code>GET</Code> requests query string parameters are expected
(e.g.
<Code>/api/document.info?id=...&token=...</Code>). When making{' '}
<Code>/api/document.info?id=...&token=...</Code>). When making{" "}
<Code>POST</Code> requests, request parameters are parsed
depending on <Code>Content-Type</Code> header. To make a call
using JSON payload, one must pass{' '}
using JSON payload, one must pass{" "}
<Code>Content-Type: application/json</Code> header:
</p>
@ -97,7 +97,7 @@ export default function Developers() {
<p>
To access private API endpoints, you must provide a valid API key.
You can create new API keys in your{' '}
You can create new API keys in your{" "}
<a href={`${process.env.URL}/settings`}>account settings</a>. Be
careful when handling your keys as they give access to all of your
documents.
@ -119,7 +119,7 @@ export default function Developers() {
<h2 id="errors">Errors</h2>
<p>
All successful API requests will be returned with <Code>200</Code>{' '}
All successful API requests will be returned with <Code>200</Code>{" "}
status code and <Code>ok: true</Code> in the response payload. If
theres an error while making the request, appropriate status code
is returned with the <Code>error</Code> message: