Skip to content

Commit 30ec206

Browse files
committed
Remove sections
1 parent 6a9a9b2 commit 30ec206

File tree

3 files changed

+0
-148
lines changed

3 files changed

+0
-148
lines changed

src/convert.test.js.md

Lines changed: 0 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -11835,65 +11835,6 @@ Generated by [AVA](https://ava.li).
1183511835
},
1183611836
swagger: '2.0',
1183711837
tags: [
11838-
{
11839-
description: `All URLs start with `https://api.netlify.com/api/v1/`. SSL only. The path is prefixed with the API version. If we change the API in backward-incompatible ways, we’ll bump the version marker and maintain stable support for the old URLs.␊
11840-
11841-
To make a request for all the sites you have access to, you’d append the sites’ index path to the base URL to form something like `https://api.netlify.com/api/v1/sites`. In curl, that looks like:␊
11842-
```http␊
11843-
curl -H 'User-Agent: MyApp ([email protected])'␊
11844-
https://api.netlify.com/api/v1/sites?access_token=oauth2_access_token␊
11845-
````,
11846-
name: 'Making a request',
11847-
'x-traitTag': true,
11848-
},
11849-
{
11850-
description: `Netlify uses OAuth2 for authentication. All requests must use HTTPS. You’ll need an application client key and a client secret before you can access the Netlify API. You can register a new application at https://app.netlify.com/applications.␊
11851-
11852-
If you’re making a public integration with Netlify for others to enjoy, you must use OAuth 2. This allows users to authorize your application to use Netlify on their behalf without having to copy/paste API tokens or touch sensitive login info.␊
11853-
11854-
The OAuth2 end-user authorization endpoint is `https://app.netlify.com/authorize`.`,
11855-
name: 'Authenticating',
11856-
'x-traitTag': true,
11857-
},
11858-
{
11859-
description: `To protect Netlify from getting flooded by automated deploys or misbehaving applications, the Netlify API is rate limited.␊
11860-
11861-
You can make up to 200 requests per minute.␊
11862-
11863-
You can check the returned HTTP headers of any API request to see your current rate limit status:␊
11864-
```http␊
11865-
X-RateLimit-Limit: 200␊
11866-
X-RateLimit-Remaining: 56␊
11867-
X-RateLimit-Reset: 1372700873␊
11868-
```␊
11869-
If you need higher limits, please [contact us](https://www.netlify.com/support).`,
11870-
name: 'Rate limiting',
11871-
'x-traitTag': true,
11872-
},
11873-
{
11874-
description: `Requests that return multiple items will be paginated to 100 items by default. You can specify further pages with the `?page` parameter. You can also set a custom page size up to 100 with the `?per_page` parameter.␊
11875-
11876-
Note that page numbering is 1-based and that omitting the `?page` parameter will return the first page.␊
11877-
### Link header␊
11878-
The pagination info is included in the `Link` header.␊
11879-
```http␊
11880-
Link: <https://api.netlify.com/api/v1/sites?page=3&per_page=20>; rel="next",␊
11881-
<https://api.netlify.com/api/v1/sites?page=5&per_page=20>; rel="last"␊
11882-
```␊
11883-
Linebreak is included for readability.␊
11884-
11885-
The possible `rel` values are:␊
11886-
- `next` Shows the URL of the immediate next page of results.␊
11887-
- `last` Shows the URL of the last page of results.␊
11888-
- `prev` Shows the URL of the immediate previous page of results.`,
11889-
name: 'Pagination',
11890-
'x-traitTag': true,
11891-
},
11892-
{
11893-
description: 'Whenever the API requires a `{site_id}`, you can either use the UUID of a site obtained through the API, or the domain of the site (`mysite.netlify.com`/`www.example.com`). These two are interchangeable whenever they’re used in API paths.',
11894-
name: 'Site IDs',
11895-
'x-traitTag': true,
11896-
},
1189711838
{
1189811839
name: 'ticket',
1189911840
'x-displayName': 'Ticket',
@@ -12016,16 +11957,6 @@ Generated by [AVA](https://ava.li).
1201611957
},
1201711958
],
1201811959
'x-tagGroups': [
12019-
{
12020-
name: 'General',
12021-
tags: [
12022-
'Making a request',
12023-
'Authenticating',
12024-
'Rate limiting',
12025-
'Pagination',
12026-
'Site IDs',
12027-
],
12028-
},
1202911960
{
1203011961
name: 'OAuth',
1203111962
tags: [

src/convert.test.js.snap

-1.52 KB
Binary file not shown.

swagger.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -2477,13 +2477,6 @@ definitions:
24772477
type: string
24782478
x-nullable: false
24792479
x-tagGroups:
2480-
- name: General
2481-
tags:
2482-
- Making a request
2483-
- Authenticating
2484-
- Rate limiting
2485-
- Pagination
2486-
- Site IDs
24872480
- name: OAuth
24882481
tags:
24892482
- ticket
@@ -2539,78 +2532,6 @@ x-tagGroups:
25392532
- asset
25402533
- assetPublicSignature
25412534
tags:
2542-
- name: Making a request
2543-
description: >-
2544-
All URLs start with `https://api.netlify.com/api/v1/`. SSL only. The path is prefixed with the API version. If we change the API in backward-incompatible ways, we’ll bump the version marker and maintain stable support for the old URLs.
2545-
2546-
2547-
To make a request for all the sites you have access to, you’d append the sites’ index path to the base URL to form something like `https://api.netlify.com/api/v1/sites`. In curl, that looks like:
2548-
2549-
```http
2550-
curl -H 'User-Agent: MyApp ([email protected])'
2551-
https://api.netlify.com/api/v1/sites?access_token=oauth2_access_token
2552-
```
2553-
2554-
x-traitTag: true
2555-
- name: Authenticating
2556-
description: >-
2557-
Netlify uses OAuth2 for authentication. All requests must use HTTPS. You’ll need an application client key and a client secret before you can access the Netlify API. You can register a new application at https://app.netlify.com/applications.
2558-
2559-
2560-
If you’re making a public integration with Netlify for others to enjoy, you must use OAuth 2. This allows users to authorize your application to use Netlify on their behalf without having to copy/paste API tokens or touch sensitive login info.
2561-
2562-
2563-
The OAuth2 end-user authorization endpoint is `https://app.netlify.com/authorize`.
2564-
x-traitTag: true
2565-
- name: Rate limiting
2566-
description: >-
2567-
To protect Netlify from getting flooded by automated deploys or misbehaving applications, the Netlify API is rate limited.
2568-
2569-
2570-
You can make up to 200 requests per minute.
2571-
2572-
2573-
You can check the returned HTTP headers of any API request to see your current rate limit status:
2574-
2575-
```http
2576-
X-RateLimit-Limit: 200
2577-
X-RateLimit-Remaining: 56
2578-
X-RateLimit-Reset: 1372700873
2579-
```
2580-
2581-
If you need higher limits, please [contact us](https://www.netlify.com/support).
2582-
x-traitTag: true
2583-
- name: Pagination
2584-
description: >-
2585-
Requests that return multiple items will be paginated to 100 items by default. You can specify further pages with the `?page` parameter. You can also set a custom page size up to 100 with the `?per_page` parameter.
2586-
2587-
2588-
Note that page numbering is 1-based and that omitting the `?page` parameter will return the first page.
2589-
2590-
### Link header
2591-
2592-
The pagination info is included in the `Link` header.
2593-
2594-
```http
2595-
Link: <https://api.netlify.com/api/v1/sites?page=3&per_page=20>; rel="next",
2596-
<https://api.netlify.com/api/v1/sites?page=5&per_page=20>; rel="last"
2597-
```
2598-
2599-
Linebreak is included for readability.
2600-
2601-
2602-
The possible `rel` values are:
2603-
2604-
- `next` Shows the URL of the immediate next page of results.
2605-
2606-
- `last` Shows the URL of the last page of results.
2607-
2608-
- `prev` Shows the URL of the immediate previous page of results.
2609-
x-traitTag: true
2610-
- name: Site IDs
2611-
description: >-
2612-
Whenever the API requires a `{site_id}`, you can either use the UUID of a site obtained through the API, or the domain of the site (`mysite.netlify.com`/`www.example.com`). These two are interchangeable whenever they’re used in API paths.
2613-
x-traitTag: true
26142535
- name: ticket
26152536
x-displayName: Ticket
26162537
- name: accessToken

0 commit comments

Comments
 (0)