spatio-sdk 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +21 -0
- data/README.md +31 -0
- data/Rakefile +10 -0
- data/docs/AcceptOrganizationInvitationRequest.md +18 -0
- data/docs/AccountApi.md +793 -0
- data/docs/AccountChoice.md +22 -0
- data/docs/AccountError.md +20 -0
- data/docs/AccountListResponse.md +22 -0
- data/docs/AccountPlan.md +24 -0
- data/docs/AccountStatus.md +28 -0
- data/docs/AccountTierDetails.md +46 -0
- data/docs/AccountUsage.md +32 -0
- data/docs/ActionDescriptor.md +32 -0
- data/docs/ActionsApi.md +409 -0
- data/docs/AddOrganizationMemberRequest.md +22 -0
- data/docs/AddWorkspaceMemberRequest.md +20 -0
- data/docs/Agent.md +40 -0
- data/docs/AgentConversation.md +28 -0
- data/docs/AgentConversationListResponse.md +20 -0
- data/docs/AgentListResponse.md +24 -0
- data/docs/AgentMessage.md +28 -0
- data/docs/AgentMessageListResponse.md +20 -0
- data/docs/AgentSessionContext.md +24 -0
- data/docs/AgentTaskUsage.md +26 -0
- data/docs/AgentsApi.md +884 -0
- data/docs/AmbiguousAccountError.md +22 -0
- data/docs/ApiError.md +20 -0
- data/docs/App.md +32 -0
- data/docs/AppFileContentResponse.md +20 -0
- data/docs/AppFileListResponse.md +18 -0
- data/docs/AppListResponse.md +20 -0
- data/docs/AppsApi.md +984 -0
- data/docs/AssignContactCategoryRequest.md +18 -0
- data/docs/Attachment.md +26 -0
- data/docs/AttachmentInput.md +24 -0
- data/docs/AttachmentMeta.md +24 -0
- data/docs/Attendee.md +30 -0
- data/docs/AttendeeRole.md +15 -0
- data/docs/AttendeeStatus.md +15 -0
- data/docs/Block.md +36 -0
- data/docs/BlockContent.md +38 -0
- data/docs/BlockListResponse.md +20 -0
- data/docs/BlockType.md +15 -0
- data/docs/BulkArchiveRequest.md +20 -0
- data/docs/BulkArchiveResponse.md +22 -0
- data/docs/BulkArchiveResponseFailedInner.md +20 -0
- data/docs/BulkDeleteEmailsRequest.md +22 -0
- data/docs/BulkDeleteEmailsResponse.md +22 -0
- data/docs/BulkDeleteFilesRequest.md +24 -0
- data/docs/BulkDeleteTasksRequest.md +24 -0
- data/docs/BulkDeleteTasksResponse.md +24 -0
- data/docs/BulkDeleteTasksResponseFailedInner.md +20 -0
- data/docs/BulkFilesResponse.md +24 -0
- data/docs/BulkFilesResponseFailedInner.md +20 -0
- data/docs/BulkMarkReadRequest.md +22 -0
- data/docs/BulkMarkReadResponse.md +20 -0
- data/docs/BulkMarkReadResponseFailedInner.md +20 -0
- data/docs/BulkMoveFilesRequest.md +26 -0
- data/docs/BulkUpdateTasksRequest.md +24 -0
- data/docs/BulkUpdateTasksResponse.md +24 -0
- data/docs/CalendarAccountError.md +24 -0
- data/docs/CalendarApi.md +1031 -0
- data/docs/CalendarCapabilitiesResponse.md +22 -0
- data/docs/CalendarOperationResult.md +24 -0
- data/docs/CalendarProviderInfo.md +26 -0
- data/docs/CalendarProvidersInfo.md +18 -0
- data/docs/CalendarSyncResponse.md +26 -0
- data/docs/CallListResponse.md +20 -0
- data/docs/CallRecording.md +30 -0
- data/docs/CallRecordingListResponse.md +18 -0
- data/docs/CallsApi.md +2096 -0
- data/docs/Cell.md +22 -0
- data/docs/ChangePasswordRequest.md +20 -0
- data/docs/Channel.md +38 -0
- data/docs/ChannelMembershipRequest.md +18 -0
- data/docs/ChannelsApi.md +1170 -0
- data/docs/ChatActionDefinition.md +34 -0
- data/docs/ChatActionsList.md +18 -0
- data/docs/ChatMessage.md +36 -0
- data/docs/ChatUser.md +34 -0
- data/docs/ChunkedFileManifest.md +34 -0
- data/docs/ClientRegistrationRequest.md +36 -0
- data/docs/ClientRegistrationResponse.md +38 -0
- data/docs/Comment.md +32 -0
- data/docs/CommentAuthor.md +24 -0
- data/docs/CommentListResponse.md +20 -0
- data/docs/CommentMutationResponse.md +20 -0
- data/docs/CommentResponse.md +18 -0
- data/docs/CommitChunkedUploadRequest.md +18 -0
- data/docs/CommitChunkedUploadResponse.md +36 -0
- data/docs/ConferenceData.md +28 -0
- data/docs/ConnectedAppItem.md +34 -0
- data/docs/ConnectedAppsListResponse.md +18 -0
- data/docs/ConnectionAccountListResponse.md +22 -0
- data/docs/ConnectionListResponse.md +20 -0
- data/docs/ConnectionsApi.md +748 -0
- data/docs/ConsumeAgentTaskResponse.md +26 -0
- data/docs/Contact.md +46 -0
- data/docs/ContactCategory.md +26 -0
- data/docs/ContactCategoryListResponse.md +18 -0
- data/docs/ContactListResponse.md +22 -0
- data/docs/ContactProvider.md +26 -0
- data/docs/ContactProviderListResponse.md +18 -0
- data/docs/ContactsApi.md +830 -0
- data/docs/Conversation.md +42 -0
- data/docs/ConversationMessage.md +28 -0
- data/docs/ConversationsApi.md +636 -0
- data/docs/CoreAction.md +30 -0
- data/docs/CoreActionListResponse.md +20 -0
- data/docs/CreateAgentConversationRequest.md +22 -0
- data/docs/CreateAgentMessageRequest.md +22 -0
- data/docs/CreateAgentRequest.md +30 -0
- data/docs/CreateAppRequest.md +26 -0
- data/docs/CreateBlockRequest.md +26 -0
- data/docs/CreateCalendarEvent201Response.md +24 -0
- data/docs/CreateCallRequest.md +24 -0
- data/docs/CreateChannelRequest.md +24 -0
- data/docs/CreateChannelResponse.md +20 -0
- data/docs/CreateCommentRequest.md +24 -0
- data/docs/CreateContactCategoryRequest.md +22 -0
- data/docs/CreateContactRequest.md +32 -0
- data/docs/CreateConversationRequest.md +26 -0
- data/docs/CreateDraftRequest.md +38 -0
- data/docs/CreateEmailFolderRequest.md +20 -0
- data/docs/CreateEventRequest.md +26 -0
- data/docs/CreateFolderRequest.md +26 -0
- data/docs/CreateLabelRequest.md +26 -0
- data/docs/CreateLabelResponse.md +20 -0
- data/docs/CreateMeetingRoomRequest.md +20 -0
- data/docs/CreateNote400Response.md +49 -0
- data/docs/CreateNoteRequest.md +32 -0
- data/docs/CreateOrganizationInvitationRequest.md +22 -0
- data/docs/CreateOrganizationRequest.md +28 -0
- data/docs/CreatePATRequest.md +26 -0
- data/docs/CreatePATResponse.md +20 -0
- data/docs/CreatePresentationRequest.md +26 -0
- data/docs/CreateRecordRequest.md +26 -0
- data/docs/CreateRecordTypeRequest.md +28 -0
- data/docs/CreateRoutineRequest.md +26 -0
- data/docs/CreateRowRequest.md +20 -0
- data/docs/CreateSheetRequest.md +30 -0
- data/docs/CreateSlideElementRequest.md +32 -0
- data/docs/CreateSlideRequest.md +34 -0
- data/docs/CreateTaskRequest.md +44 -0
- data/docs/CreateWorkspaceInvitationRequest.md +20 -0
- data/docs/CreateWorkspaceRequest.md +24 -0
- data/docs/DMAttachRequest.md +34 -0
- data/docs/DMForwardRequest.md +22 -0
- data/docs/DMMarkReadRequest.md +20 -0
- data/docs/DMMessageEnvelope.md +18 -0
- data/docs/DMMuteRequest.md +22 -0
- data/docs/DMMuteResponse.md +18 -0
- data/docs/DMPinnedList.md +18 -0
- data/docs/DMReactionRequest.md +20 -0
- data/docs/DMReactionResponse.md +18 -0
- data/docs/DMSearchResults.md +18 -0
- data/docs/DMSetDraftRequest.md +20 -0
- data/docs/DMThreadReplyRequest.md +20 -0
- data/docs/DirectMessagesApi.md +2246 -0
- data/docs/DisconnectConnectionRequest.md +20 -0
- data/docs/DiscoveryDocument.md +52 -0
- data/docs/DownloadFileResponse.md +20 -0
- data/docs/Draft.md +40 -0
- data/docs/DraftResponse.md +20 -0
- data/docs/Email.md +56 -0
- data/docs/EmailFolder.md +26 -0
- data/docs/EmailFolderListResponse.md +18 -0
- data/docs/EnableShareRequest.md +20 -0
- data/docs/ExecuteActionRequest.md +22 -0
- data/docs/ExecuteActionResponse.md +22 -0
- data/docs/ExecuteChatActionRequest.md +20 -0
- data/docs/ExecuteChatActionResponse.md +20 -0
- data/docs/ExportPDFR2Response.md +24 -0
- data/docs/ExportPDFRequest.md +20 -0
- data/docs/ExportPDFRequestRasterizedSlidesInner.md +20 -0
- data/docs/ExtractTextResult.md +24 -0
- data/docs/FederatedSearch200Response.md +28 -0
- data/docs/FederatedSearch200ResponseItemsInner.md +38 -0
- data/docs/FederatedSearch200ResponsePerPlatformValue.md +20 -0
- data/docs/FederatedSearchRequest.md +32 -0
- data/docs/FileListEnvelope.md +20 -0
- data/docs/FilesAndFoldersResponse.md +28 -0
- data/docs/FilesApi.md +2471 -0
- data/docs/Folder.md +32 -0
- data/docs/FolderListEnvelope.md +20 -0
- data/docs/FoldersApi.md +415 -0
- data/docs/GetChatUserResponse.md +20 -0
- data/docs/GetDomainLogo200Response.md +20 -0
- data/docs/GetEmailResponse.md +20 -0
- data/docs/GetThreadResponse.md +20 -0
- data/docs/InboxApi.md +424 -0
- data/docs/InboxCounts.md +22 -0
- data/docs/InboxItem.md +38 -0
- data/docs/InboxListResponse.md +22 -0
- data/docs/InitChunkedUploadRequest.md +30 -0
- data/docs/InitChunkedUploadResponse.md +26 -0
- data/docs/InstallConnectionRequest.md +22 -0
- data/docs/IntrospectionResponse.md +30 -0
- data/docs/IssueCollaborationToken200Response.md +26 -0
- data/docs/IssueCollaborationTokenRequest.md +18 -0
- data/docs/JWK.md +28 -0
- data/docs/JWKS.md +18 -0
- data/docs/KeyBinding.md +38 -0
- data/docs/KeyBindingListResponse.md +18 -0
- data/docs/KeybindingsApi.md +406 -0
- data/docs/Label.md +28 -0
- data/docs/LabelColor.md +20 -0
- data/docs/LinkRepoTaskRequest.md +18 -0
- data/docs/ListCalendarEvents200Response.md +24 -0
- data/docs/ListChannelsResponse.md +24 -0
- data/docs/ListChatUsersResponse.md +24 -0
- data/docs/ListDraftsResponse.md +24 -0
- data/docs/ListEmailsResponse.md +24 -0
- data/docs/ListEventsData.md +24 -0
- data/docs/ListLabelsResponse.md +20 -0
- data/docs/ListMessagesResponse.md +24 -0
- data/docs/LogosApi.md +211 -0
- data/docs/MailApi.md +3803 -0
- data/docs/MeetingRoom.md +24 -0
- data/docs/MiscApi.md +1213 -0
- data/docs/ModelsApi.md +483 -0
- data/docs/MoveBlockRequest.md +20 -0
- data/docs/MoveEmailsRequest.md +18 -0
- data/docs/MoveFileRequest.md +18 -0
- data/docs/MoveFileResponse.md +18 -0
- data/docs/NativeDMApi.md +1448 -0
- data/docs/NavigationApi.md +72 -0
- data/docs/Note.md +44 -0
- data/docs/NoteListEnvelope.md +20 -0
- data/docs/NotesApi.md +2413 -0
- data/docs/NotificationsApi.md +140 -0
- data/docs/OAuthApi.md +676 -0
- data/docs/OAuthError.md +20 -0
- data/docs/Organization.md +38 -0
- data/docs/OrganizationDetailLegacy.md +38 -0
- data/docs/OrganizationInvitation.md +38 -0
- data/docs/OrganizationInvitationListResponse.md +18 -0
- data/docs/OrganizationListResponse.md +18 -0
- data/docs/OrganizationMember.md +28 -0
- data/docs/OrganizationMemberInvitedBy.md +49 -0
- data/docs/OrganizationMemberListResponse.md +20 -0
- data/docs/OrganizationWorkspacesInner.md +22 -0
- data/docs/OrganizationsApi.md +1956 -0
- data/docs/PATListResponse.md +20 -0
- data/docs/PATScopesResponse.md +18 -0
- data/docs/PasswordRequiredError.md +24 -0
- data/docs/PersonalAccessToken.md +34 -0
- data/docs/PersonalAccessTokensApi.md +629 -0
- data/docs/PlatformsApi.md +1032 -0
- data/docs/PreconfiguredAgent.md +30 -0
- data/docs/Presentation.md +38 -0
- data/docs/PresentationListEnvelope.md +20 -0
- data/docs/ProposeRecommendationRequest.md +28 -0
- data/docs/PublicInvitationPayload.md +40 -0
- data/docs/QuotaExceededError.md +20 -0
- data/docs/RealtimeApi.md +79 -0
- data/docs/Recommendation.md +38 -0
- data/docs/RecommendationListResponse.md +18 -0
- data/docs/RecommendationsApi.md +354 -0
- data/docs/Record.md +32 -0
- data/docs/RecordListResponse.md +22 -0
- data/docs/RecordType.md +34 -0
- data/docs/RecordTypeListResponse.md +18 -0
- data/docs/RecordsApi.md +560 -0
- data/docs/RefreshConnectionRequest.md +20 -0
- data/docs/Reminder.md +20 -0
- data/docs/ReminderMethod.md +15 -0
- data/docs/ReplyEmailRequest.md +30 -0
- data/docs/RepoApi.md +2071 -0
- data/docs/ResourcesApi.md +220 -0
- data/docs/RevokeOtherSessionsResponse.md +18 -0
- data/docs/RichTextObject.md +24 -0
- data/docs/Routine.md +34 -0
- data/docs/RoutineListResponse.md +18 -0
- data/docs/RoutineRun.md +30 -0
- data/docs/RoutineRunCompleteRequest.md +20 -0
- data/docs/RoutineRunListResponse.md +18 -0
- data/docs/RoutineRunProgressRequest.md +20 -0
- data/docs/RoutinesApi.md +696 -0
- data/docs/Row.md +20 -0
- data/docs/RowList.md +20 -0
- data/docs/SaveMessageRequest.md +22 -0
- data/docs/SearchApi.md +77 -0
- data/docs/SearchEmailsResponse.md +24 -0
- data/docs/SearchFilesResponse.md +24 -0
- data/docs/SendChatMessageRequest.md +26 -0
- data/docs/SendChatMessageResponse.md +28 -0
- data/docs/SendEmailRequest.md +36 -0
- data/docs/SendEmailResponse.md +26 -0
- data/docs/Session.md +38 -0
- data/docs/SessionListResponse.md +18 -0
- data/docs/SettingsApi.md +745 -0
- data/docs/ShareSettings.md +26 -0
- data/docs/Sheet.md +48 -0
- data/docs/SheetListEnvelope.md +20 -0
- data/docs/SheetsApi.md +785 -0
- data/docs/SignInMethods.md +22 -0
- data/docs/SignInMethodsProvidersInner.md +24 -0
- data/docs/Slide.md +44 -0
- data/docs/SlideElement.md +40 -0
- data/docs/SlideElementList.md +20 -0
- data/docs/SlideList.md +20 -0
- data/docs/SlidesApi.md +1697 -0
- data/docs/SpatioCall.md +38 -0
- data/docs/SpatioConnection.md +38 -0
- data/docs/SpatioEvent.md +86 -0
- data/docs/SpatioFile.md +40 -0
- data/docs/SpatioThread.md +24 -0
- data/docs/SuccessFlag.md +18 -0
- data/docs/Task.md +58 -0
- data/docs/TaskComment.md +28 -0
- data/docs/TaskCommentAuthor.md +24 -0
- data/docs/TaskCommentList.md +20 -0
- data/docs/TaskCommentMutationResponse.md +20 -0
- data/docs/TaskCommentRequest.md +18 -0
- data/docs/TaskListEnvelope.md +20 -0
- data/docs/TaskProvidersInfo.md +20 -0
- data/docs/TaskProvidersInfoPlatform.md +20 -0
- data/docs/TasksApi.md +1783 -0
- data/docs/TerminalApi.md +345 -0
- data/docs/TextAnnotations.md +28 -0
- data/docs/TokenResponse.md +28 -0
- data/docs/UpdateAccountRequest.md +20 -0
- data/docs/UpdateAgentRequest.md +30 -0
- data/docs/UpdateAppRequest.md +24 -0
- data/docs/UpdateBlockRequest.md +22 -0
- data/docs/UpdateCellRequest.md +18 -0
- data/docs/UpdateCommentRequest.md +20 -0
- data/docs/UpdateContactCategoryRequest.md +22 -0
- data/docs/UpdateContactRequest.md +32 -0
- data/docs/UpdateConversationRequest.md +26 -0
- data/docs/UpdateDraftRequest.md +32 -0
- data/docs/UpdateEmailFolderRequest.md +18 -0
- data/docs/UpdateEmailRequest.md +26 -0
- data/docs/UpdateEmailResponse.md +20 -0
- data/docs/UpdateEventRequest.md +22 -0
- data/docs/UpdateFileRequest.md +22 -0
- data/docs/UpdateKeyBindingRequest.md +20 -0
- data/docs/UpdateMessageMetadataRequest.md +20 -0
- data/docs/UpdateNoteRequest.md +30 -0
- data/docs/UpdateOrganizationMemberRequest.md +18 -0
- data/docs/UpdateOrganizationRequest.md +22 -0
- data/docs/UpdatePATRequest.md +20 -0
- data/docs/UpdateParticipantStateRequest.md +22 -0
- data/docs/UpdatePresentationRequest.md +22 -0
- data/docs/UpdateRecommendationStatusRequest.md +18 -0
- data/docs/UpdateRecordRequest.md +22 -0
- data/docs/UpdateRecordTypeRequest.md +26 -0
- data/docs/UpdateRoutineRequest.md +26 -0
- data/docs/UpdateRowRequest.md +18 -0
- data/docs/UpdateSheetRequest.md +30 -0
- data/docs/UpdateSlideElementRequest.md +32 -0
- data/docs/UpdateSlideRequest.md +32 -0
- data/docs/UpdateTaskRequest.md +34 -0
- data/docs/UpdateWorkspaceMemberRequest.md +18 -0
- data/docs/UpdateWorkspaceRequest.md +24 -0
- data/docs/UploadChunkedBlockResponse.md +24 -0
- data/docs/UploadFileBase64Request.md +32 -0
- data/docs/UserInfoResponse.md +34 -0
- data/docs/ValidateKeyBindingRequest.md +22 -0
- data/docs/ValidateKeyBindingResponse.md +20 -0
- data/docs/Workspace.md +44 -0
- data/docs/WorkspaceEnvelope.md +18 -0
- data/docs/WorkspaceInvitation.md +34 -0
- data/docs/WorkspaceInvitationListResponse.md +18 -0
- data/docs/WorkspaceListResponse.md +20 -0
- data/docs/WorkspaceMember.md +30 -0
- data/docs/WorkspaceMemberListResponse.md +20 -0
- data/docs/WorkspaceOrganization.md +22 -0
- data/docs/WorkspacesApi.md +900 -0
- data/docs/WriteAppFileRequest.md +20 -0
- data/git_push.sh +57 -0
- data/lib/spatio-sdk/api/account_api.rb +703 -0
- data/lib/spatio-sdk/api/actions_api.rb +381 -0
- data/lib/spatio-sdk/api/agents_api.rb +824 -0
- data/lib/spatio-sdk/api/apps_api.rb +974 -0
- data/lib/spatio-sdk/api/calendar_api.rb +1015 -0
- data/lib/spatio-sdk/api/calls_api.rb +2016 -0
- data/lib/spatio-sdk/api/channels_api.rb +1165 -0
- data/lib/spatio-sdk/api/connections_api.rb +695 -0
- data/lib/spatio-sdk/api/contacts_api.rb +801 -0
- data/lib/spatio-sdk/api/conversations_api.rb +612 -0
- data/lib/spatio-sdk/api/direct_messages_api.rb +2167 -0
- data/lib/spatio-sdk/api/files_api.rb +2518 -0
- data/lib/spatio-sdk/api/folders_api.rb +409 -0
- data/lib/spatio-sdk/api/inbox_api.rb +403 -0
- data/lib/spatio-sdk/api/keybindings_api.rb +386 -0
- data/lib/spatio-sdk/api/logos_api.rb +210 -0
- data/lib/spatio-sdk/api/mail_api.rb +3780 -0
- data/lib/spatio-sdk/api/misc_api.rb +1100 -0
- data/lib/spatio-sdk/api/models_api.rb +456 -0
- data/lib/spatio-sdk/api/native_dm_api.rb +1396 -0
- data/lib/spatio-sdk/api/navigation_api.rb +77 -0
- data/lib/spatio-sdk/api/notes_api.rb +2418 -0
- data/lib/spatio-sdk/api/notifications_api.rb +143 -0
- data/lib/spatio-sdk/api/o_auth_api.rb +714 -0
- data/lib/spatio-sdk/api/organizations_api.rb +1913 -0
- data/lib/spatio-sdk/api/personal_access_tokens_api.rb +625 -0
- data/lib/spatio-sdk/api/platforms_api.rb +981 -0
- data/lib/spatio-sdk/api/realtime_api.rb +86 -0
- data/lib/spatio-sdk/api/recommendations_api.rb +346 -0
- data/lib/spatio-sdk/api/records_api.rb +550 -0
- data/lib/spatio-sdk/api/repo_api.rb +2167 -0
- data/lib/spatio-sdk/api/resources_api.rb +240 -0
- data/lib/spatio-sdk/api/routines_api.rb +670 -0
- data/lib/spatio-sdk/api/search_api.rb +90 -0
- data/lib/spatio-sdk/api/settings_api.rb +706 -0
- data/lib/spatio-sdk/api/sheets_api.rb +817 -0
- data/lib/spatio-sdk/api/slides_api.rb +1692 -0
- data/lib/spatio-sdk/api/tasks_api.rb +1787 -0
- data/lib/spatio-sdk/api/terminal_api.rb +337 -0
- data/lib/spatio-sdk/api/workspaces_api.rb +876 -0
- data/lib/spatio-sdk/api_client.rb +441 -0
- data/lib/spatio-sdk/api_error.rb +58 -0
- data/lib/spatio-sdk/api_model_base.rb +88 -0
- data/lib/spatio-sdk/configuration.rb +393 -0
- data/lib/spatio-sdk/models/accept_organization_invitation_request.rb +164 -0
- data/lib/spatio-sdk/models/account_choice.rb +200 -0
- data/lib/spatio-sdk/models/account_error.rb +191 -0
- data/lib/spatio-sdk/models/account_list_response.rb +171 -0
- data/lib/spatio-sdk/models/account_plan.rb +228 -0
- data/lib/spatio-sdk/models/account_status.rb +273 -0
- data/lib/spatio-sdk/models/account_tier_details.rb +291 -0
- data/lib/spatio-sdk/models/account_usage.rb +229 -0
- data/lib/spatio-sdk/models/action_descriptor.rb +230 -0
- data/lib/spatio-sdk/models/add_organization_member_request.rb +216 -0
- data/lib/spatio-sdk/models/add_workspace_member_request.rb +214 -0
- data/lib/spatio-sdk/models/agent.rb +268 -0
- data/lib/spatio-sdk/models/agent_conversation.rb +212 -0
- data/lib/spatio-sdk/models/agent_conversation_list_response.rb +175 -0
- data/lib/spatio-sdk/models/agent_list_response.rb +179 -0
- data/lib/spatio-sdk/models/agent_message.rb +228 -0
- data/lib/spatio-sdk/models/agent_message_list_response.rb +175 -0
- data/lib/spatio-sdk/models/agent_session_context.rb +185 -0
- data/lib/spatio-sdk/models/agent_task_usage.rb +204 -0
- data/lib/spatio-sdk/models/ambiguous_account_error.rb +194 -0
- data/lib/spatio-sdk/models/api_error.rb +176 -0
- data/lib/spatio-sdk/models/app.rb +228 -0
- data/lib/spatio-sdk/models/app_file_content_response.rb +173 -0
- data/lib/spatio-sdk/models/app_file_list_response.rb +152 -0
- data/lib/spatio-sdk/models/app_list_response.rb +161 -0
- data/lib/spatio-sdk/models/assign_contact_category_request.rb +164 -0
- data/lib/spatio-sdk/models/attachment.rb +217 -0
- data/lib/spatio-sdk/models/attachment_input.rb +227 -0
- data/lib/spatio-sdk/models/attachment_meta.rb +243 -0
- data/lib/spatio-sdk/models/attendee.rb +292 -0
- data/lib/spatio-sdk/models/attendee_role.rb +41 -0
- data/lib/spatio-sdk/models/attendee_status.rb +42 -0
- data/lib/spatio-sdk/models/block.rb +390 -0
- data/lib/spatio-sdk/models/block_content.rb +252 -0
- data/lib/spatio-sdk/models/block_list_response.rb +193 -0
- data/lib/spatio-sdk/models/block_type.rb +61 -0
- data/lib/spatio-sdk/models/bulk_archive_request.rb +175 -0
- data/lib/spatio-sdk/models/bulk_archive_response.rb +222 -0
- data/lib/spatio-sdk/models/bulk_archive_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_delete_emails_request.rb +185 -0
- data/lib/spatio-sdk/models/bulk_delete_emails_response.rb +221 -0
- data/lib/spatio-sdk/models/bulk_delete_files_request.rb +180 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_request.rb +181 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_response.rb +247 -0
- data/lib/spatio-sdk/models/bulk_delete_tasks_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_files_response.rb +247 -0
- data/lib/spatio-sdk/models/bulk_files_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_mark_read_request.rb +187 -0
- data/lib/spatio-sdk/models/bulk_mark_read_response.rb +194 -0
- data/lib/spatio-sdk/models/bulk_mark_read_response_failed_inner.rb +190 -0
- data/lib/spatio-sdk/models/bulk_move_files_request.rb +191 -0
- data/lib/spatio-sdk/models/bulk_update_tasks_request.rb +213 -0
- data/lib/spatio-sdk/models/bulk_update_tasks_response.rb +246 -0
- data/lib/spatio-sdk/models/calendar_account_error.rb +242 -0
- data/lib/spatio-sdk/models/calendar_capabilities_response.rb +219 -0
- data/lib/spatio-sdk/models/calendar_operation_result.rb +198 -0
- data/lib/spatio-sdk/models/calendar_provider_info.rb +220 -0
- data/lib/spatio-sdk/models/calendar_providers_info.rb +167 -0
- data/lib/spatio-sdk/models/calendar_sync_response.rb +222 -0
- data/lib/spatio-sdk/models/call_list_response.rb +161 -0
- data/lib/spatio-sdk/models/call_recording.rb +222 -0
- data/lib/spatio-sdk/models/call_recording_list_response.rb +152 -0
- data/lib/spatio-sdk/models/cell.rb +204 -0
- data/lib/spatio-sdk/models/change_password_request.rb +174 -0
- data/lib/spatio-sdk/models/channel.rb +325 -0
- data/lib/spatio-sdk/models/channel_membership_request.rb +148 -0
- data/lib/spatio-sdk/models/chat_action_definition.rb +278 -0
- data/lib/spatio-sdk/models/chat_actions_list.rb +166 -0
- data/lib/spatio-sdk/models/chat_message.rb +317 -0
- data/lib/spatio-sdk/models/chat_user.rb +287 -0
- data/lib/spatio-sdk/models/chunked_file_manifest.rb +324 -0
- data/lib/spatio-sdk/models/client_registration_request.rb +314 -0
- data/lib/spatio-sdk/models/client_registration_response.rb +329 -0
- data/lib/spatio-sdk/models/comment.rb +315 -0
- data/lib/spatio-sdk/models/comment_author.rb +226 -0
- data/lib/spatio-sdk/models/comment_list_response.rb +192 -0
- data/lib/spatio-sdk/models/comment_mutation_response.rb +191 -0
- data/lib/spatio-sdk/models/comment_response.rb +165 -0
- data/lib/spatio-sdk/models/commit_chunked_upload_request.rb +164 -0
- data/lib/spatio-sdk/models/commit_chunked_upload_response.rb +313 -0
- data/lib/spatio-sdk/models/conference_data.rb +229 -0
- data/lib/spatio-sdk/models/connected_app_item.rb +308 -0
- data/lib/spatio-sdk/models/connected_apps_list_response.rb +166 -0
- data/lib/spatio-sdk/models/connection_account_list_response.rb +172 -0
- data/lib/spatio-sdk/models/connection_list_response.rb +177 -0
- data/lib/spatio-sdk/models/consume_agent_task_response.rb +204 -0
- data/lib/spatio-sdk/models/contact.rb +294 -0
- data/lib/spatio-sdk/models/contact_category.rb +217 -0
- data/lib/spatio-sdk/models/contact_category_list_response.rb +152 -0
- data/lib/spatio-sdk/models/contact_list_response.rb +184 -0
- data/lib/spatio-sdk/models/contact_provider.rb +217 -0
- data/lib/spatio-sdk/models/contact_provider_list_response.rb +166 -0
- data/lib/spatio-sdk/models/conversation.rb +314 -0
- data/lib/spatio-sdk/models/conversation_message.rb +246 -0
- data/lib/spatio-sdk/models/core_action.rb +221 -0
- data/lib/spatio-sdk/models/core_action_list_response.rb +161 -0
- data/lib/spatio-sdk/models/create_agent_conversation_request.rb +167 -0
- data/lib/spatio-sdk/models/create_agent_message_request.rb +201 -0
- data/lib/spatio-sdk/models/create_agent_request.rb +222 -0
- data/lib/spatio-sdk/models/create_app_request.rb +200 -0
- data/lib/spatio-sdk/models/create_block_request.rb +260 -0
- data/lib/spatio-sdk/models/create_calendar_event201_response.rb +202 -0
- data/lib/spatio-sdk/models/create_call_request.rb +176 -0
- data/lib/spatio-sdk/models/create_channel_request.rb +191 -0
- data/lib/spatio-sdk/models/create_channel_response.rb +190 -0
- data/lib/spatio-sdk/models/create_comment_request.rb +177 -0
- data/lib/spatio-sdk/models/create_contact_category_request.rb +182 -0
- data/lib/spatio-sdk/models/create_contact_request.rb +212 -0
- data/lib/spatio-sdk/models/create_conversation_request.rb +185 -0
- data/lib/spatio-sdk/models/create_draft_request.rb +248 -0
- data/lib/spatio-sdk/models/create_email_folder_request.rb +173 -0
- data/lib/spatio-sdk/models/create_event_request.rb +254 -0
- data/lib/spatio-sdk/models/create_folder_request.rb +201 -0
- data/lib/spatio-sdk/models/create_label_request.rb +200 -0
- data/lib/spatio-sdk/models/create_label_response.rb +190 -0
- data/lib/spatio-sdk/models/create_meeting_room_request.rb +173 -0
- data/lib/spatio-sdk/models/create_note400_response.rb +104 -0
- data/lib/spatio-sdk/models/create_note_request.rb +232 -0
- data/lib/spatio-sdk/models/create_organization_invitation_request.rb +224 -0
- data/lib/spatio-sdk/models/create_organization_request.rb +211 -0
- data/lib/spatio-sdk/models/create_pat_request.rb +202 -0
- data/lib/spatio-sdk/models/create_pat_response.rb +174 -0
- data/lib/spatio-sdk/models/create_presentation_request.rb +200 -0
- data/lib/spatio-sdk/models/create_record_request.rb +204 -0
- data/lib/spatio-sdk/models/create_record_type_request.rb +211 -0
- data/lib/spatio-sdk/models/create_routine_request.rb +204 -0
- data/lib/spatio-sdk/models/create_row_request.rb +176 -0
- data/lib/spatio-sdk/models/create_sheet_request.rb +222 -0
- data/lib/spatio-sdk/models/create_slide_element_request.rb +229 -0
- data/lib/spatio-sdk/models/create_slide_request.rb +220 -0
- data/lib/spatio-sdk/models/create_task_request.rb +322 -0
- data/lib/spatio-sdk/models/create_workspace_invitation_request.rb +214 -0
- data/lib/spatio-sdk/models/create_workspace_request.rb +191 -0
- data/lib/spatio-sdk/models/disconnect_connection_request.rb +173 -0
- data/lib/spatio-sdk/models/discovery_document.rb +404 -0
- data/lib/spatio-sdk/models/dm_attach_request.rb +254 -0
- data/lib/spatio-sdk/models/dm_forward_request.rb +166 -0
- data/lib/spatio-sdk/models/dm_mark_read_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_message_envelope.rb +165 -0
- data/lib/spatio-sdk/models/dm_mute_request.rb +166 -0
- data/lib/spatio-sdk/models/dm_mute_response.rb +148 -0
- data/lib/spatio-sdk/models/dm_pinned_list.rb +149 -0
- data/lib/spatio-sdk/models/dm_reaction_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_reaction_response.rb +150 -0
- data/lib/spatio-sdk/models/dm_search_results.rb +149 -0
- data/lib/spatio-sdk/models/dm_set_draft_request.rb +173 -0
- data/lib/spatio-sdk/models/dm_thread_reply_request.rb +173 -0
- data/lib/spatio-sdk/models/download_file_response.rb +191 -0
- data/lib/spatio-sdk/models/draft.rb +339 -0
- data/lib/spatio-sdk/models/draft_response.rb +190 -0
- data/lib/spatio-sdk/models/email.rb +488 -0
- data/lib/spatio-sdk/models/email_folder.rb +202 -0
- data/lib/spatio-sdk/models/email_folder_list_response.rb +152 -0
- data/lib/spatio-sdk/models/enable_share_request.rb +157 -0
- data/lib/spatio-sdk/models/execute_action_request.rb +185 -0
- data/lib/spatio-sdk/models/execute_action_response.rb +168 -0
- data/lib/spatio-sdk/models/execute_chat_action_request.rb +175 -0
- data/lib/spatio-sdk/models/execute_chat_action_response.rb +175 -0
- data/lib/spatio-sdk/models/export_pdf_request.rb +162 -0
- data/lib/spatio-sdk/models/export_pdf_request_rasterized_slides_inner.rb +191 -0
- data/lib/spatio-sdk/models/export_pdfr2_response.rb +269 -0
- data/lib/spatio-sdk/models/extract_text_result.rb +212 -0
- data/lib/spatio-sdk/models/federated_search200_response.rb +270 -0
- data/lib/spatio-sdk/models/federated_search200_response_items_inner.rb +237 -0
- data/lib/spatio-sdk/models/federated_search200_response_per_platform_value.rb +156 -0
- data/lib/spatio-sdk/models/federated_search_request.rb +276 -0
- data/lib/spatio-sdk/models/file_list_envelope.rb +181 -0
- data/lib/spatio-sdk/models/files_and_folders_response.rb +235 -0
- data/lib/spatio-sdk/models/folder.rb +297 -0
- data/lib/spatio-sdk/models/folder_list_envelope.rb +181 -0
- data/lib/spatio-sdk/models/get_chat_user_response.rb +190 -0
- data/lib/spatio-sdk/models/get_domain_logo200_response.rb +190 -0
- data/lib/spatio-sdk/models/get_email_response.rb +190 -0
- data/lib/spatio-sdk/models/get_thread_response.rb +190 -0
- data/lib/spatio-sdk/models/inbox_counts.rb +216 -0
- data/lib/spatio-sdk/models/inbox_item.rb +275 -0
- data/lib/spatio-sdk/models/inbox_list_response.rb +218 -0
- data/lib/spatio-sdk/models/init_chunked_upload_request.rb +273 -0
- data/lib/spatio-sdk/models/init_chunked_upload_response.rb +273 -0
- data/lib/spatio-sdk/models/install_connection_request.rb +184 -0
- data/lib/spatio-sdk/models/introspection_response.rb +219 -0
- data/lib/spatio-sdk/models/issue_collaboration_token200_response.rb +254 -0
- data/lib/spatio-sdk/models/issue_collaboration_token_request.rb +148 -0
- data/lib/spatio-sdk/models/jwk.rb +297 -0
- data/lib/spatio-sdk/models/jwks.rb +166 -0
- data/lib/spatio-sdk/models/key_binding.rb +276 -0
- data/lib/spatio-sdk/models/key_binding_list_response.rb +166 -0
- data/lib/spatio-sdk/models/label.rb +244 -0
- data/lib/spatio-sdk/models/label_color.rb +190 -0
- data/lib/spatio-sdk/models/link_repo_task_request.rb +164 -0
- data/lib/spatio-sdk/models/list_calendar_events200_response.rb +202 -0
- data/lib/spatio-sdk/models/list_channels_response.rb +212 -0
- data/lib/spatio-sdk/models/list_chat_users_response.rb +211 -0
- data/lib/spatio-sdk/models/list_drafts_response.rb +227 -0
- data/lib/spatio-sdk/models/list_emails_response.rb +213 -0
- data/lib/spatio-sdk/models/list_events_data.rb +196 -0
- data/lib/spatio-sdk/models/list_labels_response.rb +192 -0
- data/lib/spatio-sdk/models/list_messages_response.rb +211 -0
- data/lib/spatio-sdk/models/meeting_room.rb +191 -0
- data/lib/spatio-sdk/models/move_block_request.rb +175 -0
- data/lib/spatio-sdk/models/move_emails_request.rb +166 -0
- data/lib/spatio-sdk/models/move_file_request.rb +149 -0
- data/lib/spatio-sdk/models/move_file_response.rb +164 -0
- data/lib/spatio-sdk/models/note.rb +380 -0
- data/lib/spatio-sdk/models/note_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/o_auth_error.rb +197 -0
- data/lib/spatio-sdk/models/organization.rb +346 -0
- data/lib/spatio-sdk/models/organization_detail_legacy.rb +377 -0
- data/lib/spatio-sdk/models/organization_invitation.rb +343 -0
- data/lib/spatio-sdk/models/organization_invitation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/organization_list_response.rb +166 -0
- data/lib/spatio-sdk/models/organization_member.rb +288 -0
- data/lib/spatio-sdk/models/organization_member_invited_by.rb +105 -0
- data/lib/spatio-sdk/models/organization_member_list_response.rb +192 -0
- data/lib/spatio-sdk/models/organization_workspaces_inner.rb +216 -0
- data/lib/spatio-sdk/models/password_required_error.rb +218 -0
- data/lib/spatio-sdk/models/pat_list_response.rb +177 -0
- data/lib/spatio-sdk/models/pat_scopes_response.rb +166 -0
- data/lib/spatio-sdk/models/personal_access_token.rb +241 -0
- data/lib/spatio-sdk/models/preconfigured_agent.rb +236 -0
- data/lib/spatio-sdk/models/presentation.rb +308 -0
- data/lib/spatio-sdk/models/presentation_list_envelope.rb +194 -0
- data/lib/spatio-sdk/models/propose_recommendation_request.rb +211 -0
- data/lib/spatio-sdk/models/public_invitation_payload.rb +365 -0
- data/lib/spatio-sdk/models/quota_exceeded_error.rb +183 -0
- data/lib/spatio-sdk/models/recommendation.rb +300 -0
- data/lib/spatio-sdk/models/recommendation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/record.rb +231 -0
- data/lib/spatio-sdk/models/record_list_response.rb +184 -0
- data/lib/spatio-sdk/models/record_type.rb +256 -0
- data/lib/spatio-sdk/models/record_type_list_response.rb +166 -0
- data/lib/spatio-sdk/models/refresh_connection_request.rb +173 -0
- data/lib/spatio-sdk/models/reminder.rb +213 -0
- data/lib/spatio-sdk/models/reminder_method.rb +42 -0
- data/lib/spatio-sdk/models/reply_email_request.rb +227 -0
- data/lib/spatio-sdk/models/revoke_other_sessions_response.rb +148 -0
- data/lib/spatio-sdk/models/rich_text_object.rb +216 -0
- data/lib/spatio-sdk/models/routine.rb +240 -0
- data/lib/spatio-sdk/models/routine_list_response.rb +166 -0
- data/lib/spatio-sdk/models/routine_run.rb +221 -0
- data/lib/spatio-sdk/models/routine_run_complete_request.rb +158 -0
- data/lib/spatio-sdk/models/routine_run_list_response.rb +166 -0
- data/lib/spatio-sdk/models/routine_run_progress_request.rb +158 -0
- data/lib/spatio-sdk/models/row.rb +194 -0
- data/lib/spatio-sdk/models/row_list.rb +192 -0
- data/lib/spatio-sdk/models/save_message_request.rb +201 -0
- data/lib/spatio-sdk/models/search_emails_response.rb +212 -0
- data/lib/spatio-sdk/models/search_files_response.rb +229 -0
- data/lib/spatio-sdk/models/send_chat_message_request.rb +221 -0
- data/lib/spatio-sdk/models/send_chat_message_response.rb +243 -0
- data/lib/spatio-sdk/models/send_email_request.rb +289 -0
- data/lib/spatio-sdk/models/send_email_response.rb +234 -0
- data/lib/spatio-sdk/models/session.rb +254 -0
- data/lib/spatio-sdk/models/session_list_response.rb +166 -0
- data/lib/spatio-sdk/models/share_settings.rb +221 -0
- data/lib/spatio-sdk/models/sheet.rb +446 -0
- data/lib/spatio-sdk/models/sheet_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/sign_in_methods.rb +201 -0
- data/lib/spatio-sdk/models/sign_in_methods_providers_inner.rb +193 -0
- data/lib/spatio-sdk/models/slide.rb +370 -0
- data/lib/spatio-sdk/models/slide_element.rb +455 -0
- data/lib/spatio-sdk/models/slide_element_list.rb +192 -0
- data/lib/spatio-sdk/models/slide_list.rb +192 -0
- data/lib/spatio-sdk/models/spatio_call.rb +259 -0
- data/lib/spatio-sdk/models/spatio_connection.rb +260 -0
- data/lib/spatio-sdk/models/spatio_event.rb +686 -0
- data/lib/spatio-sdk/models/spatio_file.rb +372 -0
- data/lib/spatio-sdk/models/spatio_thread.rb +212 -0
- data/lib/spatio-sdk/models/success_flag.rb +165 -0
- data/lib/spatio-sdk/models/task.rb +471 -0
- data/lib/spatio-sdk/models/task_comment.rb +294 -0
- data/lib/spatio-sdk/models/task_comment_author.rb +226 -0
- data/lib/spatio-sdk/models/task_comment_list.rb +192 -0
- data/lib/spatio-sdk/models/task_comment_mutation_response.rb +190 -0
- data/lib/spatio-sdk/models/task_comment_request.rb +164 -0
- data/lib/spatio-sdk/models/task_list_envelope.rb +195 -0
- data/lib/spatio-sdk/models/task_providers_info.rb +194 -0
- data/lib/spatio-sdk/models/task_providers_info_platform.rb +190 -0
- data/lib/spatio-sdk/models/text_annotations.rb +278 -0
- data/lib/spatio-sdk/models/token_response.rb +246 -0
- data/lib/spatio-sdk/models/update_account_request.rb +158 -0
- data/lib/spatio-sdk/models/update_agent_request.rb +205 -0
- data/lib/spatio-sdk/models/update_app_request.rb +174 -0
- data/lib/spatio-sdk/models/update_block_request.rb +168 -0
- data/lib/spatio-sdk/models/update_cell_request.rb +151 -0
- data/lib/spatio-sdk/models/update_comment_request.rb +157 -0
- data/lib/spatio-sdk/models/update_contact_category_request.rb +165 -0
- data/lib/spatio-sdk/models/update_contact_request.rb +212 -0
- data/lib/spatio-sdk/models/update_conversation_request.rb +183 -0
- data/lib/spatio-sdk/models/update_draft_request.rb +219 -0
- data/lib/spatio-sdk/models/update_email_folder_request.rb +147 -0
- data/lib/spatio-sdk/models/update_email_request.rb +188 -0
- data/lib/spatio-sdk/models/update_email_response.rb +190 -0
- data/lib/spatio-sdk/models/update_event_request.rb +236 -0
- data/lib/spatio-sdk/models/update_file_request.rb +169 -0
- data/lib/spatio-sdk/models/update_key_binding_request.rb +175 -0
- data/lib/spatio-sdk/models/update_message_metadata_request.rb +175 -0
- data/lib/spatio-sdk/models/update_note_request.rb +205 -0
- data/lib/spatio-sdk/models/update_organization_member_request.rb +188 -0
- data/lib/spatio-sdk/models/update_organization_request.rb +166 -0
- data/lib/spatio-sdk/models/update_participant_state_request.rb +166 -0
- data/lib/spatio-sdk/models/update_pat_request.rb +156 -0
- data/lib/spatio-sdk/models/update_presentation_request.rb +166 -0
- data/lib/spatio-sdk/models/update_recommendation_status_request.rb +188 -0
- data/lib/spatio-sdk/models/update_record_request.rb +169 -0
- data/lib/spatio-sdk/models/update_record_type_request.rb +185 -0
- data/lib/spatio-sdk/models/update_routine_request.rb +187 -0
- data/lib/spatio-sdk/models/update_row_request.rb +167 -0
- data/lib/spatio-sdk/models/update_sheet_request.rb +205 -0
- data/lib/spatio-sdk/models/update_slide_element_request.rb +213 -0
- data/lib/spatio-sdk/models/update_slide_request.rb +211 -0
- data/lib/spatio-sdk/models/update_task_request.rb +260 -0
- data/lib/spatio-sdk/models/update_workspace_member_request.rb +188 -0
- data/lib/spatio-sdk/models/update_workspace_request.rb +176 -0
- data/lib/spatio-sdk/models/upload_chunked_block_response.rb +243 -0
- data/lib/spatio-sdk/models/upload_file_base64_request.rb +265 -0
- data/lib/spatio-sdk/models/user_info_response.rb +237 -0
- data/lib/spatio-sdk/models/validate_key_binding_request.rb +201 -0
- data/lib/spatio-sdk/models/validate_key_binding_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace.rb +321 -0
- data/lib/spatio-sdk/models/workspace_envelope.rb +164 -0
- data/lib/spatio-sdk/models/workspace_invitation.rb +324 -0
- data/lib/spatio-sdk/models/workspace_invitation_list_response.rb +166 -0
- data/lib/spatio-sdk/models/workspace_list_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace_member.rb +278 -0
- data/lib/spatio-sdk/models/workspace_member_list_response.rb +175 -0
- data/lib/spatio-sdk/models/workspace_organization.rb +166 -0
- data/lib/spatio-sdk/models/write_app_file_request.rb +190 -0
- data/lib/spatio-sdk/version.rb +15 -0
- data/lib/spatio-sdk.rb +408 -0
- data/spatio-sdk.gemspec +41 -0
- data/spec/api/account_api_spec.rb +158 -0
- data/spec/api/actions_api_spec.rb +99 -0
- data/spec/api/agents_api_spec.rb +176 -0
- data/spec/api/apps_api_spec.rb +198 -0
- data/spec/api/calendar_api_spec.rb +217 -0
- data/spec/api/calls_api_spec.rb +378 -0
- data/spec/api/channels_api_spec.rb +236 -0
- data/spec/api/connections_api_spec.rb +154 -0
- data/spec/api/contacts_api_spec.rb +172 -0
- data/spec/api/conversations_api_spec.rb +140 -0
- data/spec/api/direct_messages_api_spec.rb +420 -0
- data/spec/api/files_api_spec.rb +494 -0
- data/spec/api/folders_api_spec.rb +102 -0
- data/spec/api/inbox_api_spec.rb +103 -0
- data/spec/api/keybindings_api_spec.rb +99 -0
- data/spec/api/logos_api_spec.rb +68 -0
- data/spec/api/mail_api_spec.rb +701 -0
- data/spec/api/misc_api_spec.rb +228 -0
- data/spec/api/models_api_spec.rb +112 -0
- data/spec/api/native_dm_api_spec.rb +276 -0
- data/spec/api/navigation_api_spec.rb +45 -0
- data/spec/api/notes_api_spec.rb +474 -0
- data/spec/api/notifications_api_spec.rb +56 -0
- data/spec/api/o_auth_api_spec.rb +161 -0
- data/spec/api/organizations_api_spec.rb +367 -0
- data/spec/api/personal_access_tokens_api_spec.rb +137 -0
- data/spec/api/platforms_api_spec.rb +204 -0
- data/spec/api/realtime_api_spec.rb +47 -0
- data/spec/api/recommendations_api_spec.rb +93 -0
- data/spec/api/records_api_spec.rb +127 -0
- data/spec/api/repo_api_spec.rb +402 -0
- data/spec/api/resources_api_spec.rb +73 -0
- data/spec/api/routines_api_spec.rb +149 -0
- data/spec/api/search_api_spec.rb +47 -0
- data/spec/api/settings_api_spec.rb +154 -0
- data/spec/api/sheets_api_spec.rb +184 -0
- data/spec/api/slides_api_spec.rb +355 -0
- data/spec/api/tasks_api_spec.rb +355 -0
- data/spec/api/terminal_api_spec.rb +90 -0
- data/spec/api/workspaces_api_spec.rb +184 -0
- data/spec/models/accept_organization_invitation_request_spec.rb +36 -0
- data/spec/models/account_choice_spec.rb +48 -0
- data/spec/models/account_error_spec.rb +42 -0
- data/spec/models/account_list_response_spec.rb +48 -0
- data/spec/models/account_plan_spec.rb +54 -0
- data/spec/models/account_status_spec.rb +70 -0
- data/spec/models/account_tier_details_spec.rb +120 -0
- data/spec/models/account_usage_spec.rb +78 -0
- data/spec/models/action_descriptor_spec.rb +78 -0
- data/spec/models/add_organization_member_request_spec.rb +52 -0
- data/spec/models/add_workspace_member_request_spec.rb +46 -0
- data/spec/models/agent_conversation_list_response_spec.rb +42 -0
- data/spec/models/agent_conversation_spec.rb +66 -0
- data/spec/models/agent_list_response_spec.rb +54 -0
- data/spec/models/agent_message_list_response_spec.rb +42 -0
- data/spec/models/agent_message_spec.rb +66 -0
- data/spec/models/agent_session_context_spec.rb +54 -0
- data/spec/models/agent_spec.rb +102 -0
- data/spec/models/agent_task_usage_spec.rb +60 -0
- data/spec/models/ambiguous_account_error_spec.rb +48 -0
- data/spec/models/api_error_spec.rb +42 -0
- data/spec/models/app_file_content_response_spec.rb +42 -0
- data/spec/models/app_file_list_response_spec.rb +36 -0
- data/spec/models/app_list_response_spec.rb +42 -0
- data/spec/models/app_spec.rb +78 -0
- data/spec/models/assign_contact_category_request_spec.rb +36 -0
- data/spec/models/attachment_input_spec.rb +54 -0
- data/spec/models/attachment_meta_spec.rb +54 -0
- data/spec/models/attachment_spec.rb +60 -0
- data/spec/models/attendee_role_spec.rb +30 -0
- data/spec/models/attendee_spec.rb +72 -0
- data/spec/models/attendee_status_spec.rb +30 -0
- data/spec/models/block_content_spec.rb +96 -0
- data/spec/models/block_list_response_spec.rb +42 -0
- data/spec/models/block_spec.rb +90 -0
- data/spec/models/block_type_spec.rb +30 -0
- data/spec/models/bulk_archive_request_spec.rb +42 -0
- data/spec/models/bulk_archive_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_archive_response_spec.rb +48 -0
- data/spec/models/bulk_delete_emails_request_spec.rb +48 -0
- data/spec/models/bulk_delete_emails_response_spec.rb +48 -0
- data/spec/models/bulk_delete_files_request_spec.rb +54 -0
- data/spec/models/bulk_delete_tasks_request_spec.rb +54 -0
- data/spec/models/bulk_delete_tasks_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_delete_tasks_response_spec.rb +54 -0
- data/spec/models/bulk_files_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_files_response_spec.rb +54 -0
- data/spec/models/bulk_mark_read_request_spec.rb +48 -0
- data/spec/models/bulk_mark_read_response_failed_inner_spec.rb +42 -0
- data/spec/models/bulk_mark_read_response_spec.rb +42 -0
- data/spec/models/bulk_move_files_request_spec.rb +60 -0
- data/spec/models/bulk_update_tasks_request_spec.rb +54 -0
- data/spec/models/bulk_update_tasks_response_spec.rb +54 -0
- data/spec/models/calendar_account_error_spec.rb +54 -0
- data/spec/models/calendar_capabilities_response_spec.rb +48 -0
- data/spec/models/calendar_operation_result_spec.rb +54 -0
- data/spec/models/calendar_provider_info_spec.rb +60 -0
- data/spec/models/calendar_providers_info_spec.rb +36 -0
- data/spec/models/calendar_sync_response_spec.rb +60 -0
- data/spec/models/call_list_response_spec.rb +42 -0
- data/spec/models/call_recording_list_response_spec.rb +36 -0
- data/spec/models/call_recording_spec.rb +72 -0
- data/spec/models/cell_spec.rb +48 -0
- data/spec/models/change_password_request_spec.rb +42 -0
- data/spec/models/channel_membership_request_spec.rb +36 -0
- data/spec/models/channel_spec.rb +96 -0
- data/spec/models/chat_action_definition_spec.rb +84 -0
- data/spec/models/chat_actions_list_spec.rb +36 -0
- data/spec/models/chat_message_spec.rb +90 -0
- data/spec/models/chat_user_spec.rb +84 -0
- data/spec/models/chunked_file_manifest_spec.rb +84 -0
- data/spec/models/client_registration_request_spec.rb +94 -0
- data/spec/models/client_registration_response_spec.rb +96 -0
- data/spec/models/comment_author_spec.rb +54 -0
- data/spec/models/comment_list_response_spec.rb +42 -0
- data/spec/models/comment_mutation_response_spec.rb +42 -0
- data/spec/models/comment_response_spec.rb +36 -0
- data/spec/models/comment_spec.rb +78 -0
- data/spec/models/commit_chunked_upload_request_spec.rb +36 -0
- data/spec/models/commit_chunked_upload_response_spec.rb +90 -0
- data/spec/models/conference_data_spec.rb +66 -0
- data/spec/models/connected_app_item_spec.rb +84 -0
- data/spec/models/connected_apps_list_response_spec.rb +36 -0
- data/spec/models/connection_account_list_response_spec.rb +48 -0
- data/spec/models/connection_list_response_spec.rb +42 -0
- data/spec/models/consume_agent_task_response_spec.rb +60 -0
- data/spec/models/contact_category_list_response_spec.rb +36 -0
- data/spec/models/contact_category_spec.rb +60 -0
- data/spec/models/contact_list_response_spec.rb +48 -0
- data/spec/models/contact_provider_list_response_spec.rb +36 -0
- data/spec/models/contact_provider_spec.rb +60 -0
- data/spec/models/contact_spec.rb +120 -0
- data/spec/models/conversation_message_spec.rb +66 -0
- data/spec/models/conversation_spec.rb +108 -0
- data/spec/models/core_action_list_response_spec.rb +42 -0
- data/spec/models/core_action_spec.rb +72 -0
- data/spec/models/create_agent_conversation_request_spec.rb +48 -0
- data/spec/models/create_agent_message_request_spec.rb +48 -0
- data/spec/models/create_agent_request_spec.rb +72 -0
- data/spec/models/create_app_request_spec.rb +60 -0
- data/spec/models/create_block_request_spec.rb +60 -0
- data/spec/models/create_calendar_event201_response_spec.rb +54 -0
- data/spec/models/create_call_request_spec.rb +54 -0
- data/spec/models/create_channel_request_spec.rb +54 -0
- data/spec/models/create_channel_response_spec.rb +42 -0
- data/spec/models/create_comment_request_spec.rb +54 -0
- data/spec/models/create_contact_category_request_spec.rb +48 -0
- data/spec/models/create_contact_request_spec.rb +78 -0
- data/spec/models/create_conversation_request_spec.rb +60 -0
- data/spec/models/create_draft_request_spec.rb +96 -0
- data/spec/models/create_email_folder_request_spec.rb +42 -0
- data/spec/models/create_event_request_spec.rb +64 -0
- data/spec/models/create_folder_request_spec.rb +60 -0
- data/spec/models/create_label_request_spec.rb +60 -0
- data/spec/models/create_label_response_spec.rb +42 -0
- data/spec/models/create_meeting_room_request_spec.rb +42 -0
- data/spec/models/create_note400_response_spec.rb +32 -0
- data/spec/models/create_note_request_spec.rb +78 -0
- data/spec/models/create_organization_invitation_request_spec.rb +52 -0
- data/spec/models/create_organization_request_spec.rb +66 -0
- data/spec/models/create_pat_request_spec.rb +60 -0
- data/spec/models/create_pat_response_spec.rb +42 -0
- data/spec/models/create_presentation_request_spec.rb +60 -0
- data/spec/models/create_record_request_spec.rb +60 -0
- data/spec/models/create_record_type_request_spec.rb +66 -0
- data/spec/models/create_routine_request_spec.rb +60 -0
- data/spec/models/create_row_request_spec.rb +42 -0
- data/spec/models/create_sheet_request_spec.rb +72 -0
- data/spec/models/create_slide_element_request_spec.rb +78 -0
- data/spec/models/create_slide_request_spec.rb +84 -0
- data/spec/models/create_task_request_spec.rb +118 -0
- data/spec/models/create_workspace_invitation_request_spec.rb +46 -0
- data/spec/models/create_workspace_request_spec.rb +54 -0
- data/spec/models/disconnect_connection_request_spec.rb +42 -0
- data/spec/models/discovery_document_spec.rb +138 -0
- data/spec/models/dm_attach_request_spec.rb +84 -0
- data/spec/models/dm_forward_request_spec.rb +48 -0
- data/spec/models/dm_mark_read_request_spec.rb +42 -0
- data/spec/models/dm_message_envelope_spec.rb +36 -0
- data/spec/models/dm_mute_request_spec.rb +48 -0
- data/spec/models/dm_mute_response_spec.rb +36 -0
- data/spec/models/dm_pinned_list_spec.rb +36 -0
- data/spec/models/dm_reaction_request_spec.rb +42 -0
- data/spec/models/dm_reaction_response_spec.rb +36 -0
- data/spec/models/dm_search_results_spec.rb +36 -0
- data/spec/models/dm_set_draft_request_spec.rb +42 -0
- data/spec/models/dm_thread_reply_request_spec.rb +42 -0
- data/spec/models/download_file_response_spec.rb +42 -0
- data/spec/models/draft_response_spec.rb +42 -0
- data/spec/models/draft_spec.rb +102 -0
- data/spec/models/email_folder_list_response_spec.rb +36 -0
- data/spec/models/email_folder_spec.rb +60 -0
- data/spec/models/email_spec.rb +150 -0
- data/spec/models/enable_share_request_spec.rb +42 -0
- data/spec/models/execute_action_request_spec.rb +48 -0
- data/spec/models/execute_action_response_spec.rb +48 -0
- data/spec/models/execute_chat_action_request_spec.rb +42 -0
- data/spec/models/execute_chat_action_response_spec.rb +42 -0
- data/spec/models/export_pdf_request_rasterized_slides_inner_spec.rb +42 -0
- data/spec/models/export_pdf_request_spec.rb +42 -0
- data/spec/models/export_pdfr2_response_spec.rb +58 -0
- data/spec/models/extract_text_result_spec.rb +54 -0
- data/spec/models/federated_search200_response_items_inner_spec.rb +96 -0
- data/spec/models/federated_search200_response_per_platform_value_spec.rb +42 -0
- data/spec/models/federated_search200_response_spec.rb +66 -0
- data/spec/models/federated_search_request_spec.rb +82 -0
- data/spec/models/file_list_envelope_spec.rb +42 -0
- data/spec/models/files_and_folders_response_spec.rb +66 -0
- data/spec/models/folder_list_envelope_spec.rb +42 -0
- data/spec/models/folder_spec.rb +78 -0
- data/spec/models/get_chat_user_response_spec.rb +42 -0
- data/spec/models/get_domain_logo200_response_spec.rb +42 -0
- data/spec/models/get_email_response_spec.rb +42 -0
- data/spec/models/get_thread_response_spec.rb +42 -0
- data/spec/models/inbox_counts_spec.rb +48 -0
- data/spec/models/inbox_item_spec.rb +96 -0
- data/spec/models/inbox_list_response_spec.rb +48 -0
- data/spec/models/init_chunked_upload_request_spec.rb +72 -0
- data/spec/models/init_chunked_upload_response_spec.rb +60 -0
- data/spec/models/install_connection_request_spec.rb +48 -0
- data/spec/models/introspection_response_spec.rb +72 -0
- data/spec/models/issue_collaboration_token200_response_spec.rb +60 -0
- data/spec/models/issue_collaboration_token_request_spec.rb +36 -0
- data/spec/models/jwk_spec.rb +66 -0
- data/spec/models/jwks_spec.rb +36 -0
- data/spec/models/key_binding_list_response_spec.rb +36 -0
- data/spec/models/key_binding_spec.rb +96 -0
- data/spec/models/label_color_spec.rb +42 -0
- data/spec/models/label_spec.rb +66 -0
- data/spec/models/link_repo_task_request_spec.rb +36 -0
- data/spec/models/list_calendar_events200_response_spec.rb +54 -0
- data/spec/models/list_channels_response_spec.rb +54 -0
- data/spec/models/list_chat_users_response_spec.rb +54 -0
- data/spec/models/list_drafts_response_spec.rb +54 -0
- data/spec/models/list_emails_response_spec.rb +54 -0
- data/spec/models/list_events_data_spec.rb +54 -0
- data/spec/models/list_labels_response_spec.rb +42 -0
- data/spec/models/list_messages_response_spec.rb +54 -0
- data/spec/models/meeting_room_spec.rb +54 -0
- data/spec/models/move_block_request_spec.rb +42 -0
- data/spec/models/move_emails_request_spec.rb +36 -0
- data/spec/models/move_file_request_spec.rb +36 -0
- data/spec/models/move_file_response_spec.rb +36 -0
- data/spec/models/note_list_envelope_spec.rb +42 -0
- data/spec/models/note_spec.rb +114 -0
- data/spec/models/o_auth_error_spec.rb +46 -0
- data/spec/models/organization_detail_legacy_spec.rb +96 -0
- data/spec/models/organization_invitation_list_response_spec.rb +36 -0
- data/spec/models/organization_invitation_spec.rb +100 -0
- data/spec/models/organization_list_response_spec.rb +36 -0
- data/spec/models/organization_member_invited_by_spec.rb +32 -0
- data/spec/models/organization_member_list_response_spec.rb +42 -0
- data/spec/models/organization_member_spec.rb +70 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/organization_workspaces_inner_spec.rb +48 -0
- data/spec/models/password_required_error_spec.rb +54 -0
- data/spec/models/pat_list_response_spec.rb +42 -0
- data/spec/models/pat_scopes_response_spec.rb +36 -0
- data/spec/models/personal_access_token_spec.rb +84 -0
- data/spec/models/preconfigured_agent_spec.rb +72 -0
- data/spec/models/presentation_list_envelope_spec.rb +42 -0
- data/spec/models/presentation_spec.rb +96 -0
- data/spec/models/propose_recommendation_request_spec.rb +66 -0
- data/spec/models/public_invitation_payload_spec.rb +110 -0
- data/spec/models/quota_exceeded_error_spec.rb +42 -0
- data/spec/models/recommendation_list_response_spec.rb +36 -0
- data/spec/models/recommendation_spec.rb +100 -0
- data/spec/models/record_list_response_spec.rb +48 -0
- data/spec/models/record_spec.rb +78 -0
- data/spec/models/record_type_list_response_spec.rb +36 -0
- data/spec/models/record_type_spec.rb +84 -0
- data/spec/models/refresh_connection_request_spec.rb +42 -0
- data/spec/models/reminder_method_spec.rb +30 -0
- data/spec/models/reminder_spec.rb +42 -0
- data/spec/models/reply_email_request_spec.rb +72 -0
- data/spec/models/revoke_other_sessions_response_spec.rb +36 -0
- data/spec/models/rich_text_object_spec.rb +58 -0
- data/spec/models/routine_list_response_spec.rb +36 -0
- data/spec/models/routine_run_complete_request_spec.rb +42 -0
- data/spec/models/routine_run_list_response_spec.rb +36 -0
- data/spec/models/routine_run_progress_request_spec.rb +42 -0
- data/spec/models/routine_run_spec.rb +72 -0
- data/spec/models/routine_spec.rb +84 -0
- data/spec/models/row_list_spec.rb +42 -0
- data/spec/models/row_spec.rb +42 -0
- data/spec/models/save_message_request_spec.rb +48 -0
- data/spec/models/search_emails_response_spec.rb +54 -0
- data/spec/models/search_files_response_spec.rb +54 -0
- data/spec/models/send_chat_message_request_spec.rb +60 -0
- data/spec/models/send_chat_message_response_spec.rb +66 -0
- data/spec/models/send_email_request_spec.rb +90 -0
- data/spec/models/send_email_response_spec.rb +60 -0
- data/spec/models/session_list_response_spec.rb +36 -0
- data/spec/models/session_spec.rb +96 -0
- data/spec/models/share_settings_spec.rb +60 -0
- data/spec/models/sheet_list_envelope_spec.rb +42 -0
- data/spec/models/sheet_spec.rb +126 -0
- data/spec/models/sign_in_methods_providers_inner_spec.rb +54 -0
- data/spec/models/sign_in_methods_spec.rb +48 -0
- data/spec/models/slide_element_list_spec.rb +42 -0
- data/spec/models/slide_element_spec.rb +102 -0
- data/spec/models/slide_list_spec.rb +42 -0
- data/spec/models/slide_spec.rb +114 -0
- data/spec/models/spatio_call_spec.rb +96 -0
- data/spec/models/spatio_connection_spec.rb +96 -0
- data/spec/models/spatio_event_spec.rb +240 -0
- data/spec/models/spatio_file_spec.rb +102 -0
- data/spec/models/spatio_thread_spec.rb +54 -0
- data/spec/models/success_flag_spec.rb +36 -0
- data/spec/models/task_comment_author_spec.rb +54 -0
- data/spec/models/task_comment_list_spec.rb +42 -0
- data/spec/models/task_comment_mutation_response_spec.rb +42 -0
- data/spec/models/task_comment_request_spec.rb +36 -0
- data/spec/models/task_comment_spec.rb +66 -0
- data/spec/models/task_list_envelope_spec.rb +42 -0
- data/spec/models/task_providers_info_platform_spec.rb +42 -0
- data/spec/models/task_providers_info_spec.rb +42 -0
- data/spec/models/task_spec.rb +160 -0
- data/spec/models/text_annotations_spec.rb +66 -0
- data/spec/models/token_response_spec.rb +66 -0
- data/spec/models/update_account_request_spec.rb +42 -0
- data/spec/models/update_agent_request_spec.rb +72 -0
- data/spec/models/update_app_request_spec.rb +54 -0
- data/spec/models/update_block_request_spec.rb +48 -0
- data/spec/models/update_cell_request_spec.rb +36 -0
- data/spec/models/update_comment_request_spec.rb +42 -0
- data/spec/models/update_contact_category_request_spec.rb +48 -0
- data/spec/models/update_contact_request_spec.rb +78 -0
- data/spec/models/update_conversation_request_spec.rb +60 -0
- data/spec/models/update_draft_request_spec.rb +78 -0
- data/spec/models/update_email_folder_request_spec.rb +36 -0
- data/spec/models/update_email_request_spec.rb +60 -0
- data/spec/models/update_email_response_spec.rb +42 -0
- data/spec/models/update_event_request_spec.rb +52 -0
- data/spec/models/update_file_request_spec.rb +48 -0
- data/spec/models/update_key_binding_request_spec.rb +42 -0
- data/spec/models/update_message_metadata_request_spec.rb +42 -0
- data/spec/models/update_note_request_spec.rb +72 -0
- data/spec/models/update_organization_member_request_spec.rb +40 -0
- data/spec/models/update_organization_request_spec.rb +48 -0
- data/spec/models/update_participant_state_request_spec.rb +48 -0
- data/spec/models/update_pat_request_spec.rb +42 -0
- data/spec/models/update_presentation_request_spec.rb +48 -0
- data/spec/models/update_recommendation_status_request_spec.rb +40 -0
- data/spec/models/update_record_request_spec.rb +48 -0
- data/spec/models/update_record_type_request_spec.rb +60 -0
- data/spec/models/update_routine_request_spec.rb +60 -0
- data/spec/models/update_row_request_spec.rb +36 -0
- data/spec/models/update_sheet_request_spec.rb +72 -0
- data/spec/models/update_slide_element_request_spec.rb +78 -0
- data/spec/models/update_slide_request_spec.rb +78 -0
- data/spec/models/update_task_request_spec.rb +88 -0
- data/spec/models/update_workspace_member_request_spec.rb +40 -0
- data/spec/models/update_workspace_request_spec.rb +54 -0
- data/spec/models/upload_chunked_block_response_spec.rb +54 -0
- data/spec/models/upload_file_base64_request_spec.rb +78 -0
- data/spec/models/user_info_response_spec.rb +84 -0
- data/spec/models/validate_key_binding_request_spec.rb +48 -0
- data/spec/models/validate_key_binding_response_spec.rb +42 -0
- data/spec/models/workspace_envelope_spec.rb +36 -0
- data/spec/models/workspace_invitation_list_response_spec.rb +36 -0
- data/spec/models/workspace_invitation_spec.rb +88 -0
- data/spec/models/workspace_list_response_spec.rb +42 -0
- data/spec/models/workspace_member_list_response_spec.rb +42 -0
- data/spec/models/workspace_member_spec.rb +76 -0
- data/spec/models/workspace_organization_spec.rb +48 -0
- data/spec/models/workspace_spec.rb +114 -0
- data/spec/models/write_app_file_request_spec.rb +42 -0
- data/spec/spec_helper.rb +111 -0
- metadata +1597 -0
data/docs/SlidesApi.md
ADDED
|
@@ -0,0 +1,1697 @@
|
|
|
1
|
+
# Spatio::SlidesApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.spatio.app*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**create_presentation**](SlidesApi.md#create_presentation) | **POST** /v1/slides | Create a presentation. |
|
|
8
|
+
| [**create_slide**](SlidesApi.md#create_slide) | **POST** /v1/slides/{id}/slides | Insert a slide. |
|
|
9
|
+
| [**create_slide_element**](SlidesApi.md#create_slide_element) | **POST** /v1/slides/{id}/slides/{slideId}/elements | Add a canvas element (text/shape/image) to a slide. |
|
|
10
|
+
| [**delete_presentation**](SlidesApi.md#delete_presentation) | **DELETE** /v1/slides/{id} | Delete a presentation. |
|
|
11
|
+
| [**delete_slide**](SlidesApi.md#delete_slide) | **DELETE** /v1/slides/{id}/slides/{slideId} | Delete a slide. |
|
|
12
|
+
| [**delete_slide_element**](SlidesApi.md#delete_slide_element) | **DELETE** /v1/slides/{id}/slides/{slideId}/elements/{elementId} | Delete a slide element. |
|
|
13
|
+
| [**disable_presentation_share**](SlidesApi.md#disable_presentation_share) | **DELETE** /v1/slides/{id}/share | Disable public sharing. |
|
|
14
|
+
| [**enable_presentation_share**](SlidesApi.md#enable_presentation_share) | **POST** /v1/slides/{id}/share | Enable (or update password on) public sharing. |
|
|
15
|
+
| [**export_presentation_pdf**](SlidesApi.md#export_presentation_pdf) | **POST** /v1/slides/{id}/export/pdf | Render the presentation as a PDF. |
|
|
16
|
+
| [**export_presentation_pptx**](SlidesApi.md#export_presentation_pptx) | **POST** /v1/slides/{id}/export/pptx | Render the presentation as a PowerPoint (.pptx) file. |
|
|
17
|
+
| [**get_presentation**](SlidesApi.md#get_presentation) | **GET** /v1/slides/{id} | Fetch one presentation. |
|
|
18
|
+
| [**get_presentation_share_settings**](SlidesApi.md#get_presentation_share_settings) | **GET** /v1/slides/{id}/share | Fetch share settings for a presentation. |
|
|
19
|
+
| [**get_public_presentation**](SlidesApi.md#get_public_presentation) | **GET** /public/slides/{token} | Fetch a publicly shared presentation. |
|
|
20
|
+
| [**get_slide**](SlidesApi.md#get_slide) | **GET** /v1/slides/{id}/slides/{slideId} | Fetch one slide. |
|
|
21
|
+
| [**get_slide_element**](SlidesApi.md#get_slide_element) | **GET** /v1/slides/{id}/slides/{slideId}/elements/{elementId} | Fetch one slide element. |
|
|
22
|
+
| [**list_presentations**](SlidesApi.md#list_presentations) | **GET** /v1/slides | List presentations across connected accounts. |
|
|
23
|
+
| [**list_slide_elements**](SlidesApi.md#list_slide_elements) | **GET** /v1/slides/{id}/slides/{slideId}/elements | List the canvas elements on a slide. |
|
|
24
|
+
| [**list_slides_in_presentation**](SlidesApi.md#list_slides_in_presentation) | **GET** /v1/slides/{id}/slides | List slides in a presentation. |
|
|
25
|
+
| [**rotate_presentation_share_token**](SlidesApi.md#rotate_presentation_share_token) | **POST** /v1/slides/{id}/share/rotate | Rotate the share token, invalidating outstanding URLs. |
|
|
26
|
+
| [**update_presentation**](SlidesApi.md#update_presentation) | **PATCH** /v1/slides/{id} | Update presentation metadata (partial). |
|
|
27
|
+
| [**update_slide**](SlidesApi.md#update_slide) | **PATCH** /v1/slides/{id}/slides/{slideId} | Update a slide (partial). |
|
|
28
|
+
| [**update_slide_element**](SlidesApi.md#update_slide_element) | **PATCH** /v1/slides/{id}/slides/{slideId}/elements/{elementId} | Update a slide element (partial). |
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## create_presentation
|
|
32
|
+
|
|
33
|
+
> <Presentation> create_presentation(create_presentation_request, opts)
|
|
34
|
+
|
|
35
|
+
Create a presentation.
|
|
36
|
+
|
|
37
|
+
Creates a new deck under the target account. Target resolution mirrors `POST /v1/notes` and `/v1/sheets`: body `accountId` → `?accountId=` → body `provider` → `?provider=` → caller's single connected account (errors with `ambiguous_account` otherwise). The new deck is auto-seeded with one blank slide so the renderer has something to display immediately.
|
|
38
|
+
|
|
39
|
+
### Examples
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'time'
|
|
43
|
+
require 'spatio-sdk'
|
|
44
|
+
# setup authorization
|
|
45
|
+
Spatio.configure do |config|
|
|
46
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
47
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
api_instance = Spatio::SlidesApi.new
|
|
51
|
+
create_presentation_request = Spatio::CreatePresentationRequest.new({title: 'title_example'}) # CreatePresentationRequest |
|
|
52
|
+
opts = {
|
|
53
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
54
|
+
provider: 'provider_example', # String | Provider id (e.g. `native-notes`, `notion`). Selects every connected account for the provider. Mutually exclusive with `accountId`.
|
|
55
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
begin
|
|
59
|
+
# Create a presentation.
|
|
60
|
+
result = api_instance.create_presentation(create_presentation_request, opts)
|
|
61
|
+
p result
|
|
62
|
+
rescue Spatio::ApiError => e
|
|
63
|
+
puts "Error when calling SlidesApi->create_presentation: #{e}"
|
|
64
|
+
end
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
#### Using the create_presentation_with_http_info variant
|
|
68
|
+
|
|
69
|
+
This returns an Array which contains the response data, status code and headers.
|
|
70
|
+
|
|
71
|
+
> <Array(<Presentation>, Integer, Hash)> create_presentation_with_http_info(create_presentation_request, opts)
|
|
72
|
+
|
|
73
|
+
```ruby
|
|
74
|
+
begin
|
|
75
|
+
# Create a presentation.
|
|
76
|
+
data, status_code, headers = api_instance.create_presentation_with_http_info(create_presentation_request, opts)
|
|
77
|
+
p status_code # => 2xx
|
|
78
|
+
p headers # => { ... }
|
|
79
|
+
p data # => <Presentation>
|
|
80
|
+
rescue Spatio::ApiError => e
|
|
81
|
+
puts "Error when calling SlidesApi->create_presentation_with_http_info: #{e}"
|
|
82
|
+
end
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Parameters
|
|
86
|
+
|
|
87
|
+
| Name | Type | Description | Notes |
|
|
88
|
+
| ---- | ---- | ----------- | ----- |
|
|
89
|
+
| **create_presentation_request** | [**CreatePresentationRequest**](CreatePresentationRequest.md) | | |
|
|
90
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
91
|
+
| **provider** | **String** | Provider id (e.g. `native-notes`, `notion`). Selects every connected account for the provider. Mutually exclusive with `accountId`. | [optional] |
|
|
92
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
93
|
+
|
|
94
|
+
### Return type
|
|
95
|
+
|
|
96
|
+
[**Presentation**](Presentation.md)
|
|
97
|
+
|
|
98
|
+
### Authorization
|
|
99
|
+
|
|
100
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
101
|
+
|
|
102
|
+
### HTTP request headers
|
|
103
|
+
|
|
104
|
+
- **Content-Type**: application/json
|
|
105
|
+
- **Accept**: application/json
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## create_slide
|
|
109
|
+
|
|
110
|
+
> <Slide> create_slide(id, create_slide_request, opts)
|
|
111
|
+
|
|
112
|
+
Insert a slide.
|
|
113
|
+
|
|
114
|
+
### Examples
|
|
115
|
+
|
|
116
|
+
```ruby
|
|
117
|
+
require 'time'
|
|
118
|
+
require 'spatio-sdk'
|
|
119
|
+
# setup authorization
|
|
120
|
+
Spatio.configure do |config|
|
|
121
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
122
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
api_instance = Spatio::SlidesApi.new
|
|
126
|
+
id = 'id_example' # String | Presentation id.
|
|
127
|
+
create_slide_request = Spatio::CreateSlideRequest.new # CreateSlideRequest |
|
|
128
|
+
opts = {
|
|
129
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
130
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
begin
|
|
134
|
+
# Insert a slide.
|
|
135
|
+
result = api_instance.create_slide(id, create_slide_request, opts)
|
|
136
|
+
p result
|
|
137
|
+
rescue Spatio::ApiError => e
|
|
138
|
+
puts "Error when calling SlidesApi->create_slide: #{e}"
|
|
139
|
+
end
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
#### Using the create_slide_with_http_info variant
|
|
143
|
+
|
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
|
145
|
+
|
|
146
|
+
> <Array(<Slide>, Integer, Hash)> create_slide_with_http_info(id, create_slide_request, opts)
|
|
147
|
+
|
|
148
|
+
```ruby
|
|
149
|
+
begin
|
|
150
|
+
# Insert a slide.
|
|
151
|
+
data, status_code, headers = api_instance.create_slide_with_http_info(id, create_slide_request, opts)
|
|
152
|
+
p status_code # => 2xx
|
|
153
|
+
p headers # => { ... }
|
|
154
|
+
p data # => <Slide>
|
|
155
|
+
rescue Spatio::ApiError => e
|
|
156
|
+
puts "Error when calling SlidesApi->create_slide_with_http_info: #{e}"
|
|
157
|
+
end
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
### Parameters
|
|
161
|
+
|
|
162
|
+
| Name | Type | Description | Notes |
|
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
|
164
|
+
| **id** | **String** | Presentation id. | |
|
|
165
|
+
| **create_slide_request** | [**CreateSlideRequest**](CreateSlideRequest.md) | | |
|
|
166
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
167
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
168
|
+
|
|
169
|
+
### Return type
|
|
170
|
+
|
|
171
|
+
[**Slide**](Slide.md)
|
|
172
|
+
|
|
173
|
+
### Authorization
|
|
174
|
+
|
|
175
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
176
|
+
|
|
177
|
+
### HTTP request headers
|
|
178
|
+
|
|
179
|
+
- **Content-Type**: application/json
|
|
180
|
+
- **Accept**: application/json
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
## create_slide_element
|
|
184
|
+
|
|
185
|
+
> <SlideElement> create_slide_element(id, slide_id, create_slide_element_request, opts)
|
|
186
|
+
|
|
187
|
+
Add a canvas element (text/shape/image) to a slide.
|
|
188
|
+
|
|
189
|
+
### Examples
|
|
190
|
+
|
|
191
|
+
```ruby
|
|
192
|
+
require 'time'
|
|
193
|
+
require 'spatio-sdk'
|
|
194
|
+
# setup authorization
|
|
195
|
+
Spatio.configure do |config|
|
|
196
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
197
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
api_instance = Spatio::SlidesApi.new
|
|
201
|
+
id = 'id_example' # String | Presentation id.
|
|
202
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
203
|
+
create_slide_element_request = Spatio::CreateSlideElementRequest.new({element_type: 'element_type_example'}) # CreateSlideElementRequest |
|
|
204
|
+
opts = {
|
|
205
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
206
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
begin
|
|
210
|
+
# Add a canvas element (text/shape/image) to a slide.
|
|
211
|
+
result = api_instance.create_slide_element(id, slide_id, create_slide_element_request, opts)
|
|
212
|
+
p result
|
|
213
|
+
rescue Spatio::ApiError => e
|
|
214
|
+
puts "Error when calling SlidesApi->create_slide_element: #{e}"
|
|
215
|
+
end
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
#### Using the create_slide_element_with_http_info variant
|
|
219
|
+
|
|
220
|
+
This returns an Array which contains the response data, status code and headers.
|
|
221
|
+
|
|
222
|
+
> <Array(<SlideElement>, Integer, Hash)> create_slide_element_with_http_info(id, slide_id, create_slide_element_request, opts)
|
|
223
|
+
|
|
224
|
+
```ruby
|
|
225
|
+
begin
|
|
226
|
+
# Add a canvas element (text/shape/image) to a slide.
|
|
227
|
+
data, status_code, headers = api_instance.create_slide_element_with_http_info(id, slide_id, create_slide_element_request, opts)
|
|
228
|
+
p status_code # => 2xx
|
|
229
|
+
p headers # => { ... }
|
|
230
|
+
p data # => <SlideElement>
|
|
231
|
+
rescue Spatio::ApiError => e
|
|
232
|
+
puts "Error when calling SlidesApi->create_slide_element_with_http_info: #{e}"
|
|
233
|
+
end
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
### Parameters
|
|
237
|
+
|
|
238
|
+
| Name | Type | Description | Notes |
|
|
239
|
+
| ---- | ---- | ----------- | ----- |
|
|
240
|
+
| **id** | **String** | Presentation id. | |
|
|
241
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
242
|
+
| **create_slide_element_request** | [**CreateSlideElementRequest**](CreateSlideElementRequest.md) | | |
|
|
243
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
244
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
245
|
+
|
|
246
|
+
### Return type
|
|
247
|
+
|
|
248
|
+
[**SlideElement**](SlideElement.md)
|
|
249
|
+
|
|
250
|
+
### Authorization
|
|
251
|
+
|
|
252
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
253
|
+
|
|
254
|
+
### HTTP request headers
|
|
255
|
+
|
|
256
|
+
- **Content-Type**: application/json
|
|
257
|
+
- **Accept**: application/json
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
## delete_presentation
|
|
261
|
+
|
|
262
|
+
> <SuccessFlag> delete_presentation(id, opts)
|
|
263
|
+
|
|
264
|
+
Delete a presentation.
|
|
265
|
+
|
|
266
|
+
### Examples
|
|
267
|
+
|
|
268
|
+
```ruby
|
|
269
|
+
require 'time'
|
|
270
|
+
require 'spatio-sdk'
|
|
271
|
+
# setup authorization
|
|
272
|
+
Spatio.configure do |config|
|
|
273
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
274
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
275
|
+
end
|
|
276
|
+
|
|
277
|
+
api_instance = Spatio::SlidesApi.new
|
|
278
|
+
id = 'id_example' # String | Presentation id.
|
|
279
|
+
opts = {
|
|
280
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
281
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
begin
|
|
285
|
+
# Delete a presentation.
|
|
286
|
+
result = api_instance.delete_presentation(id, opts)
|
|
287
|
+
p result
|
|
288
|
+
rescue Spatio::ApiError => e
|
|
289
|
+
puts "Error when calling SlidesApi->delete_presentation: #{e}"
|
|
290
|
+
end
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
#### Using the delete_presentation_with_http_info variant
|
|
294
|
+
|
|
295
|
+
This returns an Array which contains the response data, status code and headers.
|
|
296
|
+
|
|
297
|
+
> <Array(<SuccessFlag>, Integer, Hash)> delete_presentation_with_http_info(id, opts)
|
|
298
|
+
|
|
299
|
+
```ruby
|
|
300
|
+
begin
|
|
301
|
+
# Delete a presentation.
|
|
302
|
+
data, status_code, headers = api_instance.delete_presentation_with_http_info(id, opts)
|
|
303
|
+
p status_code # => 2xx
|
|
304
|
+
p headers # => { ... }
|
|
305
|
+
p data # => <SuccessFlag>
|
|
306
|
+
rescue Spatio::ApiError => e
|
|
307
|
+
puts "Error when calling SlidesApi->delete_presentation_with_http_info: #{e}"
|
|
308
|
+
end
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
### Parameters
|
|
312
|
+
|
|
313
|
+
| Name | Type | Description | Notes |
|
|
314
|
+
| ---- | ---- | ----------- | ----- |
|
|
315
|
+
| **id** | **String** | Presentation id. | |
|
|
316
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
317
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
[**SuccessFlag**](SuccessFlag.md)
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: application/json
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
## delete_slide
|
|
334
|
+
|
|
335
|
+
> <SuccessFlag> delete_slide(id, slide_id, opts)
|
|
336
|
+
|
|
337
|
+
Delete a slide.
|
|
338
|
+
|
|
339
|
+
### Examples
|
|
340
|
+
|
|
341
|
+
```ruby
|
|
342
|
+
require 'time'
|
|
343
|
+
require 'spatio-sdk'
|
|
344
|
+
# setup authorization
|
|
345
|
+
Spatio.configure do |config|
|
|
346
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
347
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
348
|
+
end
|
|
349
|
+
|
|
350
|
+
api_instance = Spatio::SlidesApi.new
|
|
351
|
+
id = 'id_example' # String | Presentation id.
|
|
352
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
353
|
+
opts = {
|
|
354
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
355
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
begin
|
|
359
|
+
# Delete a slide.
|
|
360
|
+
result = api_instance.delete_slide(id, slide_id, opts)
|
|
361
|
+
p result
|
|
362
|
+
rescue Spatio::ApiError => e
|
|
363
|
+
puts "Error when calling SlidesApi->delete_slide: #{e}"
|
|
364
|
+
end
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
#### Using the delete_slide_with_http_info variant
|
|
368
|
+
|
|
369
|
+
This returns an Array which contains the response data, status code and headers.
|
|
370
|
+
|
|
371
|
+
> <Array(<SuccessFlag>, Integer, Hash)> delete_slide_with_http_info(id, slide_id, opts)
|
|
372
|
+
|
|
373
|
+
```ruby
|
|
374
|
+
begin
|
|
375
|
+
# Delete a slide.
|
|
376
|
+
data, status_code, headers = api_instance.delete_slide_with_http_info(id, slide_id, opts)
|
|
377
|
+
p status_code # => 2xx
|
|
378
|
+
p headers # => { ... }
|
|
379
|
+
p data # => <SuccessFlag>
|
|
380
|
+
rescue Spatio::ApiError => e
|
|
381
|
+
puts "Error when calling SlidesApi->delete_slide_with_http_info: #{e}"
|
|
382
|
+
end
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
### Parameters
|
|
386
|
+
|
|
387
|
+
| Name | Type | Description | Notes |
|
|
388
|
+
| ---- | ---- | ----------- | ----- |
|
|
389
|
+
| **id** | **String** | Presentation id. | |
|
|
390
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
391
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
392
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
393
|
+
|
|
394
|
+
### Return type
|
|
395
|
+
|
|
396
|
+
[**SuccessFlag**](SuccessFlag.md)
|
|
397
|
+
|
|
398
|
+
### Authorization
|
|
399
|
+
|
|
400
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
401
|
+
|
|
402
|
+
### HTTP request headers
|
|
403
|
+
|
|
404
|
+
- **Content-Type**: Not defined
|
|
405
|
+
- **Accept**: application/json
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
## delete_slide_element
|
|
409
|
+
|
|
410
|
+
> <SuccessFlag> delete_slide_element(id, slide_id, element_id, opts)
|
|
411
|
+
|
|
412
|
+
Delete a slide element.
|
|
413
|
+
|
|
414
|
+
### Examples
|
|
415
|
+
|
|
416
|
+
```ruby
|
|
417
|
+
require 'time'
|
|
418
|
+
require 'spatio-sdk'
|
|
419
|
+
# setup authorization
|
|
420
|
+
Spatio.configure do |config|
|
|
421
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
422
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
423
|
+
end
|
|
424
|
+
|
|
425
|
+
api_instance = Spatio::SlidesApi.new
|
|
426
|
+
id = 'id_example' # String | Presentation id.
|
|
427
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
428
|
+
element_id = 'element_id_example' # String | Slide-element id.
|
|
429
|
+
opts = {
|
|
430
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
431
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
begin
|
|
435
|
+
# Delete a slide element.
|
|
436
|
+
result = api_instance.delete_slide_element(id, slide_id, element_id, opts)
|
|
437
|
+
p result
|
|
438
|
+
rescue Spatio::ApiError => e
|
|
439
|
+
puts "Error when calling SlidesApi->delete_slide_element: #{e}"
|
|
440
|
+
end
|
|
441
|
+
```
|
|
442
|
+
|
|
443
|
+
#### Using the delete_slide_element_with_http_info variant
|
|
444
|
+
|
|
445
|
+
This returns an Array which contains the response data, status code and headers.
|
|
446
|
+
|
|
447
|
+
> <Array(<SuccessFlag>, Integer, Hash)> delete_slide_element_with_http_info(id, slide_id, element_id, opts)
|
|
448
|
+
|
|
449
|
+
```ruby
|
|
450
|
+
begin
|
|
451
|
+
# Delete a slide element.
|
|
452
|
+
data, status_code, headers = api_instance.delete_slide_element_with_http_info(id, slide_id, element_id, opts)
|
|
453
|
+
p status_code # => 2xx
|
|
454
|
+
p headers # => { ... }
|
|
455
|
+
p data # => <SuccessFlag>
|
|
456
|
+
rescue Spatio::ApiError => e
|
|
457
|
+
puts "Error when calling SlidesApi->delete_slide_element_with_http_info: #{e}"
|
|
458
|
+
end
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
### Parameters
|
|
462
|
+
|
|
463
|
+
| Name | Type | Description | Notes |
|
|
464
|
+
| ---- | ---- | ----------- | ----- |
|
|
465
|
+
| **id** | **String** | Presentation id. | |
|
|
466
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
467
|
+
| **element_id** | **String** | Slide-element id. | |
|
|
468
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
469
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
470
|
+
|
|
471
|
+
### Return type
|
|
472
|
+
|
|
473
|
+
[**SuccessFlag**](SuccessFlag.md)
|
|
474
|
+
|
|
475
|
+
### Authorization
|
|
476
|
+
|
|
477
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
478
|
+
|
|
479
|
+
### HTTP request headers
|
|
480
|
+
|
|
481
|
+
- **Content-Type**: Not defined
|
|
482
|
+
- **Accept**: application/json
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
## disable_presentation_share
|
|
486
|
+
|
|
487
|
+
> disable_presentation_share(id, opts)
|
|
488
|
+
|
|
489
|
+
Disable public sharing.
|
|
490
|
+
|
|
491
|
+
Owner-only. Subsequent public viewer requests 404.
|
|
492
|
+
|
|
493
|
+
### Examples
|
|
494
|
+
|
|
495
|
+
```ruby
|
|
496
|
+
require 'time'
|
|
497
|
+
require 'spatio-sdk'
|
|
498
|
+
# setup authorization
|
|
499
|
+
Spatio.configure do |config|
|
|
500
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
501
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
502
|
+
end
|
|
503
|
+
|
|
504
|
+
api_instance = Spatio::SlidesApi.new
|
|
505
|
+
id = 'id_example' # String | Presentation id.
|
|
506
|
+
opts = {
|
|
507
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
508
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
begin
|
|
512
|
+
# Disable public sharing.
|
|
513
|
+
api_instance.disable_presentation_share(id, opts)
|
|
514
|
+
rescue Spatio::ApiError => e
|
|
515
|
+
puts "Error when calling SlidesApi->disable_presentation_share: #{e}"
|
|
516
|
+
end
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
#### Using the disable_presentation_share_with_http_info variant
|
|
520
|
+
|
|
521
|
+
This returns an Array which contains the response data (`nil` in this case), status code and headers.
|
|
522
|
+
|
|
523
|
+
> <Array(nil, Integer, Hash)> disable_presentation_share_with_http_info(id, opts)
|
|
524
|
+
|
|
525
|
+
```ruby
|
|
526
|
+
begin
|
|
527
|
+
# Disable public sharing.
|
|
528
|
+
data, status_code, headers = api_instance.disable_presentation_share_with_http_info(id, opts)
|
|
529
|
+
p status_code # => 2xx
|
|
530
|
+
p headers # => { ... }
|
|
531
|
+
p data # => nil
|
|
532
|
+
rescue Spatio::ApiError => e
|
|
533
|
+
puts "Error when calling SlidesApi->disable_presentation_share_with_http_info: #{e}"
|
|
534
|
+
end
|
|
535
|
+
```
|
|
536
|
+
|
|
537
|
+
### Parameters
|
|
538
|
+
|
|
539
|
+
| Name | Type | Description | Notes |
|
|
540
|
+
| ---- | ---- | ----------- | ----- |
|
|
541
|
+
| **id** | **String** | Presentation id. | |
|
|
542
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
543
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
544
|
+
|
|
545
|
+
### Return type
|
|
546
|
+
|
|
547
|
+
nil (empty response body)
|
|
548
|
+
|
|
549
|
+
### Authorization
|
|
550
|
+
|
|
551
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
552
|
+
|
|
553
|
+
### HTTP request headers
|
|
554
|
+
|
|
555
|
+
- **Content-Type**: Not defined
|
|
556
|
+
- **Accept**: application/json
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
## enable_presentation_share
|
|
560
|
+
|
|
561
|
+
> <ShareSettings> enable_presentation_share(id, opts)
|
|
562
|
+
|
|
563
|
+
Enable (or update password on) public sharing.
|
|
564
|
+
|
|
565
|
+
Owner-only. With `setPassword: false` (or empty body), flips the deck public without changing the password. With `setPassword: true`, applies `password` (empty clears).
|
|
566
|
+
|
|
567
|
+
### Examples
|
|
568
|
+
|
|
569
|
+
```ruby
|
|
570
|
+
require 'time'
|
|
571
|
+
require 'spatio-sdk'
|
|
572
|
+
# setup authorization
|
|
573
|
+
Spatio.configure do |config|
|
|
574
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
575
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
576
|
+
end
|
|
577
|
+
|
|
578
|
+
api_instance = Spatio::SlidesApi.new
|
|
579
|
+
id = 'id_example' # String | Presentation id.
|
|
580
|
+
opts = {
|
|
581
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
582
|
+
x_workspace_id: 'x_workspace_id_example', # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
583
|
+
enable_share_request: Spatio::EnableShareRequest.new # EnableShareRequest |
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
begin
|
|
587
|
+
# Enable (or update password on) public sharing.
|
|
588
|
+
result = api_instance.enable_presentation_share(id, opts)
|
|
589
|
+
p result
|
|
590
|
+
rescue Spatio::ApiError => e
|
|
591
|
+
puts "Error when calling SlidesApi->enable_presentation_share: #{e}"
|
|
592
|
+
end
|
|
593
|
+
```
|
|
594
|
+
|
|
595
|
+
#### Using the enable_presentation_share_with_http_info variant
|
|
596
|
+
|
|
597
|
+
This returns an Array which contains the response data, status code and headers.
|
|
598
|
+
|
|
599
|
+
> <Array(<ShareSettings>, Integer, Hash)> enable_presentation_share_with_http_info(id, opts)
|
|
600
|
+
|
|
601
|
+
```ruby
|
|
602
|
+
begin
|
|
603
|
+
# Enable (or update password on) public sharing.
|
|
604
|
+
data, status_code, headers = api_instance.enable_presentation_share_with_http_info(id, opts)
|
|
605
|
+
p status_code # => 2xx
|
|
606
|
+
p headers # => { ... }
|
|
607
|
+
p data # => <ShareSettings>
|
|
608
|
+
rescue Spatio::ApiError => e
|
|
609
|
+
puts "Error when calling SlidesApi->enable_presentation_share_with_http_info: #{e}"
|
|
610
|
+
end
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
### Parameters
|
|
614
|
+
|
|
615
|
+
| Name | Type | Description | Notes |
|
|
616
|
+
| ---- | ---- | ----------- | ----- |
|
|
617
|
+
| **id** | **String** | Presentation id. | |
|
|
618
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
619
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
620
|
+
| **enable_share_request** | [**EnableShareRequest**](EnableShareRequest.md) | | [optional] |
|
|
621
|
+
|
|
622
|
+
### Return type
|
|
623
|
+
|
|
624
|
+
[**ShareSettings**](ShareSettings.md)
|
|
625
|
+
|
|
626
|
+
### Authorization
|
|
627
|
+
|
|
628
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
629
|
+
|
|
630
|
+
### HTTP request headers
|
|
631
|
+
|
|
632
|
+
- **Content-Type**: application/json
|
|
633
|
+
- **Accept**: application/json
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
## export_presentation_pdf
|
|
637
|
+
|
|
638
|
+
> File export_presentation_pdf(id, opts)
|
|
639
|
+
|
|
640
|
+
Render the presentation as a PDF.
|
|
641
|
+
|
|
642
|
+
Proxies to the Spatio export sidecar (Playwright). Two response modes selected via `?storage=`: - `stream` (default) — response body is the PDF binary (`application/pdf`). - `r2` — uploads the rendered PDF to R2 storage and returns a JSON envelope with a 24-hour signed URL. Returns `503 Service Unavailable` when the export sidecar is not configured (dev fallback to the client-side exporter).
|
|
643
|
+
|
|
644
|
+
### Examples
|
|
645
|
+
|
|
646
|
+
```ruby
|
|
647
|
+
require 'time'
|
|
648
|
+
require 'spatio-sdk'
|
|
649
|
+
# setup authorization
|
|
650
|
+
Spatio.configure do |config|
|
|
651
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
652
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
653
|
+
end
|
|
654
|
+
|
|
655
|
+
api_instance = Spatio::SlidesApi.new
|
|
656
|
+
id = 'id_example' # String | Presentation id.
|
|
657
|
+
opts = {
|
|
658
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
659
|
+
x_workspace_id: 'x_workspace_id_example', # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
660
|
+
storage: 'stream', # String |
|
|
661
|
+
filename: 'filename_example', # String | Sanitized base name for the downloaded PDF.
|
|
662
|
+
export_pdf_request: Spatio::ExportPDFRequest.new # ExportPDFRequest |
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
begin
|
|
666
|
+
# Render the presentation as a PDF.
|
|
667
|
+
result = api_instance.export_presentation_pdf(id, opts)
|
|
668
|
+
p result
|
|
669
|
+
rescue Spatio::ApiError => e
|
|
670
|
+
puts "Error when calling SlidesApi->export_presentation_pdf: #{e}"
|
|
671
|
+
end
|
|
672
|
+
```
|
|
673
|
+
|
|
674
|
+
#### Using the export_presentation_pdf_with_http_info variant
|
|
675
|
+
|
|
676
|
+
This returns an Array which contains the response data, status code and headers.
|
|
677
|
+
|
|
678
|
+
> <Array(File, Integer, Hash)> export_presentation_pdf_with_http_info(id, opts)
|
|
679
|
+
|
|
680
|
+
```ruby
|
|
681
|
+
begin
|
|
682
|
+
# Render the presentation as a PDF.
|
|
683
|
+
data, status_code, headers = api_instance.export_presentation_pdf_with_http_info(id, opts)
|
|
684
|
+
p status_code # => 2xx
|
|
685
|
+
p headers # => { ... }
|
|
686
|
+
p data # => File
|
|
687
|
+
rescue Spatio::ApiError => e
|
|
688
|
+
puts "Error when calling SlidesApi->export_presentation_pdf_with_http_info: #{e}"
|
|
689
|
+
end
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
### Parameters
|
|
693
|
+
|
|
694
|
+
| Name | Type | Description | Notes |
|
|
695
|
+
| ---- | ---- | ----------- | ----- |
|
|
696
|
+
| **id** | **String** | Presentation id. | |
|
|
697
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
698
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
699
|
+
| **storage** | **String** | | [optional][default to 'stream'] |
|
|
700
|
+
| **filename** | **String** | Sanitized base name for the downloaded PDF. | [optional] |
|
|
701
|
+
| **export_pdf_request** | [**ExportPDFRequest**](ExportPDFRequest.md) | | [optional] |
|
|
702
|
+
|
|
703
|
+
### Return type
|
|
704
|
+
|
|
705
|
+
**File**
|
|
706
|
+
|
|
707
|
+
### Authorization
|
|
708
|
+
|
|
709
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
710
|
+
|
|
711
|
+
### HTTP request headers
|
|
712
|
+
|
|
713
|
+
- **Content-Type**: application/json
|
|
714
|
+
- **Accept**: application/pdf, application/json
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
## export_presentation_pptx
|
|
718
|
+
|
|
719
|
+
> File export_presentation_pptx(id, opts)
|
|
720
|
+
|
|
721
|
+
Render the presentation as a PowerPoint (.pptx) file.
|
|
722
|
+
|
|
723
|
+
Proxies to the Spatio export sidecar (Playwright + pptxgenjs). Each slide is screenshotted at 2× device-pixel ratio and wrapped into a PowerPoint .pptx as a full-bleed image. Visual fidelity is preserved exactly — what renders in Spatio renders identically in PowerPoint, Keynote, Google Slides — at the cost of in-PowerPoint editability of slide content. Users edit slide content back in Spatio (the source of truth), not inside PowerPoint. Two response modes selected via `?storage=`: - `stream` (default) — response body is the PPTX binary (`application/vnd.openxmlformats-officedocument.presentationml.presentation`). - `r2` — uploads the rendered PPTX to R2 storage and returns a JSON envelope with a 24-hour signed URL. Returns `503 Service Unavailable` when the export sidecar is not configured.
|
|
724
|
+
|
|
725
|
+
### Examples
|
|
726
|
+
|
|
727
|
+
```ruby
|
|
728
|
+
require 'time'
|
|
729
|
+
require 'spatio-sdk'
|
|
730
|
+
# setup authorization
|
|
731
|
+
Spatio.configure do |config|
|
|
732
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
733
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
734
|
+
end
|
|
735
|
+
|
|
736
|
+
api_instance = Spatio::SlidesApi.new
|
|
737
|
+
id = 'id_example' # String | Presentation id.
|
|
738
|
+
opts = {
|
|
739
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
740
|
+
x_workspace_id: 'x_workspace_id_example', # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
741
|
+
storage: 'stream', # String |
|
|
742
|
+
filename: 'filename_example', # String | Sanitized base name for the downloaded PPTX.
|
|
743
|
+
export_pdf_request: Spatio::ExportPDFRequest.new # ExportPDFRequest |
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
begin
|
|
747
|
+
# Render the presentation as a PowerPoint (.pptx) file.
|
|
748
|
+
result = api_instance.export_presentation_pptx(id, opts)
|
|
749
|
+
p result
|
|
750
|
+
rescue Spatio::ApiError => e
|
|
751
|
+
puts "Error when calling SlidesApi->export_presentation_pptx: #{e}"
|
|
752
|
+
end
|
|
753
|
+
```
|
|
754
|
+
|
|
755
|
+
#### Using the export_presentation_pptx_with_http_info variant
|
|
756
|
+
|
|
757
|
+
This returns an Array which contains the response data, status code and headers.
|
|
758
|
+
|
|
759
|
+
> <Array(File, Integer, Hash)> export_presentation_pptx_with_http_info(id, opts)
|
|
760
|
+
|
|
761
|
+
```ruby
|
|
762
|
+
begin
|
|
763
|
+
# Render the presentation as a PowerPoint (.pptx) file.
|
|
764
|
+
data, status_code, headers = api_instance.export_presentation_pptx_with_http_info(id, opts)
|
|
765
|
+
p status_code # => 2xx
|
|
766
|
+
p headers # => { ... }
|
|
767
|
+
p data # => File
|
|
768
|
+
rescue Spatio::ApiError => e
|
|
769
|
+
puts "Error when calling SlidesApi->export_presentation_pptx_with_http_info: #{e}"
|
|
770
|
+
end
|
|
771
|
+
```
|
|
772
|
+
|
|
773
|
+
### Parameters
|
|
774
|
+
|
|
775
|
+
| Name | Type | Description | Notes |
|
|
776
|
+
| ---- | ---- | ----------- | ----- |
|
|
777
|
+
| **id** | **String** | Presentation id. | |
|
|
778
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
779
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
780
|
+
| **storage** | **String** | | [optional][default to 'stream'] |
|
|
781
|
+
| **filename** | **String** | Sanitized base name for the downloaded PPTX. | [optional] |
|
|
782
|
+
| **export_pdf_request** | [**ExportPDFRequest**](ExportPDFRequest.md) | | [optional] |
|
|
783
|
+
|
|
784
|
+
### Return type
|
|
785
|
+
|
|
786
|
+
**File**
|
|
787
|
+
|
|
788
|
+
### Authorization
|
|
789
|
+
|
|
790
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
791
|
+
|
|
792
|
+
### HTTP request headers
|
|
793
|
+
|
|
794
|
+
- **Content-Type**: application/json
|
|
795
|
+
- **Accept**: application/vnd.openxmlformats-officedocument.presentationml.presentation, application/json
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
## get_presentation
|
|
799
|
+
|
|
800
|
+
> <Presentation> get_presentation(id, opts)
|
|
801
|
+
|
|
802
|
+
Fetch one presentation.
|
|
803
|
+
|
|
804
|
+
### Examples
|
|
805
|
+
|
|
806
|
+
```ruby
|
|
807
|
+
require 'time'
|
|
808
|
+
require 'spatio-sdk'
|
|
809
|
+
# setup authorization
|
|
810
|
+
Spatio.configure do |config|
|
|
811
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
812
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
813
|
+
end
|
|
814
|
+
|
|
815
|
+
api_instance = Spatio::SlidesApi.new
|
|
816
|
+
id = 'id_example' # String | Presentation id.
|
|
817
|
+
opts = {
|
|
818
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
819
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
begin
|
|
823
|
+
# Fetch one presentation.
|
|
824
|
+
result = api_instance.get_presentation(id, opts)
|
|
825
|
+
p result
|
|
826
|
+
rescue Spatio::ApiError => e
|
|
827
|
+
puts "Error when calling SlidesApi->get_presentation: #{e}"
|
|
828
|
+
end
|
|
829
|
+
```
|
|
830
|
+
|
|
831
|
+
#### Using the get_presentation_with_http_info variant
|
|
832
|
+
|
|
833
|
+
This returns an Array which contains the response data, status code and headers.
|
|
834
|
+
|
|
835
|
+
> <Array(<Presentation>, Integer, Hash)> get_presentation_with_http_info(id, opts)
|
|
836
|
+
|
|
837
|
+
```ruby
|
|
838
|
+
begin
|
|
839
|
+
# Fetch one presentation.
|
|
840
|
+
data, status_code, headers = api_instance.get_presentation_with_http_info(id, opts)
|
|
841
|
+
p status_code # => 2xx
|
|
842
|
+
p headers # => { ... }
|
|
843
|
+
p data # => <Presentation>
|
|
844
|
+
rescue Spatio::ApiError => e
|
|
845
|
+
puts "Error when calling SlidesApi->get_presentation_with_http_info: #{e}"
|
|
846
|
+
end
|
|
847
|
+
```
|
|
848
|
+
|
|
849
|
+
### Parameters
|
|
850
|
+
|
|
851
|
+
| Name | Type | Description | Notes |
|
|
852
|
+
| ---- | ---- | ----------- | ----- |
|
|
853
|
+
| **id** | **String** | Presentation id. | |
|
|
854
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
855
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
856
|
+
|
|
857
|
+
### Return type
|
|
858
|
+
|
|
859
|
+
[**Presentation**](Presentation.md)
|
|
860
|
+
|
|
861
|
+
### Authorization
|
|
862
|
+
|
|
863
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
864
|
+
|
|
865
|
+
### HTTP request headers
|
|
866
|
+
|
|
867
|
+
- **Content-Type**: Not defined
|
|
868
|
+
- **Accept**: application/json
|
|
869
|
+
|
|
870
|
+
|
|
871
|
+
## get_presentation_share_settings
|
|
872
|
+
|
|
873
|
+
> <ShareSettings> get_presentation_share_settings(id, opts)
|
|
874
|
+
|
|
875
|
+
Fetch share settings for a presentation.
|
|
876
|
+
|
|
877
|
+
Owner-only. Mirror of `GET /v1/notes/{id}/share` — same shape, same fields. Returns the current public-share configuration, including the share token and computed public viewer URL when the deck is currently public.
|
|
878
|
+
|
|
879
|
+
### Examples
|
|
880
|
+
|
|
881
|
+
```ruby
|
|
882
|
+
require 'time'
|
|
883
|
+
require 'spatio-sdk'
|
|
884
|
+
# setup authorization
|
|
885
|
+
Spatio.configure do |config|
|
|
886
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
887
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
api_instance = Spatio::SlidesApi.new
|
|
891
|
+
id = 'id_example' # String | Presentation id.
|
|
892
|
+
opts = {
|
|
893
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
894
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
begin
|
|
898
|
+
# Fetch share settings for a presentation.
|
|
899
|
+
result = api_instance.get_presentation_share_settings(id, opts)
|
|
900
|
+
p result
|
|
901
|
+
rescue Spatio::ApiError => e
|
|
902
|
+
puts "Error when calling SlidesApi->get_presentation_share_settings: #{e}"
|
|
903
|
+
end
|
|
904
|
+
```
|
|
905
|
+
|
|
906
|
+
#### Using the get_presentation_share_settings_with_http_info variant
|
|
907
|
+
|
|
908
|
+
This returns an Array which contains the response data, status code and headers.
|
|
909
|
+
|
|
910
|
+
> <Array(<ShareSettings>, Integer, Hash)> get_presentation_share_settings_with_http_info(id, opts)
|
|
911
|
+
|
|
912
|
+
```ruby
|
|
913
|
+
begin
|
|
914
|
+
# Fetch share settings for a presentation.
|
|
915
|
+
data, status_code, headers = api_instance.get_presentation_share_settings_with_http_info(id, opts)
|
|
916
|
+
p status_code # => 2xx
|
|
917
|
+
p headers # => { ... }
|
|
918
|
+
p data # => <ShareSettings>
|
|
919
|
+
rescue Spatio::ApiError => e
|
|
920
|
+
puts "Error when calling SlidesApi->get_presentation_share_settings_with_http_info: #{e}"
|
|
921
|
+
end
|
|
922
|
+
```
|
|
923
|
+
|
|
924
|
+
### Parameters
|
|
925
|
+
|
|
926
|
+
| Name | Type | Description | Notes |
|
|
927
|
+
| ---- | ---- | ----------- | ----- |
|
|
928
|
+
| **id** | **String** | Presentation id. | |
|
|
929
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
930
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
931
|
+
|
|
932
|
+
### Return type
|
|
933
|
+
|
|
934
|
+
[**ShareSettings**](ShareSettings.md)
|
|
935
|
+
|
|
936
|
+
### Authorization
|
|
937
|
+
|
|
938
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
939
|
+
|
|
940
|
+
### HTTP request headers
|
|
941
|
+
|
|
942
|
+
- **Content-Type**: Not defined
|
|
943
|
+
- **Accept**: application/json
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
## get_public_presentation
|
|
947
|
+
|
|
948
|
+
> Hash<String, Object> get_public_presentation(token, opts)
|
|
949
|
+
|
|
950
|
+
Fetch a publicly shared presentation.
|
|
951
|
+
|
|
952
|
+
Unauthenticated. Mirror of `GET /public/notes/{token}`. The share token is the credential. For password-protected decks the password is supplied via `?password=`; the response distinguishes \"no password supplied\" from \"wrong password\" so the viewer can render the right prompt. Unknown tokens and disabled-share decks both return `404` to prevent enumeration.
|
|
953
|
+
|
|
954
|
+
### Examples
|
|
955
|
+
|
|
956
|
+
```ruby
|
|
957
|
+
require 'time'
|
|
958
|
+
require 'spatio-sdk'
|
|
959
|
+
|
|
960
|
+
api_instance = Spatio::SlidesApi.new
|
|
961
|
+
token = 'token_example' # String | Opaque public-share token.
|
|
962
|
+
opts = {
|
|
963
|
+
password: 'password_example' # String | Optional viewer password.
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
begin
|
|
967
|
+
# Fetch a publicly shared presentation.
|
|
968
|
+
result = api_instance.get_public_presentation(token, opts)
|
|
969
|
+
p result
|
|
970
|
+
rescue Spatio::ApiError => e
|
|
971
|
+
puts "Error when calling SlidesApi->get_public_presentation: #{e}"
|
|
972
|
+
end
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
#### Using the get_public_presentation_with_http_info variant
|
|
976
|
+
|
|
977
|
+
This returns an Array which contains the response data, status code and headers.
|
|
978
|
+
|
|
979
|
+
> <Array(Hash<String, Object>, Integer, Hash)> get_public_presentation_with_http_info(token, opts)
|
|
980
|
+
|
|
981
|
+
```ruby
|
|
982
|
+
begin
|
|
983
|
+
# Fetch a publicly shared presentation.
|
|
984
|
+
data, status_code, headers = api_instance.get_public_presentation_with_http_info(token, opts)
|
|
985
|
+
p status_code # => 2xx
|
|
986
|
+
p headers # => { ... }
|
|
987
|
+
p data # => Hash<String, Object>
|
|
988
|
+
rescue Spatio::ApiError => e
|
|
989
|
+
puts "Error when calling SlidesApi->get_public_presentation_with_http_info: #{e}"
|
|
990
|
+
end
|
|
991
|
+
```
|
|
992
|
+
|
|
993
|
+
### Parameters
|
|
994
|
+
|
|
995
|
+
| Name | Type | Description | Notes |
|
|
996
|
+
| ---- | ---- | ----------- | ----- |
|
|
997
|
+
| **token** | **String** | Opaque public-share token. | |
|
|
998
|
+
| **password** | **String** | Optional viewer password. | [optional] |
|
|
999
|
+
|
|
1000
|
+
### Return type
|
|
1001
|
+
|
|
1002
|
+
**Hash<String, Object>**
|
|
1003
|
+
|
|
1004
|
+
### Authorization
|
|
1005
|
+
|
|
1006
|
+
No authorization required
|
|
1007
|
+
|
|
1008
|
+
### HTTP request headers
|
|
1009
|
+
|
|
1010
|
+
- **Content-Type**: Not defined
|
|
1011
|
+
- **Accept**: application/json
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
## get_slide
|
|
1015
|
+
|
|
1016
|
+
> <Slide> get_slide(id, slide_id, opts)
|
|
1017
|
+
|
|
1018
|
+
Fetch one slide.
|
|
1019
|
+
|
|
1020
|
+
### Examples
|
|
1021
|
+
|
|
1022
|
+
```ruby
|
|
1023
|
+
require 'time'
|
|
1024
|
+
require 'spatio-sdk'
|
|
1025
|
+
# setup authorization
|
|
1026
|
+
Spatio.configure do |config|
|
|
1027
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1028
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
api_instance = Spatio::SlidesApi.new
|
|
1032
|
+
id = 'id_example' # String | Presentation id.
|
|
1033
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
1034
|
+
opts = {
|
|
1035
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1036
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
begin
|
|
1040
|
+
# Fetch one slide.
|
|
1041
|
+
result = api_instance.get_slide(id, slide_id, opts)
|
|
1042
|
+
p result
|
|
1043
|
+
rescue Spatio::ApiError => e
|
|
1044
|
+
puts "Error when calling SlidesApi->get_slide: #{e}"
|
|
1045
|
+
end
|
|
1046
|
+
```
|
|
1047
|
+
|
|
1048
|
+
#### Using the get_slide_with_http_info variant
|
|
1049
|
+
|
|
1050
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1051
|
+
|
|
1052
|
+
> <Array(<Slide>, Integer, Hash)> get_slide_with_http_info(id, slide_id, opts)
|
|
1053
|
+
|
|
1054
|
+
```ruby
|
|
1055
|
+
begin
|
|
1056
|
+
# Fetch one slide.
|
|
1057
|
+
data, status_code, headers = api_instance.get_slide_with_http_info(id, slide_id, opts)
|
|
1058
|
+
p status_code # => 2xx
|
|
1059
|
+
p headers # => { ... }
|
|
1060
|
+
p data # => <Slide>
|
|
1061
|
+
rescue Spatio::ApiError => e
|
|
1062
|
+
puts "Error when calling SlidesApi->get_slide_with_http_info: #{e}"
|
|
1063
|
+
end
|
|
1064
|
+
```
|
|
1065
|
+
|
|
1066
|
+
### Parameters
|
|
1067
|
+
|
|
1068
|
+
| Name | Type | Description | Notes |
|
|
1069
|
+
| ---- | ---- | ----------- | ----- |
|
|
1070
|
+
| **id** | **String** | Presentation id. | |
|
|
1071
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
1072
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1073
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1074
|
+
|
|
1075
|
+
### Return type
|
|
1076
|
+
|
|
1077
|
+
[**Slide**](Slide.md)
|
|
1078
|
+
|
|
1079
|
+
### Authorization
|
|
1080
|
+
|
|
1081
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1082
|
+
|
|
1083
|
+
### HTTP request headers
|
|
1084
|
+
|
|
1085
|
+
- **Content-Type**: Not defined
|
|
1086
|
+
- **Accept**: application/json
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
## get_slide_element
|
|
1090
|
+
|
|
1091
|
+
> <SlideElement> get_slide_element(id, slide_id, element_id, opts)
|
|
1092
|
+
|
|
1093
|
+
Fetch one slide element.
|
|
1094
|
+
|
|
1095
|
+
### Examples
|
|
1096
|
+
|
|
1097
|
+
```ruby
|
|
1098
|
+
require 'time'
|
|
1099
|
+
require 'spatio-sdk'
|
|
1100
|
+
# setup authorization
|
|
1101
|
+
Spatio.configure do |config|
|
|
1102
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1103
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1104
|
+
end
|
|
1105
|
+
|
|
1106
|
+
api_instance = Spatio::SlidesApi.new
|
|
1107
|
+
id = 'id_example' # String | Presentation id.
|
|
1108
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
1109
|
+
element_id = 'element_id_example' # String | Slide-element id.
|
|
1110
|
+
opts = {
|
|
1111
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1112
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
begin
|
|
1116
|
+
# Fetch one slide element.
|
|
1117
|
+
result = api_instance.get_slide_element(id, slide_id, element_id, opts)
|
|
1118
|
+
p result
|
|
1119
|
+
rescue Spatio::ApiError => e
|
|
1120
|
+
puts "Error when calling SlidesApi->get_slide_element: #{e}"
|
|
1121
|
+
end
|
|
1122
|
+
```
|
|
1123
|
+
|
|
1124
|
+
#### Using the get_slide_element_with_http_info variant
|
|
1125
|
+
|
|
1126
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1127
|
+
|
|
1128
|
+
> <Array(<SlideElement>, Integer, Hash)> get_slide_element_with_http_info(id, slide_id, element_id, opts)
|
|
1129
|
+
|
|
1130
|
+
```ruby
|
|
1131
|
+
begin
|
|
1132
|
+
# Fetch one slide element.
|
|
1133
|
+
data, status_code, headers = api_instance.get_slide_element_with_http_info(id, slide_id, element_id, opts)
|
|
1134
|
+
p status_code # => 2xx
|
|
1135
|
+
p headers # => { ... }
|
|
1136
|
+
p data # => <SlideElement>
|
|
1137
|
+
rescue Spatio::ApiError => e
|
|
1138
|
+
puts "Error when calling SlidesApi->get_slide_element_with_http_info: #{e}"
|
|
1139
|
+
end
|
|
1140
|
+
```
|
|
1141
|
+
|
|
1142
|
+
### Parameters
|
|
1143
|
+
|
|
1144
|
+
| Name | Type | Description | Notes |
|
|
1145
|
+
| ---- | ---- | ----------- | ----- |
|
|
1146
|
+
| **id** | **String** | Presentation id. | |
|
|
1147
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
1148
|
+
| **element_id** | **String** | Slide-element id. | |
|
|
1149
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1150
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1151
|
+
|
|
1152
|
+
### Return type
|
|
1153
|
+
|
|
1154
|
+
[**SlideElement**](SlideElement.md)
|
|
1155
|
+
|
|
1156
|
+
### Authorization
|
|
1157
|
+
|
|
1158
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1159
|
+
|
|
1160
|
+
### HTTP request headers
|
|
1161
|
+
|
|
1162
|
+
- **Content-Type**: Not defined
|
|
1163
|
+
- **Accept**: application/json
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
## list_presentations
|
|
1167
|
+
|
|
1168
|
+
> <PresentationListEnvelope> list_presentations(opts)
|
|
1169
|
+
|
|
1170
|
+
List presentations across connected accounts.
|
|
1171
|
+
|
|
1172
|
+
Fan-out list. Returns every presentation visible to the caller across every connected slides provider. Pass `?accountId=` or `?provider=` to scope to a single source.
|
|
1173
|
+
|
|
1174
|
+
### Examples
|
|
1175
|
+
|
|
1176
|
+
```ruby
|
|
1177
|
+
require 'time'
|
|
1178
|
+
require 'spatio-sdk'
|
|
1179
|
+
# setup authorization
|
|
1180
|
+
Spatio.configure do |config|
|
|
1181
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1182
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1183
|
+
end
|
|
1184
|
+
|
|
1185
|
+
api_instance = Spatio::SlidesApi.new
|
|
1186
|
+
opts = {
|
|
1187
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1188
|
+
provider: 'provider_example', # String | Provider id (e.g. `native-notes`, `notion`). Selects every connected account for the provider. Mutually exclusive with `accountId`.
|
|
1189
|
+
x_workspace_id: 'x_workspace_id_example', # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1190
|
+
limit: 56, # Integer |
|
|
1191
|
+
offset: 56 # Integer |
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
begin
|
|
1195
|
+
# List presentations across connected accounts.
|
|
1196
|
+
result = api_instance.list_presentations(opts)
|
|
1197
|
+
p result
|
|
1198
|
+
rescue Spatio::ApiError => e
|
|
1199
|
+
puts "Error when calling SlidesApi->list_presentations: #{e}"
|
|
1200
|
+
end
|
|
1201
|
+
```
|
|
1202
|
+
|
|
1203
|
+
#### Using the list_presentations_with_http_info variant
|
|
1204
|
+
|
|
1205
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1206
|
+
|
|
1207
|
+
> <Array(<PresentationListEnvelope>, Integer, Hash)> list_presentations_with_http_info(opts)
|
|
1208
|
+
|
|
1209
|
+
```ruby
|
|
1210
|
+
begin
|
|
1211
|
+
# List presentations across connected accounts.
|
|
1212
|
+
data, status_code, headers = api_instance.list_presentations_with_http_info(opts)
|
|
1213
|
+
p status_code # => 2xx
|
|
1214
|
+
p headers # => { ... }
|
|
1215
|
+
p data # => <PresentationListEnvelope>
|
|
1216
|
+
rescue Spatio::ApiError => e
|
|
1217
|
+
puts "Error when calling SlidesApi->list_presentations_with_http_info: #{e}"
|
|
1218
|
+
end
|
|
1219
|
+
```
|
|
1220
|
+
|
|
1221
|
+
### Parameters
|
|
1222
|
+
|
|
1223
|
+
| Name | Type | Description | Notes |
|
|
1224
|
+
| ---- | ---- | ----------- | ----- |
|
|
1225
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1226
|
+
| **provider** | **String** | Provider id (e.g. `native-notes`, `notion`). Selects every connected account for the provider. Mutually exclusive with `accountId`. | [optional] |
|
|
1227
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1228
|
+
| **limit** | **Integer** | | [optional][default to 50] |
|
|
1229
|
+
| **offset** | **Integer** | | [optional][default to 0] |
|
|
1230
|
+
|
|
1231
|
+
### Return type
|
|
1232
|
+
|
|
1233
|
+
[**PresentationListEnvelope**](PresentationListEnvelope.md)
|
|
1234
|
+
|
|
1235
|
+
### Authorization
|
|
1236
|
+
|
|
1237
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1238
|
+
|
|
1239
|
+
### HTTP request headers
|
|
1240
|
+
|
|
1241
|
+
- **Content-Type**: Not defined
|
|
1242
|
+
- **Accept**: application/json
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
## list_slide_elements
|
|
1246
|
+
|
|
1247
|
+
> <SlideElementList> list_slide_elements(id, slide_id, opts)
|
|
1248
|
+
|
|
1249
|
+
List the canvas elements on a slide.
|
|
1250
|
+
|
|
1251
|
+
### Examples
|
|
1252
|
+
|
|
1253
|
+
```ruby
|
|
1254
|
+
require 'time'
|
|
1255
|
+
require 'spatio-sdk'
|
|
1256
|
+
# setup authorization
|
|
1257
|
+
Spatio.configure do |config|
|
|
1258
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1259
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1260
|
+
end
|
|
1261
|
+
|
|
1262
|
+
api_instance = Spatio::SlidesApi.new
|
|
1263
|
+
id = 'id_example' # String | Presentation id.
|
|
1264
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
1265
|
+
opts = {
|
|
1266
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1267
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
begin
|
|
1271
|
+
# List the canvas elements on a slide.
|
|
1272
|
+
result = api_instance.list_slide_elements(id, slide_id, opts)
|
|
1273
|
+
p result
|
|
1274
|
+
rescue Spatio::ApiError => e
|
|
1275
|
+
puts "Error when calling SlidesApi->list_slide_elements: #{e}"
|
|
1276
|
+
end
|
|
1277
|
+
```
|
|
1278
|
+
|
|
1279
|
+
#### Using the list_slide_elements_with_http_info variant
|
|
1280
|
+
|
|
1281
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1282
|
+
|
|
1283
|
+
> <Array(<SlideElementList>, Integer, Hash)> list_slide_elements_with_http_info(id, slide_id, opts)
|
|
1284
|
+
|
|
1285
|
+
```ruby
|
|
1286
|
+
begin
|
|
1287
|
+
# List the canvas elements on a slide.
|
|
1288
|
+
data, status_code, headers = api_instance.list_slide_elements_with_http_info(id, slide_id, opts)
|
|
1289
|
+
p status_code # => 2xx
|
|
1290
|
+
p headers # => { ... }
|
|
1291
|
+
p data # => <SlideElementList>
|
|
1292
|
+
rescue Spatio::ApiError => e
|
|
1293
|
+
puts "Error when calling SlidesApi->list_slide_elements_with_http_info: #{e}"
|
|
1294
|
+
end
|
|
1295
|
+
```
|
|
1296
|
+
|
|
1297
|
+
### Parameters
|
|
1298
|
+
|
|
1299
|
+
| Name | Type | Description | Notes |
|
|
1300
|
+
| ---- | ---- | ----------- | ----- |
|
|
1301
|
+
| **id** | **String** | Presentation id. | |
|
|
1302
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
1303
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1304
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1305
|
+
|
|
1306
|
+
### Return type
|
|
1307
|
+
|
|
1308
|
+
[**SlideElementList**](SlideElementList.md)
|
|
1309
|
+
|
|
1310
|
+
### Authorization
|
|
1311
|
+
|
|
1312
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1313
|
+
|
|
1314
|
+
### HTTP request headers
|
|
1315
|
+
|
|
1316
|
+
- **Content-Type**: Not defined
|
|
1317
|
+
- **Accept**: application/json
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
## list_slides_in_presentation
|
|
1321
|
+
|
|
1322
|
+
> <SlideList> list_slides_in_presentation(id, opts)
|
|
1323
|
+
|
|
1324
|
+
List slides in a presentation.
|
|
1325
|
+
|
|
1326
|
+
Single-account list. Returns slides in the order set by their `position` field.
|
|
1327
|
+
|
|
1328
|
+
### Examples
|
|
1329
|
+
|
|
1330
|
+
```ruby
|
|
1331
|
+
require 'time'
|
|
1332
|
+
require 'spatio-sdk'
|
|
1333
|
+
# setup authorization
|
|
1334
|
+
Spatio.configure do |config|
|
|
1335
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1336
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1337
|
+
end
|
|
1338
|
+
|
|
1339
|
+
api_instance = Spatio::SlidesApi.new
|
|
1340
|
+
id = 'id_example' # String | Presentation id.
|
|
1341
|
+
opts = {
|
|
1342
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1343
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
begin
|
|
1347
|
+
# List slides in a presentation.
|
|
1348
|
+
result = api_instance.list_slides_in_presentation(id, opts)
|
|
1349
|
+
p result
|
|
1350
|
+
rescue Spatio::ApiError => e
|
|
1351
|
+
puts "Error when calling SlidesApi->list_slides_in_presentation: #{e}"
|
|
1352
|
+
end
|
|
1353
|
+
```
|
|
1354
|
+
|
|
1355
|
+
#### Using the list_slides_in_presentation_with_http_info variant
|
|
1356
|
+
|
|
1357
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1358
|
+
|
|
1359
|
+
> <Array(<SlideList>, Integer, Hash)> list_slides_in_presentation_with_http_info(id, opts)
|
|
1360
|
+
|
|
1361
|
+
```ruby
|
|
1362
|
+
begin
|
|
1363
|
+
# List slides in a presentation.
|
|
1364
|
+
data, status_code, headers = api_instance.list_slides_in_presentation_with_http_info(id, opts)
|
|
1365
|
+
p status_code # => 2xx
|
|
1366
|
+
p headers # => { ... }
|
|
1367
|
+
p data # => <SlideList>
|
|
1368
|
+
rescue Spatio::ApiError => e
|
|
1369
|
+
puts "Error when calling SlidesApi->list_slides_in_presentation_with_http_info: #{e}"
|
|
1370
|
+
end
|
|
1371
|
+
```
|
|
1372
|
+
|
|
1373
|
+
### Parameters
|
|
1374
|
+
|
|
1375
|
+
| Name | Type | Description | Notes |
|
|
1376
|
+
| ---- | ---- | ----------- | ----- |
|
|
1377
|
+
| **id** | **String** | Presentation id. | |
|
|
1378
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1379
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1380
|
+
|
|
1381
|
+
### Return type
|
|
1382
|
+
|
|
1383
|
+
[**SlideList**](SlideList.md)
|
|
1384
|
+
|
|
1385
|
+
### Authorization
|
|
1386
|
+
|
|
1387
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1388
|
+
|
|
1389
|
+
### HTTP request headers
|
|
1390
|
+
|
|
1391
|
+
- **Content-Type**: Not defined
|
|
1392
|
+
- **Accept**: application/json
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
## rotate_presentation_share_token
|
|
1396
|
+
|
|
1397
|
+
> <ShareSettings> rotate_presentation_share_token(id, opts)
|
|
1398
|
+
|
|
1399
|
+
Rotate the share token, invalidating outstanding URLs.
|
|
1400
|
+
|
|
1401
|
+
### Examples
|
|
1402
|
+
|
|
1403
|
+
```ruby
|
|
1404
|
+
require 'time'
|
|
1405
|
+
require 'spatio-sdk'
|
|
1406
|
+
# setup authorization
|
|
1407
|
+
Spatio.configure do |config|
|
|
1408
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1409
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1410
|
+
end
|
|
1411
|
+
|
|
1412
|
+
api_instance = Spatio::SlidesApi.new
|
|
1413
|
+
id = 'id_example' # String | Presentation id.
|
|
1414
|
+
opts = {
|
|
1415
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1416
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
begin
|
|
1420
|
+
# Rotate the share token, invalidating outstanding URLs.
|
|
1421
|
+
result = api_instance.rotate_presentation_share_token(id, opts)
|
|
1422
|
+
p result
|
|
1423
|
+
rescue Spatio::ApiError => e
|
|
1424
|
+
puts "Error when calling SlidesApi->rotate_presentation_share_token: #{e}"
|
|
1425
|
+
end
|
|
1426
|
+
```
|
|
1427
|
+
|
|
1428
|
+
#### Using the rotate_presentation_share_token_with_http_info variant
|
|
1429
|
+
|
|
1430
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1431
|
+
|
|
1432
|
+
> <Array(<ShareSettings>, Integer, Hash)> rotate_presentation_share_token_with_http_info(id, opts)
|
|
1433
|
+
|
|
1434
|
+
```ruby
|
|
1435
|
+
begin
|
|
1436
|
+
# Rotate the share token, invalidating outstanding URLs.
|
|
1437
|
+
data, status_code, headers = api_instance.rotate_presentation_share_token_with_http_info(id, opts)
|
|
1438
|
+
p status_code # => 2xx
|
|
1439
|
+
p headers # => { ... }
|
|
1440
|
+
p data # => <ShareSettings>
|
|
1441
|
+
rescue Spatio::ApiError => e
|
|
1442
|
+
puts "Error when calling SlidesApi->rotate_presentation_share_token_with_http_info: #{e}"
|
|
1443
|
+
end
|
|
1444
|
+
```
|
|
1445
|
+
|
|
1446
|
+
### Parameters
|
|
1447
|
+
|
|
1448
|
+
| Name | Type | Description | Notes |
|
|
1449
|
+
| ---- | ---- | ----------- | ----- |
|
|
1450
|
+
| **id** | **String** | Presentation id. | |
|
|
1451
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1452
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1453
|
+
|
|
1454
|
+
### Return type
|
|
1455
|
+
|
|
1456
|
+
[**ShareSettings**](ShareSettings.md)
|
|
1457
|
+
|
|
1458
|
+
### Authorization
|
|
1459
|
+
|
|
1460
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1461
|
+
|
|
1462
|
+
### HTTP request headers
|
|
1463
|
+
|
|
1464
|
+
- **Content-Type**: Not defined
|
|
1465
|
+
- **Accept**: application/json
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
## update_presentation
|
|
1469
|
+
|
|
1470
|
+
> <Presentation> update_presentation(id, update_presentation_request, opts)
|
|
1471
|
+
|
|
1472
|
+
Update presentation metadata (partial).
|
|
1473
|
+
|
|
1474
|
+
### Examples
|
|
1475
|
+
|
|
1476
|
+
```ruby
|
|
1477
|
+
require 'time'
|
|
1478
|
+
require 'spatio-sdk'
|
|
1479
|
+
# setup authorization
|
|
1480
|
+
Spatio.configure do |config|
|
|
1481
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1482
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1483
|
+
end
|
|
1484
|
+
|
|
1485
|
+
api_instance = Spatio::SlidesApi.new
|
|
1486
|
+
id = 'id_example' # String | Presentation id.
|
|
1487
|
+
update_presentation_request = Spatio::UpdatePresentationRequest.new # UpdatePresentationRequest |
|
|
1488
|
+
opts = {
|
|
1489
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1490
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
begin
|
|
1494
|
+
# Update presentation metadata (partial).
|
|
1495
|
+
result = api_instance.update_presentation(id, update_presentation_request, opts)
|
|
1496
|
+
p result
|
|
1497
|
+
rescue Spatio::ApiError => e
|
|
1498
|
+
puts "Error when calling SlidesApi->update_presentation: #{e}"
|
|
1499
|
+
end
|
|
1500
|
+
```
|
|
1501
|
+
|
|
1502
|
+
#### Using the update_presentation_with_http_info variant
|
|
1503
|
+
|
|
1504
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1505
|
+
|
|
1506
|
+
> <Array(<Presentation>, Integer, Hash)> update_presentation_with_http_info(id, update_presentation_request, opts)
|
|
1507
|
+
|
|
1508
|
+
```ruby
|
|
1509
|
+
begin
|
|
1510
|
+
# Update presentation metadata (partial).
|
|
1511
|
+
data, status_code, headers = api_instance.update_presentation_with_http_info(id, update_presentation_request, opts)
|
|
1512
|
+
p status_code # => 2xx
|
|
1513
|
+
p headers # => { ... }
|
|
1514
|
+
p data # => <Presentation>
|
|
1515
|
+
rescue Spatio::ApiError => e
|
|
1516
|
+
puts "Error when calling SlidesApi->update_presentation_with_http_info: #{e}"
|
|
1517
|
+
end
|
|
1518
|
+
```
|
|
1519
|
+
|
|
1520
|
+
### Parameters
|
|
1521
|
+
|
|
1522
|
+
| Name | Type | Description | Notes |
|
|
1523
|
+
| ---- | ---- | ----------- | ----- |
|
|
1524
|
+
| **id** | **String** | Presentation id. | |
|
|
1525
|
+
| **update_presentation_request** | [**UpdatePresentationRequest**](UpdatePresentationRequest.md) | | |
|
|
1526
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1527
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1528
|
+
|
|
1529
|
+
### Return type
|
|
1530
|
+
|
|
1531
|
+
[**Presentation**](Presentation.md)
|
|
1532
|
+
|
|
1533
|
+
### Authorization
|
|
1534
|
+
|
|
1535
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1536
|
+
|
|
1537
|
+
### HTTP request headers
|
|
1538
|
+
|
|
1539
|
+
- **Content-Type**: application/json
|
|
1540
|
+
- **Accept**: application/json
|
|
1541
|
+
|
|
1542
|
+
|
|
1543
|
+
## update_slide
|
|
1544
|
+
|
|
1545
|
+
> <Slide> update_slide(id, slide_id, update_slide_request, opts)
|
|
1546
|
+
|
|
1547
|
+
Update a slide (partial).
|
|
1548
|
+
|
|
1549
|
+
### Examples
|
|
1550
|
+
|
|
1551
|
+
```ruby
|
|
1552
|
+
require 'time'
|
|
1553
|
+
require 'spatio-sdk'
|
|
1554
|
+
# setup authorization
|
|
1555
|
+
Spatio.configure do |config|
|
|
1556
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1557
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1558
|
+
end
|
|
1559
|
+
|
|
1560
|
+
api_instance = Spatio::SlidesApi.new
|
|
1561
|
+
id = 'id_example' # String | Presentation id.
|
|
1562
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
1563
|
+
update_slide_request = Spatio::UpdateSlideRequest.new # UpdateSlideRequest |
|
|
1564
|
+
opts = {
|
|
1565
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1566
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
begin
|
|
1570
|
+
# Update a slide (partial).
|
|
1571
|
+
result = api_instance.update_slide(id, slide_id, update_slide_request, opts)
|
|
1572
|
+
p result
|
|
1573
|
+
rescue Spatio::ApiError => e
|
|
1574
|
+
puts "Error when calling SlidesApi->update_slide: #{e}"
|
|
1575
|
+
end
|
|
1576
|
+
```
|
|
1577
|
+
|
|
1578
|
+
#### Using the update_slide_with_http_info variant
|
|
1579
|
+
|
|
1580
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1581
|
+
|
|
1582
|
+
> <Array(<Slide>, Integer, Hash)> update_slide_with_http_info(id, slide_id, update_slide_request, opts)
|
|
1583
|
+
|
|
1584
|
+
```ruby
|
|
1585
|
+
begin
|
|
1586
|
+
# Update a slide (partial).
|
|
1587
|
+
data, status_code, headers = api_instance.update_slide_with_http_info(id, slide_id, update_slide_request, opts)
|
|
1588
|
+
p status_code # => 2xx
|
|
1589
|
+
p headers # => { ... }
|
|
1590
|
+
p data # => <Slide>
|
|
1591
|
+
rescue Spatio::ApiError => e
|
|
1592
|
+
puts "Error when calling SlidesApi->update_slide_with_http_info: #{e}"
|
|
1593
|
+
end
|
|
1594
|
+
```
|
|
1595
|
+
|
|
1596
|
+
### Parameters
|
|
1597
|
+
|
|
1598
|
+
| Name | Type | Description | Notes |
|
|
1599
|
+
| ---- | ---- | ----------- | ----- |
|
|
1600
|
+
| **id** | **String** | Presentation id. | |
|
|
1601
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
1602
|
+
| **update_slide_request** | [**UpdateSlideRequest**](UpdateSlideRequest.md) | | |
|
|
1603
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1604
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1605
|
+
|
|
1606
|
+
### Return type
|
|
1607
|
+
|
|
1608
|
+
[**Slide**](Slide.md)
|
|
1609
|
+
|
|
1610
|
+
### Authorization
|
|
1611
|
+
|
|
1612
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1613
|
+
|
|
1614
|
+
### HTTP request headers
|
|
1615
|
+
|
|
1616
|
+
- **Content-Type**: application/json
|
|
1617
|
+
- **Accept**: application/json
|
|
1618
|
+
|
|
1619
|
+
|
|
1620
|
+
## update_slide_element
|
|
1621
|
+
|
|
1622
|
+
> <SlideElement> update_slide_element(id, slide_id, element_id, update_slide_element_request, opts)
|
|
1623
|
+
|
|
1624
|
+
Update a slide element (partial).
|
|
1625
|
+
|
|
1626
|
+
### Examples
|
|
1627
|
+
|
|
1628
|
+
```ruby
|
|
1629
|
+
require 'time'
|
|
1630
|
+
require 'spatio-sdk'
|
|
1631
|
+
# setup authorization
|
|
1632
|
+
Spatio.configure do |config|
|
|
1633
|
+
# Configure Bearer authorization (Personal Access Token (pat_...)): bearerAuth
|
|
1634
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
1635
|
+
end
|
|
1636
|
+
|
|
1637
|
+
api_instance = Spatio::SlidesApi.new
|
|
1638
|
+
id = 'id_example' # String | Presentation id.
|
|
1639
|
+
slide_id = 'slide_id_example' # String | Slide id within the presentation.
|
|
1640
|
+
element_id = 'element_id_example' # String | Slide-element id.
|
|
1641
|
+
update_slide_element_request = Spatio::UpdateSlideElementRequest.new # UpdateSlideElementRequest |
|
|
1642
|
+
opts = {
|
|
1643
|
+
account_id: 'account_id_example', # String | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account.
|
|
1644
|
+
x_workspace_id: 'x_workspace_id_example' # String | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly.
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
begin
|
|
1648
|
+
# Update a slide element (partial).
|
|
1649
|
+
result = api_instance.update_slide_element(id, slide_id, element_id, update_slide_element_request, opts)
|
|
1650
|
+
p result
|
|
1651
|
+
rescue Spatio::ApiError => e
|
|
1652
|
+
puts "Error when calling SlidesApi->update_slide_element: #{e}"
|
|
1653
|
+
end
|
|
1654
|
+
```
|
|
1655
|
+
|
|
1656
|
+
#### Using the update_slide_element_with_http_info variant
|
|
1657
|
+
|
|
1658
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1659
|
+
|
|
1660
|
+
> <Array(<SlideElement>, Integer, Hash)> update_slide_element_with_http_info(id, slide_id, element_id, update_slide_element_request, opts)
|
|
1661
|
+
|
|
1662
|
+
```ruby
|
|
1663
|
+
begin
|
|
1664
|
+
# Update a slide element (partial).
|
|
1665
|
+
data, status_code, headers = api_instance.update_slide_element_with_http_info(id, slide_id, element_id, update_slide_element_request, opts)
|
|
1666
|
+
p status_code # => 2xx
|
|
1667
|
+
p headers # => { ... }
|
|
1668
|
+
p data # => <SlideElement>
|
|
1669
|
+
rescue Spatio::ApiError => e
|
|
1670
|
+
puts "Error when calling SlidesApi->update_slide_element_with_http_info: #{e}"
|
|
1671
|
+
end
|
|
1672
|
+
```
|
|
1673
|
+
|
|
1674
|
+
### Parameters
|
|
1675
|
+
|
|
1676
|
+
| Name | Type | Description | Notes |
|
|
1677
|
+
| ---- | ---- | ----------- | ----- |
|
|
1678
|
+
| **id** | **String** | Presentation id. | |
|
|
1679
|
+
| **slide_id** | **String** | Slide id within the presentation. | |
|
|
1680
|
+
| **element_id** | **String** | Slide-element id. | |
|
|
1681
|
+
| **update_slide_element_request** | [**UpdateSlideElementRequest**](UpdateSlideElementRequest.md) | | |
|
|
1682
|
+
| **account_id** | **String** | Connected-account row id. Selects which provider account this request targets when more than one is connected. Mutually exclusive with `provider`. If omitted on a list endpoint the call fans out across every connected account. | [optional] |
|
|
1683
|
+
| **x_workspace_id** | **String** | Workspace scope for unscoped tokens. Workspace-scoped PATs and OAuth tokens carry this implicitly; for session/JWT auth without a scoped PAT, pass it explicitly. | [optional] |
|
|
1684
|
+
|
|
1685
|
+
### Return type
|
|
1686
|
+
|
|
1687
|
+
[**SlideElement**](SlideElement.md)
|
|
1688
|
+
|
|
1689
|
+
### Authorization
|
|
1690
|
+
|
|
1691
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1692
|
+
|
|
1693
|
+
### HTTP request headers
|
|
1694
|
+
|
|
1695
|
+
- **Content-Type**: application/json
|
|
1696
|
+
- **Accept**: application/json
|
|
1697
|
+
|