-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(bolt): add server filters & update admin api + cli
- Loading branch information
1 parent
0aa7ee9
commit c4a2650
Showing
202 changed files
with
3,714 additions
and
3,553 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,33 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json | ||
|
||
imports: | ||
localCommons: ../common.yml | ||
localCommons: ./common.yml | ||
|
||
service: | ||
auth: true | ||
base-path: /admin/clusters | ||
endpoints: | ||
getServerIps: | ||
path: /server_ips | ||
method: GET | ||
request: | ||
name: GetServerIpsRequest | ||
query-parameters: | ||
server_id: optional<uuid> | ||
pool: optional<localCommons.PoolType> | ||
response: GetServerIpsResponse | ||
list: | ||
path: "" | ||
method: GET | ||
docs: Get clusters | ||
response: ListResponse | ||
response: ListClustersResponse | ||
create: | ||
path: "" | ||
method: POST | ||
docs: Create a new cluster | ||
request: | ||
body: CreateRequest | ||
response: CreateResponse | ||
body: CreateClusterRequest | ||
response: CreateClusterResponse | ||
|
||
types: | ||
GetServerIpsResponse: | ||
properties: | ||
ips: list<string> | ||
ListResponse: | ||
ListClustersResponse: | ||
properties: | ||
clusters: list<localCommons.Cluster> | ||
CreateRequest: | ||
CreateClusterRequest: | ||
properties: | ||
name_id: string | ||
owner_team_id: optional<uuid> | ||
CreateResponse: | ||
CreateClusterResponse: | ||
properties: | ||
cluster_id: uuid |
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/fern-api/fern/main/fern.schema.json | ||
|
||
imports: | ||
localCommons: ./common.yml | ||
|
||
service: | ||
auth: true | ||
base-path: /admin/clusters/{cluster_id}/servers | ||
path-parameters: | ||
cluster_id: | ||
type: uuid | ||
endpoints: | ||
list: | ||
path: "" | ||
method: GET | ||
request: | ||
name: ListServersRequest | ||
query-parameters: | ||
server_id: optional<string> | ||
datacenter: optional<string> | ||
pool: optional<localCommons.PoolType> | ||
public_ip: optional<string> | ||
response: ListServersResponse | ||
taint: | ||
path: /taint | ||
method: POST | ||
request: | ||
name: TaintServersRequest | ||
query-parameters: | ||
server_id: optional<string> | ||
datacenter: optional<string> | ||
pool: optional<localCommons.PoolType> | ||
public_ip: optional<string> | ||
|
||
types: | ||
ListServersResponse: | ||
properties: | ||
servers: list<localCommons.Server> | ||
|
This file contains 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
Oops, something went wrong.