Skip to content

Commit

Permalink
fix: update api endpoint names
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterPtato committed Aug 23, 2024
1 parent 5632b16 commit bcbd418
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions fern/definition/servers/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ service:
game_id: uuid
environment_id: uuid
endpoints:
getBuild:
get:
path: /{build_id}
method: GET
docs: >-
Expand All @@ -26,7 +26,7 @@ service:
tags_json: optional<string>
response: GetBuildResponse

listBuilds:
list:
path: ""
method: GET
docs: >-
Expand All @@ -47,15 +47,15 @@ service:
body: PatchBuildTagsRequest
response: PatchBuildTagsResponse

prepareBuild:
prepare:
path: /prepare
method: POST
docs: Creates a new game build for the given game.
request:
body: CreateBuildRequest
response: CreateBuildResponse

completeBuild:
complete:
path: /{build_id}/complete
method: POST
docs: Marks an upload as complete.
Expand Down
2 changes: 1 addition & 1 deletion fern/definition/servers/datacenters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ service:
game_id: uuid
environment_id: uuid
endpoints:
listDatacenters:
list:
path: ""
method: GET
request:
Expand Down
2 changes: 1 addition & 1 deletion fern/definition/servers/logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ service:
game_id: uuid
environment_id: uuid
endpoints:
getServerLogs:
get:
path: /{server_id}/logs
method: GET
docs: >-
Expand Down

0 comments on commit bcbd418

Please sign in to comment.