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
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export function PlaytesthubServiceAdminApi(sdk: AccelByteSDK, args?: SdkSetConfi
return {
getPlaytests,
/**
* STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2.
* Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT.
*/
createPlaytest,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class PlaytesthubServiceAdmin$ {
)
}
/**
* STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2.
* Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT.
*/
createPlaytest(data: PlaytesthubServiceCreatePlaytestBody): Promise<Response<V1CreatePlaytestResponse>> {
const params = {} as AxiosRequestConfig
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const usePlaytesthubServiceAdminApi_GetPlaytests = (
}

/**
* STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2.
* Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT.
*
* #### Default Query Options
* The default options include:
Expand Down
2 changes: 1 addition & 1 deletion admin/swaggers/playtesthub.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
},
"post": {
"summary": "Create a playtest (admin)",
"description": "STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2.",
"description": "Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT.",
"operationId": "PlaytesthubService_CreatePlaytest",
"responses": {
"200": {
Expand Down
2 changes: 1 addition & 1 deletion gateway/apidocs/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@
},
"post": {
"summary": "Create a playtest (admin)",
"description": "STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2.",
"description": "Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT.",
"operationId": "PlaytesthubService_CreatePlaytest",
"responses": {
"200": {
Expand Down
6 changes: 3 additions & 3 deletions pkg/pb/playtesthub/v1/playtesthub.pb.go

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

4 changes: 2 additions & 2 deletions pkg/service/playtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ func requireActor(ctx context.Context) (uuid.UUID, error) {
return id, nil
}

// CreatePlaytest inserts a new playtest row. STEAM_KEYS only in M1 —
// AGS_CAMPAIGN returns Unimplemented until M2 (errors.md).
// CreatePlaytest inserts a new playtest row. Accepts STEAM_KEYS,
// AGS_CAMPAIGN, and ADT distribution models.
func (s *PlaytesthubServiceServer) CreatePlaytest(ctx context.Context, req *pb.CreatePlaytestRequest) (*pb.CreatePlaytestResponse, error) {
if _, err := requireActor(ctx); err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion proto/playtesthub/v1/playtesthub.proto
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ service PlaytesthubService {
};
option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = {
summary: "Create a playtest (admin)"
description: "STEAM_KEYS only in M1; distribution_model=AGS_CAMPAIGN returns Unimplemented until M2."
description: "Create a playtest with distribution_model STEAM_KEYS, AGS_CAMPAIGN, or ADT."
security: {
security_requirement: {
key: "Bearer"
Expand Down
Loading