Class SessionVisibilityApi
java.lang.Object
com.github.copilot.generated.rpc.SessionVisibilityApi
API methods for the
visibility namespace.- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionget()Returns the session's current Mission Control sharing status and shareable GitHub URL.set(SessionVisibilitySetParams params) Sets the session's Mission Control sharing status, controlling whether the synced session is visible to repository readers.
-
Method Details
-
get
Returns the session's current Mission Control sharing status and shareable GitHub URL. Reflects whether the synced session is visible to repository readers ("repo") or restricted to its creator and collaborators ("unshared").- Since:
- 1.0.0
-
set
@CopilotExperimental public CompletableFuture<SessionVisibilitySetResult> set(SessionVisibilitySetParams params) Sets the session's Mission Control sharing status, controlling whether the synced session is visible to repository readers. Returns the effective status and shareable GitHub URL after the change.Note: the
sessionIdfield in the params record is overridden by the session-scoped wrapper; any value provided is ignored.- Since:
- 1.0.0
-