Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Added Group refs #37

Merged
merged 5 commits into from
Apr 19, 2016
Merged

Added Group refs #37

merged 5 commits into from
Apr 19, 2016

Conversation

RichardLitt
Copy link
Contributor

Bugs:

  • The format option has no effect on the output.
  • If an argument is included, an invalid ipfs paths ref error is thrown,
    although there is no possible valid ipfs paths ref.

+ Body

```
```
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why add this section at all?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To make it clear that an empty body is returned. How could this be done better?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would leave it out, but not sure

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could add a line in the comment section about this, maybe?

Copy link
Collaborator

Choose a reason for hiding this comment

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

comment section?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The optional description section for the response. I could just say, in instances like this, 'There is no body'

@RichardLitt
Copy link
Contributor Author

In cases of default values: should I PR go-ipfs with a default value, too? @whyrusleeping @diasdavid

@daviddias
Copy link
Contributor

In cases of default values: should I PR go-ipfs with a default value, too?

If there is a default value to be written on the API spec, I would assume that is already part of go-ipfs knowledge, however, if not, definitely PR or open a issue about it.

  • The format option has no effect on the output.

Because it is a CLI thing, not part of the HTTP API

  • If an argument is included, an invalid ipfs paths ref error is thrown,
    although there is no possible valid ipfs paths ref.

Which kind of argument?

@daviddias
Copy link
Contributor

As for the rest, LGTM.

Note: it would be really cool if we standardized on the IPFS Hashes format, sometimes it has to be multihash (/ipfs/HASH) others is just the hash, it can be annoying.

@RichardLitt
Copy link
Contributor Author

Default values added here: ipfs/kubo#2582. For now, going to publish as is.

@RichardLitt
Copy link
Contributor Author

Kind of argument: failed to replicate. Removed bug notice. Also removed format.

Bugs:
    - [ ] The `format` option has no effect on the output.
    - [ ] If an argument is included, an `invalid ipfs paths ref` error is thrown,
    although there is no possible valid ipfs paths ref.
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