docs(freeticket-cli): session-first auth, ft admin login, --json/--raw contract#10
Merged
Merged
Conversation
…w contract
Mirrors freeticket-cli v0.7.0:
- Auth policy + tables now say "session"/credential on the normal path and
trigger on the new messages ("Not logged in", "session invalid"); `--key`/
`FT_API_KEY` reframed as CI/headless only (cli#17).
- Superadmin setup uses `ft admin login --session <token>` (validated) with
logout/config, instead of hand-exporting FT_ADMIN_SESSION (cli#20).
- Documented the real contract: `--json` on lists = data array, `--raw` =
{ data, page } envelope. Fixed the pagination recipe that read `.page` off
`--json` (it never had it) to use `--raw` (cli#19).
- Noted empty `--csv` keeps its header (cli#18), 401 = expired session, and
that this skill assumes ft >= 0.7.0 (with the CLI's update notice).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors freeticket-cli v0.7.0 in the
freeticket-cliskill (SKILL.md + references/commands.md).Not logged in,session invalid).--key/FT_API_KEYreframed as CI/headless only.ft admin login --session <token>(validated) +logout/config, instead of hand-exportingFT_ADMIN_SESSION.--jsonon lists = data array,--raw={ data, page }envelope. Fixed the pagination recipe that read.page.nextCursoroff--json(it never had it) to use--raw.--csvkeeps its header (cli#18),401= expired session, and a note that this skill assumes ft ≥ 0.7.0 (backed by the CLI's new update notice).No new dependencies; docs-only.
🤖 Generated with Claude Code