Skip to content

Commit 33e780d

Browse files
committed
fix: update api endpoint names (#1080)
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
1 parent 233efcc commit 33e780d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

fern/definition/servers/builds.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ service:
1212
game_id: uuid
1313
environment_id: uuid
1414
endpoints:
15-
getBuild:
15+
get:
1616
path: /{build_id}
1717
method: GET
1818
docs: >-
@@ -26,7 +26,7 @@ service:
2626
tags_json: optional<string>
2727
response: GetBuildResponse
2828

29-
listBuilds:
29+
list:
3030
path: ""
3131
method: GET
3232
docs: >-
@@ -47,15 +47,15 @@ service:
4747
body: PatchBuildTagsRequest
4848
response: PatchBuildTagsResponse
4949

50-
prepareBuild:
50+
prepare:
5151
path: /prepare
5252
method: POST
5353
docs: Creates a new game build for the given game.
5454
request:
5555
body: CreateBuildRequest
5656
response: CreateBuildResponse
5757

58-
completeBuild:
58+
complete:
5959
path: /{build_id}/complete
6060
method: POST
6161
docs: Marks an upload as complete.

fern/definition/servers/datacenters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ service:
1212
game_id: uuid
1313
environment_id: uuid
1414
endpoints:
15-
listDatacenters:
15+
list:
1616
path: ""
1717
method: GET
1818
request:

fern/definition/servers/logs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ service:
1010
game_id: uuid
1111
environment_id: uuid
1212
endpoints:
13-
getServerLogs:
13+
get:
1414
path: /{server_id}/logs
1515
method: GET
1616
docs: >-

0 commit comments

Comments
 (0)