Skip to content

Commit

Permalink
fix(docs): creating a new pin object
Browse files Browse the repository at this point in the history
Fix docs to match spec. The endpoint takes a single object now.
Details: #39
  • Loading branch information
lidel authored Jul 30, 2020
1 parent 899bfc4 commit e51e84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs-pinning-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ It includes the original `pin` object, along with current `status` and `id`, whi
### Creating a new pin object
The user sends one or more `Pin` objects via `POST /pins` and receives a `PinStatus` response for each:
The user sends a `Pin` object to `POST /pins` and receives a `PinStatus` response:
- `id` in `PinStatus` is `cid-of-pin-object`, which can can be used for checking status, modifying the pin, and/or removing the pin in the future
Expand Down

0 comments on commit e51e84e

Please sign in to comment.