Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

Document HTTP Status Codes #23

Merged
merged 3 commits into from
Nov 5, 2019
Merged

Document HTTP Status Codes #23

merged 3 commits into from
Nov 5, 2019

Conversation

lidel
Copy link
Contributor

@lidel lidel commented Nov 5, 2019

This PR:

(i will PR to docs.ipfs.io and link to a preview shortly)

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
also fixed some broken links

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
@lidel lidel requested a review from hsanjuan November 5, 2019 13:18
lidel added a commit to ipfs-inactive/docs that referenced this pull request Nov 5, 2019
Generated with ipfs-inactive/http-api-docs#23

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
)

replace github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead => github.com/go-critic/go-critic v0.3.5-0.20190210220443-ee9bf5809ead
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty horrible

@hsanjuan
Copy link
Member

hsanjuan commented Nov 5, 2019

Works for me without hacking the imports

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
@hsanjuan
Copy link
Member

hsanjuan commented Nov 5, 2019

Nevermind, it seems I'm running a go 1.13 version that still does not fuck up everything.

@hsanjuan hsanjuan merged commit 93b8b53 into master Nov 5, 2019
@hsanjuan hsanjuan deleted the feat/rpc-docs-and-go-0.13 branch November 5, 2019 20:40
@jessicaschilling
Copy link
Contributor

@lidel @hsanjuan What was your workaround for the CircleCI build test failing? I'd like to merge ipfs-inactive/docs#368 ...

* `+"`400`"+` - Malformed RPC, argument type error, etc
* `+"`403`"+` - RPC call forbidden

In other words, `+"`500`"+` means that the function _does_ exist, it just failed internally for some reason. To know that reason, you have to look at the "application layer" error (commands lib error).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: functions can also fail with a 200 status code by later returning a trailing error. 😭.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants