Replies: 11 comments 13 replies
-
|
Please note that LLM related actions are not yet finalised. I will add them later. |
Beta Was this translation helpful? Give feedback.
-
Quote
SuggestionWhat if we provide a name to the gateway? List gateways Remove gateway These info will be persist in ~/.apipctl/config.yaml This will be align with other commands. |
Beta Was this translation helpful? Give feedback.
-
|
I see certain places where we have to give the name and version of the API. Shouldn't this be given as -n "API Name" -v "API Version" or something similar to that format? |
Beta Was this translation helpful? Give feedback.
-
|
Whats the command hierarchy we are going to follow here? 1. Noun before the verbctl gateway apis listThis pattern is used by some CLIs like aws cli 2. Verb before the nounctl gateway list apisThis pattern is used by some CLIs like kubectl Also, since we have two different areas we need to cover with this CLI (gateway and platform API) we could consider using contexts as well instead of defining as a subcommand. This is similar to how kubectl handles multiple connected clusters. |
Beta Was this translation helpful? Give feedback.
-
|
I am also +1 to use nouns before the verb. However, its better not to switch the entire CLI command list when we switch the context and that can cause confusions. Its better to use seperate contexts for main sub commands ( |
Beta Was this translation helpful? Give feedback.
-
|
Command options from existing CLIs: Option 1: Noun before verb + all parameters are flags Azure CLI follows this method Option 2: Noun before verb + main/resource-identification/mandatory parameters are positional, others are flags (hybrid approach) Google Cloud CLI follows this method
Option 3: Verb before noun + main/resource-identification/mandatory parameters are positional, others are flags (hybrid approach) This is similar to kubectl, git command references. Option 4: Verb before noun + all parameters are flags Seems to be rare. The closest example found was the windows powershell commands. (But in the above command -Name flag is also optional - means |
Beta Was this translation helpful? Give feedback.
-
|
Updated the discussion description with CLI commands for below LLM REST calls. POST /llm-providers/templates |
Beta Was this translation helpful? Give feedback.
-
|
Discussion notes:
|
Beta Was this translation helpful? Give feedback.
-
|
For the 1st iteration, we will implement API, MCP, and LLM deployments support.
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Refer #516 discussion for gateway build command changes. I have updated the description of this discussion with latest finalised command for build a gateway. Additionally, due to the architecture group discussion, we changed |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Find Below Proposed CLI Commands
1. Add a Gateway
CLI Command
Sample Command
Sample Response
2. List Gateways
CLI Command
Sample Command
Sample Response
3. Remove a Gateway
CLI Command
Sample Command
Sample Response
4. Change the Gateway
CLI Command
Sample Command
Sample Response
5. Check the current Gateway
CLI Command
Sample Command
Sample Response
6. Returns the health status of the Gateway
CLI Command
Sample Command
Sample Response
7. Apply a Resource
CLI Command
Sample Command
Sample Response
8. List all APIs
CLI Command
Sample Command
Sample Response
9. Get a specific API by name and version or id
CLI Command
Sample Command
Sample Response
10. Delete an API
CLI Command
Sample Command
Sample Response
11. Build a gateway
CLI Command
Sample Command
Sample Response
12. List all MCPs
CLI Command
Sample Command
Sample Response
13. Retrieves a specific MCP
CLI Command
Sample Command
Sample Response
14. Permanently deletes a MCP
CLI Command
Sample Command
Sample Response
15. Generate MCP
CLI Command
Sample Command
Sample Response
Beta Was this translation helpful? Give feedback.
All reactions