Skip to content

Commit ff0bd8a

Browse files
authored
Merge pull request #8 from patch-technology/ta/fix-links
fix links
2 parents 6f7671b + b4bd2a6 commit ff0bd8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
The official Ruby gem for the [Patch API](https://www.usepatch.com)
77

88
## Documentation
9-
For a complete API reference, check out [Patch's API Reference.](https://docs.usepatch.com/docs/patch/openapi/v1/swagger.yaml)
9+
For a complete API reference, check out [Patch's API Reference.](https://docs.usepatch.com/)
1010

1111
## Installation
1212

@@ -45,7 +45,7 @@ end
4545
### Orders
4646
In Patch, orders represent a purchase of carbon offsets or negative emissions by mass. Place orders directly if you know the amount of carbon dioxide you would like to sequester. If you do not know how much to purchase, use an estimate.
4747

48-
[API Reference](https://docs.usepatch.com/docs/patch/openapi/v1/swagger.yaml/paths/~1v1~1orders/get)
48+
[API Reference](https://docs.usepatch.com/#/?id=orders)
4949

5050
#### Examples
5151
```ruby
@@ -81,7 +81,7 @@ Patch::Order.retrieve_orders(page: page)
8181
### Estimates
8282
Estimates allow API users to get a quote for the cost of compensating a certain amount of CO2. When creating an estimate, an order in the `draft` state will also be created, reserving the allocation of a project for 5 minutes. If you don't place your draft order within those 5 minutes, the order will automatically be cancelled.
8383

84-
[API Reference](https://docs.usepatch.com/docs/patch/openapi/v1/swagger.yaml/paths/~1v1~1estimates/get)
84+
[API Reference](https://docs.usepatch.com/#/?id=estimates)
8585

8686
#### Examples
8787
```ruby
@@ -105,7 +105,7 @@ Patch::Estimate.retrieve_estimates(page: page)
105105
### Projects
106106
Projects are the ways Patch takes CO2 out of the air. They can represent reforestation, enhanced weathering, direct air carbon capture, etc. When you place an order via Patch, it is allocated to a project.
107107

108-
[API Reference](https://docs.usepatch.com/docs/patch/openapi/v1/swagger.yaml/paths/~1v1~1projects/get)
108+
[API Reference](https://docs.usepatch.com/#/?id=projects)
109109

110110
#### Examples
111111
```ruby
@@ -121,7 +121,7 @@ Patch::Project.retrieve_projects(page: page)
121121
### Preferences
122122
Preferences are how you route your orders in Patch. If you don't have a preference, Patch will allocate your order to the least expensive option. If you do have a preference, all of your orders will be sent to that project. You can set your preferences via API, or through the [Patch Dashboard](https://dashboard.usepatch.com/projects).
123123

124-
[API Reference](https://docs.usepatch.com/docs/patch/openapi/v1/swagger.yaml/paths/~1v1~1preferences/post)
124+
[API Reference](https://docs.usepatch.com/#/?id=preferences)
125125

126126
#### Examples
127127
```ruby

0 commit comments

Comments
 (0)