Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions errors/builds/build-tags-missing-exclusive-key.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name = "BUILDS_TAGS_MISSING_EXCLUSIVE_KEY"
description = "Provided exclusive key that's not in the tags."
http_status = 400
---

# Tags Missing Exclusive Key

Provided exclusive key that's not in the tags.

25 changes: 20 additions & 5 deletions fern/definition/servers/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ service:
game_id: optional<uuid>
response: ListBuildsResponse

patchTags:
path: /{build_id}/tags
method: PATCH
path-parameters:
build_id: uuid
request:
body: PatchBuildTagsRequest
response: PatchBuildTagsResponse

prepareBuild:
path: /prepare
method: POST
Expand All @@ -65,10 +74,19 @@ types:
docs: A list of builds for the game associated with the token.
type: list<localCommons.Build>

PatchBuildTagsRequest:
properties:
tags: unknown
exclusive_tags:
docs: Removes the given tag keys from all other builds.
type: optional<list<string>>

PatchBuildTagsResponse:
properties: {}

CreateBuildRequest:
properties:
name: string
tags: unknown
image_tag:
docs: A tag given to the game build.
type: string
Expand All @@ -80,10 +98,7 @@ types:

CreateBuildResponse:
properties:
build:
type: uuid
upload:
type: uuid
build: uuid
image_presigned_request: optional<uploadCommons.PresignedRequest>
image_presigned_requests: optional<list<uploadCommons.PresignedRequest>>

Expand Down
4 changes: 0 additions & 4 deletions fern/definition/servers/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,11 @@ types:
Build:
properties:
id: uuid
upload: uuid
name: string
created_at: commons.Timestamp
content_length:
docs: Unsigned 64 bit integer.
type: long
completed_at:
docs: Whether or not this build has completely been uploaded.
type: optional<commons.Timestamp>
tags:
docs: Tags of this build
type: map<string, string>
62 changes: 59 additions & 3 deletions sdks/full/go/servers/builds.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions sdks/full/go/servers/builds/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions sdks/full/go/servers/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading