Skip to content

Commit a75c881

Browse files
authored
Merge pull request #19064 from github/repo-sync
repo sync
2 parents 7f9f8ae + 2521268 commit a75c881

36 files changed

Lines changed: 18 additions & 90 deletions

File tree

content/developers/webhooks-and-events/github-event-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The event objects returned from the Events API endpoints have the same structure
4545
This example shows the format of the [WatchEvent](#watchevent) response when using the [Events API](/rest/reference/activity#events).
4646

4747
```
48-
Status: 200 OK
48+
HTTP/1.1 200 OK
4949
Link: <https://api.github.com/resource?page=2>; rel="next",
5050
<https://api.github.com/resource?page=5>; rel="last"
5151
```

content/rest/guides/getting-started-with-the-rest-api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ $ curl -i https://api.github.com/users/defunkt
6262
> Server: GitHub.com
6363
> Date: Sun, 11 Nov 2012 18:43:28 GMT
6464
> Content-Type: application/json; charset=utf-8
65-
> Status: 200 OK
6665
> ETag: "bfd85cbf23ac0b0c8a29bee02e7117c6"
6766
> X-RateLimit-Limit: 60
6867
> X-RateLimit-Remaining: 57

content/rest/overview/resources-in-the-rest-api.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ $ curl -I {% data variables.product.api_url_pre %}/users/octocat/orgs
3939
> Server: nginx
4040
> Date: Fri, 12 Oct 2012 23:33:14 GMT
4141
> Content-Type: application/json; charset=utf-8
42-
> Status: 200 OK
4342
> ETag: "a00049ba79152d03380c34652f2cb612"
4443
> X-GitHub-Media-Type: github.v3
4544
> X-RateLimit-Limit: 5000
@@ -376,7 +375,6 @@ The returned HTTP headers of any API request show your current rate limit status
376375
$ curl -I {% data variables.product.api_url_pre %}/users/octocat
377376
> HTTP/1.1 200 OK
378377
> Date: Mon, 01 Jul 2013 17:27:06 GMT
379-
> Status: 200 OK
380378
> X-RateLimit-Limit: 60
381379
> X-RateLimit-Remaining: 56
382380
> X-RateLimit-Reset: 1372700873
@@ -400,7 +398,6 @@ If you exceed the rate limit, an error response returns:
400398
```shell
401399
> HTTP/1.1 403 Forbidden
402400
> Date: Tue, 20 Aug 2013 14:50:41 GMT
403-
> Status: 403 Forbidden
404401
> X-RateLimit-Limit: 60
405402
> X-RateLimit-Remaining: 0
406403
> X-RateLimit-Reset: 1377013266
@@ -421,7 +418,6 @@ If your OAuth application needs to make unauthenticated calls with a higher rate
421418
$ curl -u my_client_id:my_client_secret {% data variables.product.api_url_pre %}/user/repos
422419
> HTTP/1.1 200 OK
423420
> Date: Mon, 01 Jul 2013 17:27:06 GMT
424-
> Status: 200 OK
425421
> X-RateLimit-Limit: 5000
426422
> X-RateLimit-Remaining: 4966
427423
> X-RateLimit-Reset: 1372700873
@@ -510,7 +506,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user
510506
> Cache-Control: private, max-age=60
511507
> ETag: "644b5b0155e6404a9cc4bd9d8b1ae730"
512508
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
513-
> Status: 200 OK
514509
> Vary: Accept, Authorization, Cookie
515510
> X-RateLimit-Limit: 5000
516511
> X-RateLimit-Remaining: 4996
@@ -521,7 +516,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user -H 'If-None-Match: "644b
521516
> Cache-Control: private, max-age=60
522517
> ETag: "644b5b0155e6404a9cc4bd9d8b1ae730"
523518
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
524-
> Status: 304 Not Modified
525519
> Vary: Accept, Authorization, Cookie
526520
> X-RateLimit-Limit: 5000
527521
> X-RateLimit-Remaining: 4996
@@ -531,7 +525,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user -H "If-Modified-Since: T
531525
> HTTP/1.1 304 Not Modified
532526
> Cache-Control: private, max-age=60
533527
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
534-
> Status: 304 Not Modified
535528
> Vary: Accept, Authorization, Cookie
536529
> X-RateLimit-Limit: 5000
537530
> X-RateLimit-Remaining: 4996

content/rest/reference/activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To get a feed in Atom format, you must specify the `application/atom+xml` type i
5656
#### Response
5757

5858
```shell
59-
Status: 200 OK
59+
HTTP/1.1 200 OK
6060
```
6161

6262
```xml

translations/de-DE/content/developers/webhooks-and-events/github-event-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The event objects returned from the Events API endpoints have the same structure
4545
This example shows the format of the [WatchEvent](#watchevent) response when using the [Events API](/rest/reference/activity#events).
4646

4747
```
48-
Status: 200 OK
48+
HTTP/1.1 200 OK
4949
Link: <https://api.github.com/resource?page=2>; rel="next",
5050
<https://api.github.com/resource?page=5>; rel="last"
5151
```

translations/de-DE/content/rest/guides/getting-started-with-the-rest-api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ $ curl -i https://api.github.com/users/defunkt
5757
> Server: GitHub.com
5858
> Date: Sun, 11 Nov 2012 18:43:28 GMT
5959
> Content-Type: application/json; charset=utf-8
60-
> Status: 200 OK
6160
> ETag: "bfd85cbf23ac0b0c8a29bee02e7117c6"
6261
> X-RateLimit-Limit: 60
6362
> X-RateLimit-Remaining: 57

translations/de-DE/content/rest/overview/resources-in-the-rest-api.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ $ curl -I {% data variables.product.api_url_pre %}/users/octocat/orgs
3838
> Server: nginx
3939
> Date: Fri, 12 Oct 2012 23:33:14 GMT
4040
> Content-Type: application/json; charset=utf-8
41-
> Status: 200 OK
4241
> ETag: "a00049ba79152d03380c34652f2cb612"
4342
> X-GitHub-Media-Type: github.v3
4443
> X-RateLimit-Limit: 5000
@@ -331,7 +330,6 @@ The returned HTTP headers of any API request show your current rate limit status
331330
$ curl -I {% data variables.product.api_url_pre %}/users/octocat
332331
> HTTP/1.1 200 OK
333332
> Date: Mon, 01 Jul 2013 17:27:06 GMT
334-
> Status: 200 OK
335333
> X-RateLimit-Limit: 60
336334
> X-RateLimit-Remaining: 56
337335
> X-RateLimit-Reset: 1372700873
@@ -355,7 +353,6 @@ If you exceed the rate limit, an error response returns:
355353
```shell
356354
> HTTP/1.1 403 Forbidden
357355
> Date: Tue, 20 Aug 2013 14:50:41 GMT
358-
> Status: 403 Forbidden
359356
> X-RateLimit-Limit: 60
360357
> X-RateLimit-Remaining: 0
361358
> X-RateLimit-Reset: 1377013266
@@ -376,7 +373,6 @@ If your OAuth application needs to make unauthenticated calls with a higher rate
376373
$ curl -u my_client_id:my_client_secret {% data variables.product.api_url_pre %}/user/repos
377374
> HTTP/1.1 200 OK
378375
> Date: Mon, 01 Jul 2013 17:27:06 GMT
379-
> Status: 200 OK
380376
> X-RateLimit-Limit: 5000
381377
> X-RateLimit-Remaining: 4966
382378
> X-RateLimit-Reset: 1372700873
@@ -458,7 +454,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user
458454
> Cache-Control: private, max-age=60
459455
> ETag: "644b5b0155e6404a9cc4bd9d8b1ae730"
460456
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
461-
> Status: 200 OK
462457
> Vary: Accept, Authorization, Cookie
463458
> X-RateLimit-Limit: 5000
464459
> X-RateLimit-Remaining: 4996
@@ -469,7 +464,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user -H 'If-None-Match: "644b
469464
> Cache-Control: private, max-age=60
470465
> ETag: "644b5b0155e6404a9cc4bd9d8b1ae730"
471466
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
472-
> Status: 304 Not Modified
473467
> Vary: Accept, Authorization, Cookie
474468
> X-RateLimit-Limit: 5000
475469
> X-RateLimit-Remaining: 4996
@@ -479,7 +473,6 @@ $ curl -I {% data variables.product.api_url_pre %}/user -H "If-Modified-Since: T
479473
> HTTP/1.1 304 Not Modified
480474
> Cache-Control: private, max-age=60
481475
> Last-Modified: Thu, 05 Jul 2012 15:31:30 GMT
482-
> Status: 304 Not Modified
483476
> Vary: Accept, Authorization, Cookie
484477
> X-RateLimit-Limit: 5000
485478
> X-RateLimit-Remaining: 4996

translations/de-DE/content/rest/reference/activity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To get a feed in Atom format, you must specify the `application/atom+xml` type i
5656
#### Response
5757

5858
```shell
59-
Status: 200 OK
59+
HTTP/1.1 200 OK
6060
```
6161

6262
```xml

translations/es-ES/content/developers/webhooks-and-events/github-event-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Los objetos de los eventos que se devuelven de las terminales de la API de Event
4545
Este ejemplo te muestra el formato de la respuesta de [WatchEvent](#watchevent) cuando utilizas la [API de Eventos](/rest/reference/activity#events).
4646

4747
```
48-
Status: 200 OK
48+
HTTP/1.1 200 OK
4949
Link: <https://api.github.com/resource?page=2>; rel="next",
5050
<https://api.github.com/resource?page=5>; rel="last"
5151
```

translations/es-ES/content/rest/guides/getting-started-with-the-rest-api.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ $ curl -i https://api.github.com/users/defunkt
5757
> Server: GitHub.com
5858
> Date: Sun, 11 Nov 2012 18:43:28 GMT
5959
> Content-Type: application/json; charset=utf-8
60-
> Status: 200 OK
6160
> ETag: "bfd85cbf23ac0b0c8a29bee02e7117c6"
6261
> X-RateLimit-Limit: 60
6362
> X-RateLimit-Remaining: 57

0 commit comments

Comments
 (0)