Skip to content

Commit f254143

Browse files
committed
Fixed path elements in API examples.
1 parent 6906a11 commit f254143

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

api-style-guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ HTTP headers are written in camelCase + hyphenated syntax, e.g. Foo-Request-Id.
101101
* [API Versioning Policy](#api-versioning-policy)
102102
* [Backwards Compatibility](#backwards-compatibility)
103103
* [End of Life Policy](#eol-policy)
104-
* [Deprecation](#deprecated)
104+
* [Deprecation](#deprecation)
105105
* [Terms Used](#deprecation-terms-used)
106106
* [Background](#deprecation-background)
107107
* [Requirements](#deprecation-requirements)

patterns.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
/
22
# API Design Patterns And Use Cases
33

44

@@ -687,7 +687,7 @@ _**For the very first request from the client**:_
687687
The API client sends a new `POST` request with the `Foo-Request-Id` header that contains the `idempotency key`.
688688

689689
```
690-
POST v1/payments/referenced-payouts-items HTTP/1.1
690+
POST /v1/payments/referenced-payouts-items HTTP/1.1
691691
Host: api.foo.com
692692
Content-Type: application/json
693693
Authorization: Bearer oauth2_token
@@ -731,7 +731,7 @@ _**For subsequent requests from the client with same input payload**:_
731731
The API client sends a `POST` request with the same `idempotency key` and input body as before.
732732

733733
```
734-
POST v1/payments/referenced-payouts-items HTTP/1.1
734+
POST /v1/payments/referenced-payouts-items HTTP/1.1
735735
Host: api.foo.com
736736
Content-Type: application/json
737737
Authorization: Bearer oauth2_token

0 commit comments

Comments
 (0)