Skip to content

Conversation

@jinzishuai
Copy link

Problem

The shell command's resource shorthand expects a URI parameter, not a name. This causes confusion when users try to use resource:4Cs.pdf (using the NAME column from the resources list) and receive an 'Invalid request parameters' error.

Solution

Updated the help text to accurately reflect that the command requires a URI:

  • Changed resource:<name> to resource:<uri>

Example

Before: Users might try resource:4Cs.pdf (which fails)
After: Users will understand they need to use resource:http://0.0.0.0:7860/api/v2/files/002ebfc2-e408-41e6-bce5-2d28a91220bf

This is a documentation-only change that helps users understand the correct syntax.

…name>

The shell command's resource shorthand expects a URI parameter, not a name.
This updates the help text to accurately reflect this requirement, helping
users avoid the 'Invalid request parameters' error when trying to read
resources by name instead of URI.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant