CommunityEndpoints¶
Namespace Nfty.Core.Publish.Community in assembly Nfty.Core.
Where the community gallery lives. Only the API and uploads hosts ever receive the person's token.
Constructors¶
CommunityEndpoints(string, Uri, Uri, Uri, string, string)¶
public CommunityEndpoints(string GalleryRepo, Uri IndexUrl, Uri ApiBase, Uri UploadsBase, string ClientId, string ActionsBot = "github-actions[bot]");
Parameters
GalleryRepo(string) - The gallery repository,owner/name.IndexUrl(Uri) - The published list (served from Pages; fetched without a token).ApiBase(Uri) - The GitHub REST API root.UploadsBase(Uri) - The GitHub release-upload root.ClientId(string) - The OAuth app's public client id.ActionsBot(string) - The login whose pull request comments are the gallery's checks; any other commenter is ignored.
Properties¶
ActionsBot¶
The login whose pull request comments are the gallery's checks; any other commenter is ignored.
ApiBase¶
The GitHub REST API root.
ClientId¶
The OAuth app's public client id.
Default¶
The shipped gallery: vaporsoft-dev/nfty-gallery, signed in through the vaporsoft-dev OAuth app (device flow, no client secret — the id is public by design).
GalleryRepo¶
The gallery repository, owner/name.
IndexUrl¶
The published list (served from Pages; fetched without a token).
UploadsBase¶
The GitHub release-upload root.