Skip to content

Commit

Permalink
feat: add actor api (#1231)
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 Oct 23, 2024
1 parent 3f10f74 commit bf506f6
Show file tree
Hide file tree
Showing 1,769 changed files with 34,394 additions and 28,375 deletions.
11,777 changes: 11,777 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ members = [
"svc/api/cloud/",
"svc/api/job/",
"svc/api/games/",
"svc/api/servers/",
"svc/api/actor/",
"svc/pkg/token/ops/exchange/",
"svc/pkg/token/ops/revoke/",
"svc/pkg/token/ops/get/",
Expand Down
14 changes: 7 additions & 7 deletions fern/definition/actor/logs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ imports:

service:
auth: true
base-path: /games/{game_id}/environments/{environment_id}/servers
base-path: /games/{game_id}/environments/{environment_id}/actors
path-parameters:
game_id: uuid
environment_id: uuid
endpoints:
get:
path: /{server_id}/logs
path: /{actor_id}/logs
method: GET
docs: >-
Returns the logs for a given server.
Returns the logs for a given actor.
path-parameters:
server_id:
actor_id:
type: uuid
request:
name: GetServerLogsRequest
name: GetActorLogsRequest
query-parameters:
stream: LogStream
watch_index:
docs: A query parameter denoting the requests watch index.
type: optional<string>
response: GetServerLogsResponse
response: GetActorLogsResponse

types:
GetServerLogsResponse:
GetActorLogsResponse:
properties:
lines:
docs: Sorted old to new.
Expand Down
108 changes: 0 additions & 108 deletions fern/definition/servers/__package__.yml

This file was deleted.

117 changes: 0 additions & 117 deletions fern/definition/servers/builds.yml

This file was deleted.

101 changes: 0 additions & 101 deletions fern/definition/servers/common.yml

This file was deleted.

Loading

0 comments on commit bf506f6

Please sign in to comment.