Skip to content

Commit

Permalink
fix: update api endpoint names (#1080)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Sep 3, 2024
1 parent 233efcc commit 33e780d
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 33e780d

Please sign in to comment.