Skip to content
Open
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
27 changes: 27 additions & 0 deletions cli/beamable.common/Runtime/OpenApi/BeamBeamo.gs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,17 @@ public partial interface IBeamBeamoApi
/// <returns>A promise containing the <see cref="BeamoV2EmptyMessage"/></returns>
Promise<BeamoV2EmptyMessage> PostManifestsCurrent([System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
/// <summary>
/// Get signed download URLs for private binary content referenced by the current manifest
///(portal extension files, schema documents). Bundle-origin items are signed against the
///publishing scope's storage location.
///
/// POST call to `/api/beamo/manifests/current/content-urls` endpoint.
/// </summary>
/// <param name="gsReq">The <see cref="BeamoV2GetManifestContentUrlsRequest"/> instance to use for the request</param>
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
/// <returns>A promise containing the <see cref="BeamoV2GetManifestContentUrlsResponse"/></returns>
Promise<BeamoV2GetManifestContentUrlsResponse> PostManifestsCurrentContentUrls(BeamoV2GetManifestContentUrlsRequest gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
/// <summary>
/// Promote the current manifest from a source realm to the requesting realm.
///DEPRECATED: This endpoint is required for legacy Scala proxy calls.
///
Expand Down Expand Up @@ -360,6 +371,22 @@ public virtual Promise<BeamoV2EmptyMessage> PostManifestsCurrent([System.Runtime
return _requester.Request<BeamoV2EmptyMessage>(Method.POST, gsUrl, default(object), includeAuthHeader, this.Serialize<BeamoV2EmptyMessage>);
}
/// <summary>
/// Get signed download URLs for private binary content referenced by the current manifest
///(portal extension files, schema documents). Bundle-origin items are signed against the
///publishing scope's storage location.
///
/// POST call to `/api/beamo/manifests/current/content-urls` endpoint.
/// </summary>
/// <param name="gsReq">The <see cref="BeamoV2GetManifestContentUrlsRequest"/> instance to use for the request</param>
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
/// <returns>A promise containing the <see cref="BeamoV2GetManifestContentUrlsResponse"/></returns>
public virtual Promise<BeamoV2GetManifestContentUrlsResponse> PostManifestsCurrentContentUrls(BeamoV2GetManifestContentUrlsRequest gsReq, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
{
string gsUrl = "/api/beamo/manifests/current/content-urls";
// make the request and return the result
return _requester.Request<BeamoV2GetManifestContentUrlsResponse>(Method.POST, gsUrl, Beamable.Serialization.JsonSerializable.ToJson(gsReq), includeAuthHeader, this.Serialize<BeamoV2GetManifestContentUrlsResponse>);
}
/// <summary>
/// Promote the current manifest from a source realm to the requesting realm.
///DEPRECATED: This endpoint is required for legacy Scala proxy calls.
///
Expand Down
459 changes: 213 additions & 246 deletions cli/beamable.common/Runtime/OpenApi/Models.gs.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Accounts
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Accounts
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Accounts
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Announcements
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Announcements
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Announcements
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Auth
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Auth
Expand Down

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

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Auth
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Auth
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Beamo
Expand Down Expand Up @@ -87,16 +87,13 @@ public partial interface IBeamBeamoApi
/// <returns>A promise containing the <see cref="BeamoV2GetStatusResponse"/></returns>
Promise<BeamoV2GetStatusResponse> GetStatus([System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
/// <summary>
/// Get the Docker container registry URI for the current platform. When service names are
///provided, also returns the canonical repository name each service must be pushed to for
///the caller's scope.
/// Get the Docker container registry URI for the current platform.
///
/// GET call to `/api/beamo/registry-uri` endpoint.
/// </summary>
/// <param name="serviceName">Optional service names to resolve repository names for.</param>
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
/// <returns>A promise containing the <see cref="BeamoV2UriResponse"/></returns>
Promise<BeamoV2UriResponse> GetRegistryUri([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string[]> serviceName, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
Promise<BeamoV2UriResponse> GetRegistryUri([System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader);
/// <summary>
/// Get service registrations matching the provided query.
///
Expand Down Expand Up @@ -404,30 +401,15 @@ public virtual Promise<BeamoV2GetStatusResponse> GetStatus([System.Runtime.Inter
return _requester.Request<BeamoV2GetStatusResponse>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<BeamoV2GetStatusResponse>);
}
/// <summary>
/// Get the Docker container registry URI for the current platform. When service names are
///provided, also returns the canonical repository name each service must be pushed to for
///the caller's scope.
/// Get the Docker container registry URI for the current platform.
///
/// GET call to `/api/beamo/registry-uri` endpoint.
/// </summary>
/// <param name="serviceName">Optional service names to resolve repository names for.</param>
/// <param name="includeAuthHeader">By default, every request will include an authorization header so that the request acts on behalf of the current user. When the includeAuthHeader argument is false, the request will not include the authorization header for the current user.</param>
/// <returns>A promise containing the <see cref="BeamoV2UriResponse"/></returns>
public virtual Promise<BeamoV2UriResponse> GetRegistryUri([System.Runtime.InteropServices.DefaultParameterValueAttribute(null)] [System.Runtime.InteropServices.OptionalAttribute()] Beamable.Common.Content.Optional<string[]> serviceName, [System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
public virtual Promise<BeamoV2UriResponse> GetRegistryUri([System.Runtime.InteropServices.DefaultParameterValueAttribute(true)] [System.Runtime.InteropServices.OptionalAttribute()] bool includeAuthHeader)
{
string gsUrl = "/api/beamo/registry-uri";
string gsQuery = "?";
System.Collections.Generic.List<string> gsQueries = new System.Collections.Generic.List<string>();
if (((serviceName != default(OptionalArrayOfString))
&& serviceName.HasValue))
{
gsQueries.Add(string.Concat("serviceName=", serviceName.Value.ToString()));
}
if ((gsQueries.Count > 0))
{
gsQuery = string.Concat(gsQuery, string.Join("&", gsQueries));
gsUrl = string.Concat(gsUrl, gsQuery);
}
// make the request and return the result
return _requester.Request<BeamoV2UriResponse>(Method.GET, gsUrl, default(object), includeAuthHeader, this.Serialize<BeamoV2UriResponse>);
}
Expand Down

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file generated by a copy-operation from another project.
// Edits to this file will be overwritten by the build process.
// this file was copied from nuget package Beamable.Common@7.2.2
// https://www.nuget.org/packages/Beamable.Common/7.2.2


namespace Beamable.Api.Autogenerated.Beamo
Expand Down

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

Loading
Loading