Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: fix shell help text to use resource:<uri> instead of resource:<name>#83

Open
jinzishuai wants to merge 1 commit intof:master from
jinzishuai:fix-shell-help-resource-uri
Open

docs: fix shell help text to use resource:<uri> instead of resource:<name> #83
jinzishuai wants to merge 1 commit intof:master from
jinzishuai:fix-shell-help-resource-uri

Conversation

@jinzishuai
Copy link

@jinzishuai jinzishuai commented Dec 6, 2025

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

AltStyle によって変換されたページ (->オリジナル) /