https://github.com/ipfs/go-pinning-service-http-client
An IPFS Pinning Service HTTP Client
https://github.com/ipfs/go-pinning-service-http-client
Last synced: 9 months ago
JSON representation
An IPFS Pinning Service HTTP Client
- Host: GitHub
- URL: https://github.com/ipfs/go-pinning-service-http-client
- Owner: ipfs
- License: other
- Archived: true
- Created: 2020-08-27T19:05:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-14T11:12:47.000Z (almost 3 years ago)
- Last Synced: 2024-09-13T17:14:35.319Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 158 KB
- Stars: 18
- Watchers: 14
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go-pinning-service-http-client
> This repo is contains a reference implementation of a client for the [IPFS Pinning Services API Spec](https://github.com/ipfs/pinning-services-api-spec)
[](http://protocol.ai)
[](https://ipfs.io/)
[](https://github.com/ipfs/specs/#understanding-the-meaning-of-the-spec-badges-and-their-lifecycle)
## ❗ This repo is no longer maintained.
👉 We highly recommend switching to the maintained version at https://github.com/ipfs/boxo/tree/main/pinning/remote.
🏎️ Good news! There is [tooling and documentation](https://github.com/ipfs/boxo#migrating-to-boxo) to expedite a switch in your repo.
⚠️ If you continue using this repo, please note that security fixes will not be provided (unless someone steps in to maintain it).
📚 Learn more, including how to take the maintainership mantle or ask questions, [here](https://github.com/ipfs/boxo/wiki/Copied-or-Migrated-Repos-FAQ).
## Updating Pinning Service Spec
Download the openapi-generator from https://github.com/OpenAPITools/openapi-generator and generate the code using:
Current code generated with: openapi-generator 5.0.0-beta
```
openapi-generator generate -g go-experimental -i https://raw.githubusercontent.com/ipfs/pinning-services-api-spec/master/ipfs-pinning-service.yaml -o openapi
rm openapi/go.mod openapi/go.sum
```
Notes:
Due to https://github.com/OpenAPITools/openapi-generator/issues/7473 the code generator the http error codes processing
may need some manual editing.
`go-experimental` is becoming mainstream and so in later versions will be replaced with `go`
## License
[SPDX-License-Identifier: Apache-2.0 OR MIT](LICENSE.md)