forgejo 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE +9 -0
- data/LICENSE~ +9 -0
- data/Makefile +23 -0
- data/Makefile~ +2 -0
- data/README.md +717 -0
- data/Rakefile +10 -0
- data/docs/APIError.md +20 -0
- data/docs/AccessToken.md +26 -0
- data/docs/ActionTask.md +42 -0
- data/docs/ActionTaskResponse.md +20 -0
- data/docs/ActionVariable.md +24 -0
- data/docs/Activity.md +42 -0
- data/docs/ActivityPub.md +18 -0
- data/docs/ActivitypubApi.md +289 -0
- data/docs/AddCollaboratorOption.md +18 -0
- data/docs/AddTimeOption.md +22 -0
- data/docs/AdminApi.md +1672 -0
- data/docs/AnnotatedTag.md +32 -0
- data/docs/AnnotatedTagObject.md +22 -0
- data/docs/Attachment.md +30 -0
- data/docs/BlockedUser.md +20 -0
- data/docs/Branch.md +34 -0
- data/docs/BranchProtection.md +70 -0
- data/docs/ChangeFileOperation.md +26 -0
- data/docs/ChangeFilesOptions.md +32 -0
- data/docs/ChangedFile.md +34 -0
- data/docs/CombinedStatus.md +30 -0
- data/docs/Comment.md +38 -0
- data/docs/Commit.md +36 -0
- data/docs/CommitAffectedFiles.md +20 -0
- data/docs/CommitDateOptions.md +20 -0
- data/docs/CommitMeta.md +22 -0
- data/docs/CommitStats.md +22 -0
- data/docs/CommitStatus.md +34 -0
- data/docs/CommitUser.md +22 -0
- data/docs/Compare.md +20 -0
- data/docs/ContentsResponse.md +46 -0
- data/docs/CreateAccessTokenOption.md +20 -0
- data/docs/CreateBranchProtectionOption.md +66 -0
- data/docs/CreateBranchRepoOption.md +22 -0
- data/docs/CreateEmailOption.md +18 -0
- data/docs/CreateFileOptions.md +32 -0
- data/docs/CreateForkOption.md +20 -0
- data/docs/CreateGPGKeyOption.md +20 -0
- data/docs/CreateHookOption.md +28 -0
- data/docs/CreateIssueCommentOption.md +20 -0
- data/docs/CreateIssueOption.md +34 -0
- data/docs/CreateKeyOption.md +22 -0
- data/docs/CreateLabelOption.md +26 -0
- data/docs/CreateMilestoneOption.md +24 -0
- data/docs/CreateOAuth2ApplicationOptions.md +22 -0
- data/docs/CreateOrUpdateSecretOption.md +18 -0
- data/docs/CreateOrgOption.md +32 -0
- data/docs/CreatePullRequestOption.md +34 -0
- data/docs/CreatePullReviewComment.md +24 -0
- data/docs/CreatePullReviewOptions.md +24 -0
- data/docs/CreatePushMirrorOption.md +26 -0
- data/docs/CreateReleaseOption.md +30 -0
- data/docs/CreateRepoOption.md +40 -0
- data/docs/CreateStatusOption.md +24 -0
- data/docs/CreateTagOption.md +22 -0
- data/docs/CreateTagProtectionOption.md +22 -0
- data/docs/CreateTeamOption.md +30 -0
- data/docs/CreateUserOption.md +38 -0
- data/docs/CreateVariableOption.md +18 -0
- data/docs/CreateWikiPageOptions.md +22 -0
- data/docs/Cron.md +26 -0
- data/docs/DeleteEmailOption.md +18 -0
- data/docs/DeleteFileOptions.md +32 -0
- data/docs/DeleteLabelsOption.md +18 -0
- data/docs/DeployKey.md +34 -0
- data/docs/DismissPullReviewOptions.md +20 -0
- data/docs/DispatchWorkflowOption.md +20 -0
- data/docs/EditAttachmentOptions.md +18 -0
- data/docs/EditBranchProtectionOption.md +62 -0
- data/docs/EditDeadlineOption.md +18 -0
- data/docs/EditGitHookOption.md +18 -0
- data/docs/EditHookOption.md +26 -0
- data/docs/EditIssueCommentOption.md +20 -0
- data/docs/EditIssueOption.md +36 -0
- data/docs/EditLabelOption.md +26 -0
- data/docs/EditMilestoneOption.md +24 -0
- data/docs/EditOrgOption.md +30 -0
- data/docs/EditPullRequestOption.md +38 -0
- data/docs/EditReactionOption.md +18 -0
- data/docs/EditReleaseOption.md +30 -0
- data/docs/EditRepoOption.md +82 -0
- data/docs/EditTagProtectionOption.md +22 -0
- data/docs/EditTeamOption.md +30 -0
- data/docs/EditUserOption.md +54 -0
- data/docs/Email.md +26 -0
- data/docs/ExternalTracker.md +24 -0
- data/docs/ExternalWiki.md +18 -0
- data/docs/FileCommitResponse.md +34 -0
- data/docs/FileDeleteResponse.md +22 -0
- data/docs/FileLinksResponse.md +22 -0
- data/docs/FileResponse.md +22 -0
- data/docs/FilesResponse.md +22 -0
- data/docs/GPGKey.md +42 -0
- data/docs/GPGKeyEmail.md +20 -0
- data/docs/GeneralAPISettings.md +24 -0
- data/docs/GeneralAttachmentSettings.md +24 -0
- data/docs/GeneralRepoSettings.md +30 -0
- data/docs/GeneralUISettings.md +22 -0
- data/docs/GenerateRepoOption.md +40 -0
- data/docs/GitBlobResponse.md +26 -0
- data/docs/GitEntry.md +28 -0
- data/docs/GitHook.md +22 -0
- data/docs/GitObject.md +22 -0
- data/docs/GitTreeResponse.md +28 -0
- data/docs/GitignoreTemplateInfo.md +20 -0
- data/docs/Hook.md +40 -0
- data/docs/Identity.md +20 -0
- data/docs/InternalTracker.md +22 -0
- data/docs/Issue.md +66 -0
- data/docs/IssueApi.md +5206 -0
- data/docs/IssueConfig.md +20 -0
- data/docs/IssueConfigContactLink.md +22 -0
- data/docs/IssueConfigValidation.md +20 -0
- data/docs/IssueDeadline.md +18 -0
- data/docs/IssueFormField.md +26 -0
- data/docs/IssueLabelsOption.md +20 -0
- data/docs/IssueMeta.md +22 -0
- data/docs/IssueTemplate.md +32 -0
- data/docs/Label.md +30 -0
- data/docs/LabelTemplate.md +24 -0
- data/docs/LicenseTemplateInfo.md +26 -0
- data/docs/LicensesTemplateListEntry.md +22 -0
- data/docs/MarkdownOption.md +24 -0
- data/docs/MarkupOption.md +26 -0
- data/docs/MergePullRequestOption.md +32 -0
- data/docs/MigrateRepoOptions.md +56 -0
- data/docs/Milestone.md +36 -0
- data/docs/MiscellaneousApi.md +833 -0
- data/docs/NewIssuePinsAllowed.md +20 -0
- data/docs/NodeInfo.md +30 -0
- data/docs/NodeInfoServices.md +20 -0
- data/docs/NodeInfoSoftware.md +24 -0
- data/docs/NodeInfoUsage.md +22 -0
- data/docs/NodeInfoUsageUsers.md +22 -0
- data/docs/Note.md +20 -0
- data/docs/NotificationApi.md +550 -0
- data/docs/NotificationCount.md +18 -0
- data/docs/NotificationSubject.md +30 -0
- data/docs/NotificationThread.md +30 -0
- data/docs/OAuth2Application.md +30 -0
- data/docs/Organization.md +38 -0
- data/docs/OrganizationApi.md +4259 -0
- data/docs/OrganizationPermissions.md +26 -0
- data/docs/PRBranchInfo.md +26 -0
- data/docs/Package.md +34 -0
- data/docs/PackageApi.md +314 -0
- data/docs/PackageFile.md +30 -0
- data/docs/PayloadCommit.md +36 -0
- data/docs/PayloadCommitVerification.md +26 -0
- data/docs/PayloadUser.md +22 -0
- data/docs/Permission.md +22 -0
- data/docs/PublicKey.md +34 -0
- data/docs/PullRequest.md +88 -0
- data/docs/PullRequestMeta.md +24 -0
- data/docs/PullReview.md +44 -0
- data/docs/PullReviewComment.md +46 -0
- data/docs/PullReviewRequestOptions.md +20 -0
- data/docs/PushMirror.md +32 -0
- data/docs/Reaction.md +22 -0
- data/docs/Reference.md +22 -0
- data/docs/Release.md +52 -0
- data/docs/RenameUserOption.md +18 -0
- data/docs/ReplaceFlagsOption.md +18 -0
- data/docs/RepoCollaboratorPermission.md +22 -0
- data/docs/RepoCommit.md +28 -0
- data/docs/RepoCreateReleaseAttachmentRequest.md +18 -0
- data/docs/RepoTopicOptions.md +18 -0
- data/docs/RepoTransfer.md +22 -0
- data/docs/Repository.md +140 -0
- data/docs/RepositoryApi.md +13022 -0
- data/docs/RepositoryMeta.md +24 -0
- data/docs/SearchResults.md +20 -0
- data/docs/Secret.md +20 -0
- data/docs/ServerVersion.md +18 -0
- data/docs/SettingsApi.md +275 -0
- data/docs/StopWatch.md +30 -0
- data/docs/SubmitPullReviewOptions.md +20 -0
- data/docs/Tag.md +30 -0
- data/docs/TagArchiveDownloadCount.md +20 -0
- data/docs/TagProtection.md +28 -0
- data/docs/Team.md +34 -0
- data/docs/TeamSearch200Response.md +20 -0
- data/docs/TimelineComment.md +74 -0
- data/docs/TopicName.md +18 -0
- data/docs/TopicResponse.md +26 -0
- data/docs/TrackedTime.md +30 -0
- data/docs/TransferRepoOption.md +20 -0
- data/docs/UpdateFileOptions.md +36 -0
- data/docs/UpdateRepoAvatarOption.md +18 -0
- data/docs/UpdateUserAvatarOption.md +18 -0
- data/docs/UpdateVariableOption.md +20 -0
- data/docs/User.md +62 -0
- data/docs/UserApi.md +4969 -0
- data/docs/UserHeatmapData.md +20 -0
- data/docs/UserSearch200Response.md +20 -0
- data/docs/UserSettings.md +38 -0
- data/docs/UserSettingsOptions.md +38 -0
- data/docs/WatchInfo.md +28 -0
- data/docs/WikiCommit.md +24 -0
- data/docs/WikiCommitList.md +20 -0
- data/docs/WikiPage.md +32 -0
- data/docs/WikiPageMetaData.md +24 -0
- data/forgejo.gemspec +49 -0
- data/git_push.sh +57 -0
- data/lib/forgejo/api/activitypub_api.rb +269 -0
- data/lib/forgejo/api/admin_api.rb +1496 -0
- data/lib/forgejo/api/issue_api.rb +5282 -0
- data/lib/forgejo/api/miscellaneous_api.rb +725 -0
- data/lib/forgejo/api/notification_api.rb +520 -0
- data/lib/forgejo/api/organization_api.rb +3898 -0
- data/lib/forgejo/api/package_api.rb +334 -0
- data/lib/forgejo/api/repository_api.rb +12849 -0
- data/lib/forgejo/api/settings_api.rb +242 -0
- data/lib/forgejo/api/user_api.rb +4314 -0
- data/lib/forgejo/api_client.rb +437 -0
- data/lib/forgejo/api_error.rb +58 -0
- data/lib/forgejo/configuration.rb +392 -0
- data/lib/forgejo/models/access_token.rb +252 -0
- data/lib/forgejo/models/action_task.rb +323 -0
- data/lib/forgejo/models/action_task_response.rb +226 -0
- data/lib/forgejo/models/action_variable.rb +246 -0
- data/lib/forgejo/models/activity.rb +357 -0
- data/lib/forgejo/models/activity_pub.rb +215 -0
- data/lib/forgejo/models/add_collaborator_option.rb +215 -0
- data/lib/forgejo/models/add_time_option.rb +242 -0
- data/lib/forgejo/models/annotated_tag.rb +278 -0
- data/lib/forgejo/models/annotated_tag_object.rb +233 -0
- data/lib/forgejo/models/api_error.rb +224 -0
- data/lib/forgejo/models/attachment.rb +269 -0
- data/lib/forgejo/models/blocked_user.rb +223 -0
- data/lib/forgejo/models/branch.rb +289 -0
- data/lib/forgejo/models/branch_protection.rb +464 -0
- data/lib/forgejo/models/change_file_operation.rb +304 -0
- data/lib/forgejo/models/change_files_options.rb +292 -0
- data/lib/forgejo/models/changed_file.rb +287 -0
- data/lib/forgejo/models/combined_status.rb +272 -0
- data/lib/forgejo/models/comment.rb +307 -0
- data/lib/forgejo/models/commit.rb +299 -0
- data/lib/forgejo/models/commit_affected_files.rb +224 -0
- data/lib/forgejo/models/commit_date_options.rb +224 -0
- data/lib/forgejo/models/commit_meta.rb +232 -0
- data/lib/forgejo/models/commit_stats.rb +233 -0
- data/lib/forgejo/models/commit_status.rb +288 -0
- data/lib/forgejo/models/commit_user.rb +232 -0
- data/lib/forgejo/models/compare.rb +225 -0
- data/lib/forgejo/models/contents_response.rb +346 -0
- data/lib/forgejo/models/create_access_token_option.rb +233 -0
- data/lib/forgejo/models/create_branch_protection_option.rb +446 -0
- data/lib/forgejo/models/create_branch_repo_option.rb +243 -0
- data/lib/forgejo/models/create_email_option.rb +218 -0
- data/lib/forgejo/models/create_file_options.rb +290 -0
- data/lib/forgejo/models/create_fork_option.rb +226 -0
- data/lib/forgejo/models/create_gpg_key_option.rb +232 -0
- data/lib/forgejo/models/create_hook_option.rb +315 -0
- data/lib/forgejo/models/create_issue_comment_option.rb +231 -0
- data/lib/forgejo/models/create_issue_option.rb +301 -0
- data/lib/forgejo/models/create_key_option.rb +250 -0
- data/lib/forgejo/models/create_label_option.rb +265 -0
- data/lib/forgejo/models/create_milestone_option.rb +276 -0
- data/lib/forgejo/models/create_o_auth2_application_options.rb +235 -0
- data/lib/forgejo/models/create_or_update_secret_option.rb +223 -0
- data/lib/forgejo/models/create_org_option.rb +320 -0
- data/lib/forgejo/models/create_pull_request_option.rb +291 -0
- data/lib/forgejo/models/create_pull_review_comment.rb +245 -0
- data/lib/forgejo/models/create_pull_review_options.rb +245 -0
- data/lib/forgejo/models/create_push_mirror_option.rb +250 -0
- data/lib/forgejo/models/create_release_option.rb +276 -0
- data/lib/forgejo/models/create_repo_option.rb +379 -0
- data/lib/forgejo/models/create_status_option.rb +243 -0
- data/lib/forgejo/models/create_tag_option.rb +240 -0
- data/lib/forgejo/models/create_tag_protection_option.rb +237 -0
- data/lib/forgejo/models/create_team_option.rb +314 -0
- data/lib/forgejo/models/create_user_option.rb +320 -0
- data/lib/forgejo/models/create_variable_option.rb +223 -0
- data/lib/forgejo/models/create_wiki_page_options.rb +236 -0
- data/lib/forgejo/models/cron.rb +251 -0
- data/lib/forgejo/models/delete_email_option.rb +218 -0
- data/lib/forgejo/models/delete_file_options.rb +290 -0
- data/lib/forgejo/models/delete_labels_option.rb +215 -0
- data/lib/forgejo/models/deploy_key.rb +287 -0
- data/lib/forgejo/models/dismiss_pull_review_options.rb +224 -0
- data/lib/forgejo/models/dispatch_workflow_option.rb +235 -0
- data/lib/forgejo/models/edit_attachment_options.rb +215 -0
- data/lib/forgejo/models/edit_branch_protection_option.rb +427 -0
- data/lib/forgejo/models/edit_deadline_option.rb +222 -0
- data/lib/forgejo/models/edit_git_hook_option.rb +215 -0
- data/lib/forgejo/models/edit_hook_option.rb +255 -0
- data/lib/forgejo/models/edit_issue_comment_option.rb +231 -0
- data/lib/forgejo/models/edit_issue_option.rb +299 -0
- data/lib/forgejo/models/edit_label_option.rb +251 -0
- data/lib/forgejo/models/edit_milestone_option.rb +242 -0
- data/lib/forgejo/models/edit_org_option.rb +304 -0
- data/lib/forgejo/models/edit_pull_request_option.rb +309 -0
- data/lib/forgejo/models/edit_reaction_option.rb +215 -0
- data/lib/forgejo/models/edit_release_option.rb +269 -0
- data/lib/forgejo/models/edit_repo_option.rb +533 -0
- data/lib/forgejo/models/edit_tag_protection_option.rb +237 -0
- data/lib/forgejo/models/edit_team_option.rb +314 -0
- data/lib/forgejo/models/edit_user_option.rb +377 -0
- data/lib/forgejo/models/email.rb +251 -0
- data/lib/forgejo/models/external_tracker.rb +246 -0
- data/lib/forgejo/models/external_wiki.rb +216 -0
- data/lib/forgejo/models/file_commit_response.rb +288 -0
- data/lib/forgejo/models/file_delete_response.rb +233 -0
- data/lib/forgejo/models/file_links_response.rb +233 -0
- data/lib/forgejo/models/file_response.rb +233 -0
- data/lib/forgejo/models/files_response.rb +235 -0
- data/lib/forgejo/models/general_api_settings.rb +242 -0
- data/lib/forgejo/models/general_attachment_settings.rb +242 -0
- data/lib/forgejo/models/general_repo_settings.rb +269 -0
- data/lib/forgejo/models/general_ui_settings.rb +237 -0
- data/lib/forgejo/models/generate_repo_option.rb +340 -0
- data/lib/forgejo/models/git_blob_response.rb +251 -0
- data/lib/forgejo/models/git_entry.rb +260 -0
- data/lib/forgejo/models/git_hook.rb +233 -0
- data/lib/forgejo/models/git_object.rb +232 -0
- data/lib/forgejo/models/git_tree_response.rb +262 -0
- data/lib/forgejo/models/gitignore_template_info.rb +224 -0
- data/lib/forgejo/models/gpg_key.rb +327 -0
- data/lib/forgejo/models/gpg_key_email.rb +224 -0
- data/lib/forgejo/models/hook.rb +319 -0
- data/lib/forgejo/models/identity.rb +224 -0
- data/lib/forgejo/models/internal_tracker.rb +236 -0
- data/lib/forgejo/models/issue.rb +438 -0
- data/lib/forgejo/models/issue_config.rb +225 -0
- data/lib/forgejo/models/issue_config_contact_link.rb +232 -0
- data/lib/forgejo/models/issue_config_validation.rb +223 -0
- data/lib/forgejo/models/issue_deadline.rb +215 -0
- data/lib/forgejo/models/issue_form_field.rb +257 -0
- data/lib/forgejo/models/issue_labels_option.rb +227 -0
- data/lib/forgejo/models/issue_meta.rb +233 -0
- data/lib/forgejo/models/issue_template.rb +282 -0
- data/lib/forgejo/models/label.rb +269 -0
- data/lib/forgejo/models/label_template.rb +242 -0
- data/lib/forgejo/models/license_template_info.rb +251 -0
- data/lib/forgejo/models/licenses_template_list_entry.rb +233 -0
- data/lib/forgejo/models/markdown_option.rb +246 -0
- data/lib/forgejo/models/markup_option.rb +256 -0
- data/lib/forgejo/models/merge_pull_request_option.rb +319 -0
- data/lib/forgejo/models/migrate_repo_options.rb +436 -0
- data/lib/forgejo/models/milestone.rb +297 -0
- data/lib/forgejo/models/new_issue_pins_allowed.rb +224 -0
- data/lib/forgejo/models/node_info.rb +271 -0
- data/lib/forgejo/models/node_info_services.rb +228 -0
- data/lib/forgejo/models/node_info_software.rb +242 -0
- data/lib/forgejo/models/node_info_usage.rb +233 -0
- data/lib/forgejo/models/node_info_usage_users.rb +233 -0
- data/lib/forgejo/models/note.rb +224 -0
- data/lib/forgejo/models/notification_count.rb +215 -0
- data/lib/forgejo/models/notification_subject.rb +271 -0
- data/lib/forgejo/models/notification_thread.rb +269 -0
- data/lib/forgejo/models/o_auth2_application.rb +270 -0
- data/lib/forgejo/models/organization.rb +306 -0
- data/lib/forgejo/models/organization_permissions.rb +251 -0
- data/lib/forgejo/models/package.rb +287 -0
- data/lib/forgejo/models/package_file.rb +269 -0
- data/lib/forgejo/models/payload_commit.rb +303 -0
- data/lib/forgejo/models/payload_commit_verification.rb +251 -0
- data/lib/forgejo/models/payload_user.rb +234 -0
- data/lib/forgejo/models/permission.rb +233 -0
- data/lib/forgejo/models/pr_branch_info.rb +251 -0
- data/lib/forgejo/models/public_key.rb +287 -0
- data/lib/forgejo/models/pull_request.rb +538 -0
- data/lib/forgejo/models/pull_request_meta.rb +242 -0
- data/lib/forgejo/models/pull_review.rb +333 -0
- data/lib/forgejo/models/pull_review_comment.rb +341 -0
- data/lib/forgejo/models/pull_review_request_options.rb +228 -0
- data/lib/forgejo/models/push_mirror.rb +278 -0
- data/lib/forgejo/models/reaction.rb +233 -0
- data/lib/forgejo/models/reference.rb +232 -0
- data/lib/forgejo/models/release.rb +370 -0
- data/lib/forgejo/models/rename_user_option.rb +223 -0
- data/lib/forgejo/models/replace_flags_option.rb +217 -0
- data/lib/forgejo/models/repo_collaborator_permission.rb +233 -0
- data/lib/forgejo/models/repo_commit.rb +259 -0
- data/lib/forgejo/models/repo_create_release_attachment_request.rb +215 -0
- data/lib/forgejo/models/repo_topic_options.rb +218 -0
- data/lib/forgejo/models/repo_transfer.rb +235 -0
- data/lib/forgejo/models/repository.rb +801 -0
- data/lib/forgejo/models/repository_meta.rb +242 -0
- data/lib/forgejo/models/search_results.rb +226 -0
- data/lib/forgejo/models/secret.rb +225 -0
- data/lib/forgejo/models/server_version.rb +215 -0
- data/lib/forgejo/models/stop_watch.rb +269 -0
- data/lib/forgejo/models/submit_pull_review_options.rb +225 -0
- data/lib/forgejo/models/tag.rb +269 -0
- data/lib/forgejo/models/tag_archive_download_count.rb +224 -0
- data/lib/forgejo/models/tag_protection.rb +264 -0
- data/lib/forgejo/models/team.rb +325 -0
- data/lib/forgejo/models/team_search200_response.rb +225 -0
- data/lib/forgejo/models/timeline_comment.rb +469 -0
- data/lib/forgejo/models/topic_name.rb +217 -0
- data/lib/forgejo/models/topic_response.rb +251 -0
- data/lib/forgejo/models/tracked_time.rb +272 -0
- data/lib/forgejo/models/transfer_repo_option.rb +234 -0
- data/lib/forgejo/models/update_file_options.rb +317 -0
- data/lib/forgejo/models/update_repo_avatar_option.rb +216 -0
- data/lib/forgejo/models/update_user_avatar_option.rb +216 -0
- data/lib/forgejo/models/update_variable_option.rb +233 -0
- data/lib/forgejo/models/user.rb +433 -0
- data/lib/forgejo/models/user_heatmap_data.rb +225 -0
- data/lib/forgejo/models/user_search200_response.rb +225 -0
- data/lib/forgejo/models/user_settings.rb +306 -0
- data/lib/forgejo/models/user_settings_options.rb +306 -0
- data/lib/forgejo/models/watch_info.rb +260 -0
- data/lib/forgejo/models/wiki_commit.rb +242 -0
- data/lib/forgejo/models/wiki_commit_list.rb +226 -0
- data/lib/forgejo/models/wiki_page.rb +279 -0
- data/lib/forgejo/models/wiki_page_meta_data.rb +242 -0
- data/lib/forgejo/version.rb +15 -0
- data/lib/forgejo.rb +241 -0
- data/manifest.scm +2 -0
- data/patch +7 -0
- data/patch~ +1 -0
- data/smoke +16 -0
- data/smoke~ +1 -0
- data/spec/api/activitypub_api_spec.rb +80 -0
- data/spec/api/admin_api_spec.rb +308 -0
- data/spec/api/issue_api_spec.rb +998 -0
- data/spec/api/miscellaneous_api_spec.rb +161 -0
- data/spec/api/notification_api_spec.rb +134 -0
- data/spec/api/organization_api_spec.rb +752 -0
- data/spec/api/package_api_spec.rb +92 -0
- data/spec/api/repository_api_spec.rb +2366 -0
- data/spec/api/settings_api_spec.rb +75 -0
- data/spec/api/user_api_spec.rb +839 -0
- data/spec/models/access_token_spec.rb +60 -0
- data/spec/models/action_task_response_spec.rb +42 -0
- data/spec/models/action_task_spec.rb +108 -0
- data/spec/models/action_variable_spec.rb +54 -0
- data/spec/models/activity_pub_spec.rb +36 -0
- data/spec/models/activity_spec.rb +112 -0
- data/spec/models/add_collaborator_option_spec.rb +36 -0
- data/spec/models/add_time_option_spec.rb +48 -0
- data/spec/models/annotated_tag_object_spec.rb +48 -0
- data/spec/models/annotated_tag_spec.rb +78 -0
- data/spec/models/api_error_spec.rb +42 -0
- data/spec/models/attachment_spec.rb +72 -0
- data/spec/models/blocked_user_spec.rb +42 -0
- data/spec/models/branch_protection_spec.rb +192 -0
- data/spec/models/branch_spec.rb +84 -0
- data/spec/models/change_file_operation_spec.rb +64 -0
- data/spec/models/change_files_options_spec.rb +78 -0
- data/spec/models/changed_file_spec.rb +84 -0
- data/spec/models/combined_status_spec.rb +72 -0
- data/spec/models/comment_spec.rb +96 -0
- data/spec/models/commit_affected_files_spec.rb +42 -0
- data/spec/models/commit_date_options_spec.rb +42 -0
- data/spec/models/commit_meta_spec.rb +48 -0
- data/spec/models/commit_spec.rb +90 -0
- data/spec/models/commit_stats_spec.rb +48 -0
- data/spec/models/commit_status_spec.rb +84 -0
- data/spec/models/commit_user_spec.rb +48 -0
- data/spec/models/compare_spec.rb +42 -0
- data/spec/models/contents_response_spec.rb +120 -0
- data/spec/models/create_access_token_option_spec.rb +42 -0
- data/spec/models/create_branch_protection_option_spec.rb +180 -0
- data/spec/models/create_branch_repo_option_spec.rb +48 -0
- data/spec/models/create_email_option_spec.rb +36 -0
- data/spec/models/create_file_options_spec.rb +78 -0
- data/spec/models/create_fork_option_spec.rb +42 -0
- data/spec/models/create_gpg_key_option_spec.rb +42 -0
- data/spec/models/create_hook_option_spec.rb +70 -0
- data/spec/models/create_issue_comment_option_spec.rb +42 -0
- data/spec/models/create_issue_option_spec.rb +84 -0
- data/spec/models/create_key_option_spec.rb +48 -0
- data/spec/models/create_label_option_spec.rb +60 -0
- data/spec/models/create_milestone_option_spec.rb +58 -0
- data/spec/models/create_o_auth2_application_options_spec.rb +48 -0
- data/spec/models/create_or_update_secret_option_spec.rb +36 -0
- data/spec/models/create_org_option_spec.rb +82 -0
- data/spec/models/create_pull_request_option_spec.rb +84 -0
- data/spec/models/create_pull_review_comment_spec.rb +54 -0
- data/spec/models/create_pull_review_options_spec.rb +54 -0
- data/spec/models/create_push_mirror_option_spec.rb +60 -0
- data/spec/models/create_release_option_spec.rb +72 -0
- data/spec/models/create_repo_option_spec.rb +110 -0
- data/spec/models/create_status_option_spec.rb +54 -0
- data/spec/models/create_tag_option_spec.rb +48 -0
- data/spec/models/create_tag_protection_option_spec.rb +48 -0
- data/spec/models/create_team_option_spec.rb +76 -0
- data/spec/models/create_user_option_spec.rb +96 -0
- data/spec/models/create_variable_option_spec.rb +36 -0
- data/spec/models/create_wiki_page_options_spec.rb +48 -0
- data/spec/models/cron_spec.rb +60 -0
- data/spec/models/delete_email_option_spec.rb +36 -0
- data/spec/models/delete_file_options_spec.rb +78 -0
- data/spec/models/delete_labels_option_spec.rb +36 -0
- data/spec/models/deploy_key_spec.rb +84 -0
- data/spec/models/dismiss_pull_review_options_spec.rb +42 -0
- data/spec/models/dispatch_workflow_option_spec.rb +42 -0
- data/spec/models/edit_attachment_options_spec.rb +36 -0
- data/spec/models/edit_branch_protection_option_spec.rb +168 -0
- data/spec/models/edit_deadline_option_spec.rb +36 -0
- data/spec/models/edit_git_hook_option_spec.rb +36 -0
- data/spec/models/edit_hook_option_spec.rb +60 -0
- data/spec/models/edit_issue_comment_option_spec.rb +42 -0
- data/spec/models/edit_issue_option_spec.rb +90 -0
- data/spec/models/edit_label_option_spec.rb +60 -0
- data/spec/models/edit_milestone_option_spec.rb +54 -0
- data/spec/models/edit_org_option_spec.rb +76 -0
- data/spec/models/edit_pull_request_option_spec.rb +96 -0
- data/spec/models/edit_reaction_option_spec.rb +36 -0
- data/spec/models/edit_release_option_spec.rb +72 -0
- data/spec/models/edit_repo_option_spec.rb +228 -0
- data/spec/models/edit_tag_protection_option_spec.rb +48 -0
- data/spec/models/edit_team_option_spec.rb +76 -0
- data/spec/models/edit_user_option_spec.rb +144 -0
- data/spec/models/email_spec.rb +60 -0
- data/spec/models/external_tracker_spec.rb +54 -0
- data/spec/models/external_wiki_spec.rb +36 -0
- data/spec/models/file_commit_response_spec.rb +84 -0
- data/spec/models/file_delete_response_spec.rb +48 -0
- data/spec/models/file_links_response_spec.rb +48 -0
- data/spec/models/file_response_spec.rb +48 -0
- data/spec/models/files_response_spec.rb +48 -0
- data/spec/models/general_api_settings_spec.rb +54 -0
- data/spec/models/general_attachment_settings_spec.rb +54 -0
- data/spec/models/general_repo_settings_spec.rb +72 -0
- data/spec/models/general_ui_settings_spec.rb +48 -0
- data/spec/models/generate_repo_option_spec.rb +102 -0
- data/spec/models/git_blob_response_spec.rb +60 -0
- data/spec/models/git_entry_spec.rb +66 -0
- data/spec/models/git_hook_spec.rb +48 -0
- data/spec/models/git_object_spec.rb +48 -0
- data/spec/models/git_tree_response_spec.rb +66 -0
- data/spec/models/gitignore_template_info_spec.rb +42 -0
- data/spec/models/gpg_key_email_spec.rb +42 -0
- data/spec/models/gpg_key_spec.rb +108 -0
- data/spec/models/hook_spec.rb +102 -0
- data/spec/models/identity_spec.rb +42 -0
- data/spec/models/internal_tracker_spec.rb +48 -0
- data/spec/models/issue_config_contact_link_spec.rb +48 -0
- data/spec/models/issue_config_spec.rb +42 -0
- data/spec/models/issue_config_validation_spec.rb +42 -0
- data/spec/models/issue_deadline_spec.rb +36 -0
- data/spec/models/issue_form_field_spec.rb +60 -0
- data/spec/models/issue_labels_option_spec.rb +42 -0
- data/spec/models/issue_meta_spec.rb +48 -0
- data/spec/models/issue_spec.rb +180 -0
- data/spec/models/issue_template_spec.rb +78 -0
- data/spec/models/label_spec.rb +72 -0
- data/spec/models/label_template_spec.rb +54 -0
- data/spec/models/license_template_info_spec.rb +60 -0
- data/spec/models/licenses_template_list_entry_spec.rb +48 -0
- data/spec/models/markdown_option_spec.rb +54 -0
- data/spec/models/markup_option_spec.rb +60 -0
- data/spec/models/merge_pull_request_option_spec.rb +82 -0
- data/spec/models/migrate_repo_options_spec.rb +154 -0
- data/spec/models/milestone_spec.rb +90 -0
- data/spec/models/new_issue_pins_allowed_spec.rb +42 -0
- data/spec/models/node_info_services_spec.rb +42 -0
- data/spec/models/node_info_software_spec.rb +54 -0
- data/spec/models/node_info_spec.rb +72 -0
- data/spec/models/node_info_usage_spec.rb +48 -0
- data/spec/models/node_info_usage_users_spec.rb +48 -0
- data/spec/models/note_spec.rb +42 -0
- data/spec/models/notification_count_spec.rb +36 -0
- data/spec/models/notification_subject_spec.rb +72 -0
- data/spec/models/notification_thread_spec.rb +72 -0
- data/spec/models/o_auth2_application_spec.rb +72 -0
- data/spec/models/organization_permissions_spec.rb +60 -0
- data/spec/models/organization_spec.rb +96 -0
- data/spec/models/package_file_spec.rb +72 -0
- data/spec/models/package_spec.rb +84 -0
- data/spec/models/payload_commit_spec.rb +90 -0
- data/spec/models/payload_commit_verification_spec.rb +60 -0
- data/spec/models/payload_user_spec.rb +48 -0
- data/spec/models/permission_spec.rb +48 -0
- data/spec/models/pr_branch_info_spec.rb +60 -0
- data/spec/models/public_key_spec.rb +84 -0
- data/spec/models/pull_request_meta_spec.rb +54 -0
- data/spec/models/pull_request_spec.rb +246 -0
- data/spec/models/pull_review_comment_spec.rb +120 -0
- data/spec/models/pull_review_request_options_spec.rb +42 -0
- data/spec/models/pull_review_spec.rb +114 -0
- data/spec/models/push_mirror_spec.rb +78 -0
- data/spec/models/reaction_spec.rb +48 -0
- data/spec/models/reference_spec.rb +48 -0
- data/spec/models/release_spec.rb +138 -0
- data/spec/models/rename_user_option_spec.rb +36 -0
- data/spec/models/replace_flags_option_spec.rb +36 -0
- data/spec/models/repo_collaborator_permission_spec.rb +48 -0
- data/spec/models/repo_commit_spec.rb +66 -0
- data/spec/models/repo_create_release_attachment_request_spec.rb +36 -0
- data/spec/models/repo_topic_options_spec.rb +36 -0
- data/spec/models/repo_transfer_spec.rb +48 -0
- data/spec/models/repository_meta_spec.rb +54 -0
- data/spec/models/repository_spec.rb +406 -0
- data/spec/models/search_results_spec.rb +42 -0
- data/spec/models/secret_spec.rb +42 -0
- data/spec/models/server_version_spec.rb +36 -0
- data/spec/models/stop_watch_spec.rb +72 -0
- data/spec/models/submit_pull_review_options_spec.rb +42 -0
- data/spec/models/tag_archive_download_count_spec.rb +42 -0
- data/spec/models/tag_protection_spec.rb +66 -0
- data/spec/models/tag_spec.rb +72 -0
- data/spec/models/team_search200_response_spec.rb +42 -0
- data/spec/models/team_spec.rb +88 -0
- data/spec/models/timeline_comment_spec.rb +204 -0
- data/spec/models/topic_name_spec.rb +36 -0
- data/spec/models/topic_response_spec.rb +60 -0
- data/spec/models/tracked_time_spec.rb +72 -0
- data/spec/models/transfer_repo_option_spec.rb +42 -0
- data/spec/models/update_file_options_spec.rb +90 -0
- data/spec/models/update_repo_avatar_option_spec.rb +36 -0
- data/spec/models/update_user_avatar_option_spec.rb +36 -0
- data/spec/models/update_variable_option_spec.rb +42 -0
- data/spec/models/user_heatmap_data_spec.rb +42 -0
- data/spec/models/user_search200_response_spec.rb +42 -0
- data/spec/models/user_settings_options_spec.rb +96 -0
- data/spec/models/user_settings_spec.rb +96 -0
- data/spec/models/user_spec.rb +168 -0
- data/spec/models/watch_info_spec.rb +66 -0
- data/spec/models/wiki_commit_list_spec.rb +42 -0
- data/spec/models/wiki_commit_spec.rb +54 -0
- data/spec/models/wiki_page_meta_data_spec.rb +54 -0
- data/spec/models/wiki_page_spec.rb +78 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger.v1.json +26802 -0
- data/swagger.v1.patched.json +1 -0
- metadata +949 -0
@@ -0,0 +1,833 @@
|
|
1
|
+
# Forgejo::MiscellaneousApi
|
2
|
+
|
3
|
+
All URIs are relative to */api/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**get_gitignore_template_info**](MiscellaneousApi.md#get_gitignore_template_info) | **GET** /gitignore/templates/{name} | Returns information about a gitignore template |
|
8
|
+
| [**get_label_template_info**](MiscellaneousApi.md#get_label_template_info) | **GET** /label/templates/{name} | Returns all labels in a template |
|
9
|
+
| [**get_license_template_info**](MiscellaneousApi.md#get_license_template_info) | **GET** /licenses/{name} | Returns information about a license template |
|
10
|
+
| [**get_node_info**](MiscellaneousApi.md#get_node_info) | **GET** /nodeinfo | Returns the nodeinfo of the Gitea application |
|
11
|
+
| [**get_signing_key**](MiscellaneousApi.md#get_signing_key) | **GET** /signing-key.gpg | Get default signing-key.gpg |
|
12
|
+
| [**get_version**](MiscellaneousApi.md#get_version) | **GET** /version | Returns the version of the Gitea application |
|
13
|
+
| [**list_gitignores_templates**](MiscellaneousApi.md#list_gitignores_templates) | **GET** /gitignore/templates | Returns a list of all gitignore templates |
|
14
|
+
| [**list_label_templates**](MiscellaneousApi.md#list_label_templates) | **GET** /label/templates | Returns a list of all label templates |
|
15
|
+
| [**list_license_templates**](MiscellaneousApi.md#list_license_templates) | **GET** /licenses | Returns a list of all license templates |
|
16
|
+
| [**render_markdown**](MiscellaneousApi.md#render_markdown) | **POST** /markdown | Render a markdown document as HTML |
|
17
|
+
| [**render_markdown_raw**](MiscellaneousApi.md#render_markdown_raw) | **POST** /markdown/raw | Render raw markdown as HTML |
|
18
|
+
| [**render_markup**](MiscellaneousApi.md#render_markup) | **POST** /markup | Render a markup document as HTML |
|
19
|
+
|
20
|
+
|
21
|
+
## get_gitignore_template_info
|
22
|
+
|
23
|
+
> <GitignoreTemplateInfo> get_gitignore_template_info(name)
|
24
|
+
|
25
|
+
Returns information about a gitignore template
|
26
|
+
|
27
|
+
### Examples
|
28
|
+
|
29
|
+
```ruby
|
30
|
+
require 'time'
|
31
|
+
require 'forgejo'
|
32
|
+
# setup authorization
|
33
|
+
Forgejo.configure do |config|
|
34
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
35
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
36
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
37
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
41
|
+
name = 'name_example' # String | name of the template
|
42
|
+
|
43
|
+
begin
|
44
|
+
# Returns information about a gitignore template
|
45
|
+
result = api_instance.get_gitignore_template_info(name)
|
46
|
+
p result
|
47
|
+
rescue Forgejo::ApiError => e
|
48
|
+
puts "Error when calling MiscellaneousApi->get_gitignore_template_info: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
#### Using the get_gitignore_template_info_with_http_info variant
|
53
|
+
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
55
|
+
|
56
|
+
> <Array(<GitignoreTemplateInfo>, Integer, Hash)> get_gitignore_template_info_with_http_info(name)
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
begin
|
60
|
+
# Returns information about a gitignore template
|
61
|
+
data, status_code, headers = api_instance.get_gitignore_template_info_with_http_info(name)
|
62
|
+
p status_code # => 2xx
|
63
|
+
p headers # => { ... }
|
64
|
+
p data # => <GitignoreTemplateInfo>
|
65
|
+
rescue Forgejo::ApiError => e
|
66
|
+
puts "Error when calling MiscellaneousApi->get_gitignore_template_info_with_http_info: #{e}"
|
67
|
+
end
|
68
|
+
```
|
69
|
+
|
70
|
+
### Parameters
|
71
|
+
|
72
|
+
| Name | Type | Description | Notes |
|
73
|
+
| ---- | ---- | ----------- | ----- |
|
74
|
+
| **name** | **String** | name of the template | |
|
75
|
+
|
76
|
+
### Return type
|
77
|
+
|
78
|
+
[**GitignoreTemplateInfo**](GitignoreTemplateInfo.md)
|
79
|
+
|
80
|
+
### Authorization
|
81
|
+
|
82
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
83
|
+
|
84
|
+
### HTTP request headers
|
85
|
+
|
86
|
+
- **Content-Type**: Not defined
|
87
|
+
- **Accept**: application/json
|
88
|
+
|
89
|
+
|
90
|
+
## get_label_template_info
|
91
|
+
|
92
|
+
> <Array<LabelTemplate>> get_label_template_info(name)
|
93
|
+
|
94
|
+
Returns all labels in a template
|
95
|
+
|
96
|
+
### Examples
|
97
|
+
|
98
|
+
```ruby
|
99
|
+
require 'time'
|
100
|
+
require 'forgejo'
|
101
|
+
# setup authorization
|
102
|
+
Forgejo.configure do |config|
|
103
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
104
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
105
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
106
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
107
|
+
end
|
108
|
+
|
109
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
110
|
+
name = 'name_example' # String | name of the template
|
111
|
+
|
112
|
+
begin
|
113
|
+
# Returns all labels in a template
|
114
|
+
result = api_instance.get_label_template_info(name)
|
115
|
+
p result
|
116
|
+
rescue Forgejo::ApiError => e
|
117
|
+
puts "Error when calling MiscellaneousApi->get_label_template_info: #{e}"
|
118
|
+
end
|
119
|
+
```
|
120
|
+
|
121
|
+
#### Using the get_label_template_info_with_http_info variant
|
122
|
+
|
123
|
+
This returns an Array which contains the response data, status code and headers.
|
124
|
+
|
125
|
+
> <Array(<Array<LabelTemplate>>, Integer, Hash)> get_label_template_info_with_http_info(name)
|
126
|
+
|
127
|
+
```ruby
|
128
|
+
begin
|
129
|
+
# Returns all labels in a template
|
130
|
+
data, status_code, headers = api_instance.get_label_template_info_with_http_info(name)
|
131
|
+
p status_code # => 2xx
|
132
|
+
p headers # => { ... }
|
133
|
+
p data # => <Array<LabelTemplate>>
|
134
|
+
rescue Forgejo::ApiError => e
|
135
|
+
puts "Error when calling MiscellaneousApi->get_label_template_info_with_http_info: #{e}"
|
136
|
+
end
|
137
|
+
```
|
138
|
+
|
139
|
+
### Parameters
|
140
|
+
|
141
|
+
| Name | Type | Description | Notes |
|
142
|
+
| ---- | ---- | ----------- | ----- |
|
143
|
+
| **name** | **String** | name of the template | |
|
144
|
+
|
145
|
+
### Return type
|
146
|
+
|
147
|
+
[**Array<LabelTemplate>**](LabelTemplate.md)
|
148
|
+
|
149
|
+
### Authorization
|
150
|
+
|
151
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
152
|
+
|
153
|
+
### HTTP request headers
|
154
|
+
|
155
|
+
- **Content-Type**: Not defined
|
156
|
+
- **Accept**: application/json
|
157
|
+
|
158
|
+
|
159
|
+
## get_license_template_info
|
160
|
+
|
161
|
+
> <LicenseTemplateInfo> get_license_template_info(name)
|
162
|
+
|
163
|
+
Returns information about a license template
|
164
|
+
|
165
|
+
### Examples
|
166
|
+
|
167
|
+
```ruby
|
168
|
+
require 'time'
|
169
|
+
require 'forgejo'
|
170
|
+
# setup authorization
|
171
|
+
Forgejo.configure do |config|
|
172
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
173
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
174
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
175
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
176
|
+
end
|
177
|
+
|
178
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
179
|
+
name = 'name_example' # String | name of the license
|
180
|
+
|
181
|
+
begin
|
182
|
+
# Returns information about a license template
|
183
|
+
result = api_instance.get_license_template_info(name)
|
184
|
+
p result
|
185
|
+
rescue Forgejo::ApiError => e
|
186
|
+
puts "Error when calling MiscellaneousApi->get_license_template_info: #{e}"
|
187
|
+
end
|
188
|
+
```
|
189
|
+
|
190
|
+
#### Using the get_license_template_info_with_http_info variant
|
191
|
+
|
192
|
+
This returns an Array which contains the response data, status code and headers.
|
193
|
+
|
194
|
+
> <Array(<LicenseTemplateInfo>, Integer, Hash)> get_license_template_info_with_http_info(name)
|
195
|
+
|
196
|
+
```ruby
|
197
|
+
begin
|
198
|
+
# Returns information about a license template
|
199
|
+
data, status_code, headers = api_instance.get_license_template_info_with_http_info(name)
|
200
|
+
p status_code # => 2xx
|
201
|
+
p headers # => { ... }
|
202
|
+
p data # => <LicenseTemplateInfo>
|
203
|
+
rescue Forgejo::ApiError => e
|
204
|
+
puts "Error when calling MiscellaneousApi->get_license_template_info_with_http_info: #{e}"
|
205
|
+
end
|
206
|
+
```
|
207
|
+
|
208
|
+
### Parameters
|
209
|
+
|
210
|
+
| Name | Type | Description | Notes |
|
211
|
+
| ---- | ---- | ----------- | ----- |
|
212
|
+
| **name** | **String** | name of the license | |
|
213
|
+
|
214
|
+
### Return type
|
215
|
+
|
216
|
+
[**LicenseTemplateInfo**](LicenseTemplateInfo.md)
|
217
|
+
|
218
|
+
### Authorization
|
219
|
+
|
220
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
221
|
+
|
222
|
+
### HTTP request headers
|
223
|
+
|
224
|
+
- **Content-Type**: Not defined
|
225
|
+
- **Accept**: application/json
|
226
|
+
|
227
|
+
|
228
|
+
## get_node_info
|
229
|
+
|
230
|
+
> <NodeInfo> get_node_info
|
231
|
+
|
232
|
+
Returns the nodeinfo of the Gitea application
|
233
|
+
|
234
|
+
### Examples
|
235
|
+
|
236
|
+
```ruby
|
237
|
+
require 'time'
|
238
|
+
require 'forgejo'
|
239
|
+
# setup authorization
|
240
|
+
Forgejo.configure do |config|
|
241
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
242
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
243
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
244
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
245
|
+
end
|
246
|
+
|
247
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
248
|
+
|
249
|
+
begin
|
250
|
+
# Returns the nodeinfo of the Gitea application
|
251
|
+
result = api_instance.get_node_info
|
252
|
+
p result
|
253
|
+
rescue Forgejo::ApiError => e
|
254
|
+
puts "Error when calling MiscellaneousApi->get_node_info: #{e}"
|
255
|
+
end
|
256
|
+
```
|
257
|
+
|
258
|
+
#### Using the get_node_info_with_http_info variant
|
259
|
+
|
260
|
+
This returns an Array which contains the response data, status code and headers.
|
261
|
+
|
262
|
+
> <Array(<NodeInfo>, Integer, Hash)> get_node_info_with_http_info
|
263
|
+
|
264
|
+
```ruby
|
265
|
+
begin
|
266
|
+
# Returns the nodeinfo of the Gitea application
|
267
|
+
data, status_code, headers = api_instance.get_node_info_with_http_info
|
268
|
+
p status_code # => 2xx
|
269
|
+
p headers # => { ... }
|
270
|
+
p data # => <NodeInfo>
|
271
|
+
rescue Forgejo::ApiError => e
|
272
|
+
puts "Error when calling MiscellaneousApi->get_node_info_with_http_info: #{e}"
|
273
|
+
end
|
274
|
+
```
|
275
|
+
|
276
|
+
### Parameters
|
277
|
+
|
278
|
+
This endpoint does not need any parameter.
|
279
|
+
|
280
|
+
### Return type
|
281
|
+
|
282
|
+
[**NodeInfo**](NodeInfo.md)
|
283
|
+
|
284
|
+
### Authorization
|
285
|
+
|
286
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
287
|
+
|
288
|
+
### HTTP request headers
|
289
|
+
|
290
|
+
- **Content-Type**: Not defined
|
291
|
+
- **Accept**: application/json
|
292
|
+
|
293
|
+
|
294
|
+
## get_signing_key
|
295
|
+
|
296
|
+
> String get_signing_key
|
297
|
+
|
298
|
+
Get default signing-key.gpg
|
299
|
+
|
300
|
+
### Examples
|
301
|
+
|
302
|
+
```ruby
|
303
|
+
require 'time'
|
304
|
+
require 'forgejo'
|
305
|
+
# setup authorization
|
306
|
+
Forgejo.configure do |config|
|
307
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
308
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
309
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
310
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
311
|
+
end
|
312
|
+
|
313
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
314
|
+
|
315
|
+
begin
|
316
|
+
# Get default signing-key.gpg
|
317
|
+
result = api_instance.get_signing_key
|
318
|
+
p result
|
319
|
+
rescue Forgejo::ApiError => e
|
320
|
+
puts "Error when calling MiscellaneousApi->get_signing_key: #{e}"
|
321
|
+
end
|
322
|
+
```
|
323
|
+
|
324
|
+
#### Using the get_signing_key_with_http_info variant
|
325
|
+
|
326
|
+
This returns an Array which contains the response data, status code and headers.
|
327
|
+
|
328
|
+
> <Array(String, Integer, Hash)> get_signing_key_with_http_info
|
329
|
+
|
330
|
+
```ruby
|
331
|
+
begin
|
332
|
+
# Get default signing-key.gpg
|
333
|
+
data, status_code, headers = api_instance.get_signing_key_with_http_info
|
334
|
+
p status_code # => 2xx
|
335
|
+
p headers # => { ... }
|
336
|
+
p data # => String
|
337
|
+
rescue Forgejo::ApiError => e
|
338
|
+
puts "Error when calling MiscellaneousApi->get_signing_key_with_http_info: #{e}"
|
339
|
+
end
|
340
|
+
```
|
341
|
+
|
342
|
+
### Parameters
|
343
|
+
|
344
|
+
This endpoint does not need any parameter.
|
345
|
+
|
346
|
+
### Return type
|
347
|
+
|
348
|
+
**String**
|
349
|
+
|
350
|
+
### Authorization
|
351
|
+
|
352
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
353
|
+
|
354
|
+
### HTTP request headers
|
355
|
+
|
356
|
+
- **Content-Type**: Not defined
|
357
|
+
- **Accept**: text/plain
|
358
|
+
|
359
|
+
|
360
|
+
## get_version
|
361
|
+
|
362
|
+
> <ServerVersion> get_version
|
363
|
+
|
364
|
+
Returns the version of the Gitea application
|
365
|
+
|
366
|
+
### Examples
|
367
|
+
|
368
|
+
```ruby
|
369
|
+
require 'time'
|
370
|
+
require 'forgejo'
|
371
|
+
# setup authorization
|
372
|
+
Forgejo.configure do |config|
|
373
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
374
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
375
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
376
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
377
|
+
end
|
378
|
+
|
379
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
380
|
+
|
381
|
+
begin
|
382
|
+
# Returns the version of the Gitea application
|
383
|
+
result = api_instance.get_version
|
384
|
+
p result
|
385
|
+
rescue Forgejo::ApiError => e
|
386
|
+
puts "Error when calling MiscellaneousApi->get_version: #{e}"
|
387
|
+
end
|
388
|
+
```
|
389
|
+
|
390
|
+
#### Using the get_version_with_http_info variant
|
391
|
+
|
392
|
+
This returns an Array which contains the response data, status code and headers.
|
393
|
+
|
394
|
+
> <Array(<ServerVersion>, Integer, Hash)> get_version_with_http_info
|
395
|
+
|
396
|
+
```ruby
|
397
|
+
begin
|
398
|
+
# Returns the version of the Gitea application
|
399
|
+
data, status_code, headers = api_instance.get_version_with_http_info
|
400
|
+
p status_code # => 2xx
|
401
|
+
p headers # => { ... }
|
402
|
+
p data # => <ServerVersion>
|
403
|
+
rescue Forgejo::ApiError => e
|
404
|
+
puts "Error when calling MiscellaneousApi->get_version_with_http_info: #{e}"
|
405
|
+
end
|
406
|
+
```
|
407
|
+
|
408
|
+
### Parameters
|
409
|
+
|
410
|
+
This endpoint does not need any parameter.
|
411
|
+
|
412
|
+
### Return type
|
413
|
+
|
414
|
+
[**ServerVersion**](ServerVersion.md)
|
415
|
+
|
416
|
+
### Authorization
|
417
|
+
|
418
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
419
|
+
|
420
|
+
### HTTP request headers
|
421
|
+
|
422
|
+
- **Content-Type**: Not defined
|
423
|
+
- **Accept**: application/json
|
424
|
+
|
425
|
+
|
426
|
+
## list_gitignores_templates
|
427
|
+
|
428
|
+
> Array<String> list_gitignores_templates
|
429
|
+
|
430
|
+
Returns a list of all gitignore templates
|
431
|
+
|
432
|
+
### Examples
|
433
|
+
|
434
|
+
```ruby
|
435
|
+
require 'time'
|
436
|
+
require 'forgejo'
|
437
|
+
# setup authorization
|
438
|
+
Forgejo.configure do |config|
|
439
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
440
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
441
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
442
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
443
|
+
end
|
444
|
+
|
445
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
446
|
+
|
447
|
+
begin
|
448
|
+
# Returns a list of all gitignore templates
|
449
|
+
result = api_instance.list_gitignores_templates
|
450
|
+
p result
|
451
|
+
rescue Forgejo::ApiError => e
|
452
|
+
puts "Error when calling MiscellaneousApi->list_gitignores_templates: #{e}"
|
453
|
+
end
|
454
|
+
```
|
455
|
+
|
456
|
+
#### Using the list_gitignores_templates_with_http_info variant
|
457
|
+
|
458
|
+
This returns an Array which contains the response data, status code and headers.
|
459
|
+
|
460
|
+
> <Array(Array<String>, Integer, Hash)> list_gitignores_templates_with_http_info
|
461
|
+
|
462
|
+
```ruby
|
463
|
+
begin
|
464
|
+
# Returns a list of all gitignore templates
|
465
|
+
data, status_code, headers = api_instance.list_gitignores_templates_with_http_info
|
466
|
+
p status_code # => 2xx
|
467
|
+
p headers # => { ... }
|
468
|
+
p data # => Array<String>
|
469
|
+
rescue Forgejo::ApiError => e
|
470
|
+
puts "Error when calling MiscellaneousApi->list_gitignores_templates_with_http_info: #{e}"
|
471
|
+
end
|
472
|
+
```
|
473
|
+
|
474
|
+
### Parameters
|
475
|
+
|
476
|
+
This endpoint does not need any parameter.
|
477
|
+
|
478
|
+
### Return type
|
479
|
+
|
480
|
+
**Array<String>**
|
481
|
+
|
482
|
+
### Authorization
|
483
|
+
|
484
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
485
|
+
|
486
|
+
### HTTP request headers
|
487
|
+
|
488
|
+
- **Content-Type**: Not defined
|
489
|
+
- **Accept**: application/json
|
490
|
+
|
491
|
+
|
492
|
+
## list_label_templates
|
493
|
+
|
494
|
+
> Array<String> list_label_templates
|
495
|
+
|
496
|
+
Returns a list of all label templates
|
497
|
+
|
498
|
+
### Examples
|
499
|
+
|
500
|
+
```ruby
|
501
|
+
require 'time'
|
502
|
+
require 'forgejo'
|
503
|
+
# setup authorization
|
504
|
+
Forgejo.configure do |config|
|
505
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
506
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
507
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
508
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
509
|
+
end
|
510
|
+
|
511
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
512
|
+
|
513
|
+
begin
|
514
|
+
# Returns a list of all label templates
|
515
|
+
result = api_instance.list_label_templates
|
516
|
+
p result
|
517
|
+
rescue Forgejo::ApiError => e
|
518
|
+
puts "Error when calling MiscellaneousApi->list_label_templates: #{e}"
|
519
|
+
end
|
520
|
+
```
|
521
|
+
|
522
|
+
#### Using the list_label_templates_with_http_info variant
|
523
|
+
|
524
|
+
This returns an Array which contains the response data, status code and headers.
|
525
|
+
|
526
|
+
> <Array(Array<String>, Integer, Hash)> list_label_templates_with_http_info
|
527
|
+
|
528
|
+
```ruby
|
529
|
+
begin
|
530
|
+
# Returns a list of all label templates
|
531
|
+
data, status_code, headers = api_instance.list_label_templates_with_http_info
|
532
|
+
p status_code # => 2xx
|
533
|
+
p headers # => { ... }
|
534
|
+
p data # => Array<String>
|
535
|
+
rescue Forgejo::ApiError => e
|
536
|
+
puts "Error when calling MiscellaneousApi->list_label_templates_with_http_info: #{e}"
|
537
|
+
end
|
538
|
+
```
|
539
|
+
|
540
|
+
### Parameters
|
541
|
+
|
542
|
+
This endpoint does not need any parameter.
|
543
|
+
|
544
|
+
### Return type
|
545
|
+
|
546
|
+
**Array<String>**
|
547
|
+
|
548
|
+
### Authorization
|
549
|
+
|
550
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
551
|
+
|
552
|
+
### HTTP request headers
|
553
|
+
|
554
|
+
- **Content-Type**: Not defined
|
555
|
+
- **Accept**: application/json
|
556
|
+
|
557
|
+
|
558
|
+
## list_license_templates
|
559
|
+
|
560
|
+
> <Array<LicensesTemplateListEntry>> list_license_templates
|
561
|
+
|
562
|
+
Returns a list of all license templates
|
563
|
+
|
564
|
+
### Examples
|
565
|
+
|
566
|
+
```ruby
|
567
|
+
require 'time'
|
568
|
+
require 'forgejo'
|
569
|
+
# setup authorization
|
570
|
+
Forgejo.configure do |config|
|
571
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
572
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
573
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
574
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
575
|
+
end
|
576
|
+
|
577
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
578
|
+
|
579
|
+
begin
|
580
|
+
# Returns a list of all license templates
|
581
|
+
result = api_instance.list_license_templates
|
582
|
+
p result
|
583
|
+
rescue Forgejo::ApiError => e
|
584
|
+
puts "Error when calling MiscellaneousApi->list_license_templates: #{e}"
|
585
|
+
end
|
586
|
+
```
|
587
|
+
|
588
|
+
#### Using the list_license_templates_with_http_info variant
|
589
|
+
|
590
|
+
This returns an Array which contains the response data, status code and headers.
|
591
|
+
|
592
|
+
> <Array(<Array<LicensesTemplateListEntry>>, Integer, Hash)> list_license_templates_with_http_info
|
593
|
+
|
594
|
+
```ruby
|
595
|
+
begin
|
596
|
+
# Returns a list of all license templates
|
597
|
+
data, status_code, headers = api_instance.list_license_templates_with_http_info
|
598
|
+
p status_code # => 2xx
|
599
|
+
p headers # => { ... }
|
600
|
+
p data # => <Array<LicensesTemplateListEntry>>
|
601
|
+
rescue Forgejo::ApiError => e
|
602
|
+
puts "Error when calling MiscellaneousApi->list_license_templates_with_http_info: #{e}"
|
603
|
+
end
|
604
|
+
```
|
605
|
+
|
606
|
+
### Parameters
|
607
|
+
|
608
|
+
This endpoint does not need any parameter.
|
609
|
+
|
610
|
+
### Return type
|
611
|
+
|
612
|
+
[**Array<LicensesTemplateListEntry>**](LicensesTemplateListEntry.md)
|
613
|
+
|
614
|
+
### Authorization
|
615
|
+
|
616
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
617
|
+
|
618
|
+
### HTTP request headers
|
619
|
+
|
620
|
+
- **Content-Type**: Not defined
|
621
|
+
- **Accept**: application/json
|
622
|
+
|
623
|
+
|
624
|
+
## render_markdown
|
625
|
+
|
626
|
+
> String render_markdown(opts)
|
627
|
+
|
628
|
+
Render a markdown document as HTML
|
629
|
+
|
630
|
+
### Examples
|
631
|
+
|
632
|
+
```ruby
|
633
|
+
require 'time'
|
634
|
+
require 'forgejo'
|
635
|
+
# setup authorization
|
636
|
+
Forgejo.configure do |config|
|
637
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
638
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
639
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
640
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
641
|
+
end
|
642
|
+
|
643
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
644
|
+
opts = {
|
645
|
+
body: Forgejo::MarkdownOption.new # MarkdownOption |
|
646
|
+
}
|
647
|
+
|
648
|
+
begin
|
649
|
+
# Render a markdown document as HTML
|
650
|
+
result = api_instance.render_markdown(opts)
|
651
|
+
p result
|
652
|
+
rescue Forgejo::ApiError => e
|
653
|
+
puts "Error when calling MiscellaneousApi->render_markdown: #{e}"
|
654
|
+
end
|
655
|
+
```
|
656
|
+
|
657
|
+
#### Using the render_markdown_with_http_info variant
|
658
|
+
|
659
|
+
This returns an Array which contains the response data, status code and headers.
|
660
|
+
|
661
|
+
> <Array(String, Integer, Hash)> render_markdown_with_http_info(opts)
|
662
|
+
|
663
|
+
```ruby
|
664
|
+
begin
|
665
|
+
# Render a markdown document as HTML
|
666
|
+
data, status_code, headers = api_instance.render_markdown_with_http_info(opts)
|
667
|
+
p status_code # => 2xx
|
668
|
+
p headers # => { ... }
|
669
|
+
p data # => String
|
670
|
+
rescue Forgejo::ApiError => e
|
671
|
+
puts "Error when calling MiscellaneousApi->render_markdown_with_http_info: #{e}"
|
672
|
+
end
|
673
|
+
```
|
674
|
+
|
675
|
+
### Parameters
|
676
|
+
|
677
|
+
| Name | Type | Description | Notes |
|
678
|
+
| ---- | ---- | ----------- | ----- |
|
679
|
+
| **body** | [**MarkdownOption**](MarkdownOption.md) | | [optional] |
|
680
|
+
|
681
|
+
### Return type
|
682
|
+
|
683
|
+
**String**
|
684
|
+
|
685
|
+
### Authorization
|
686
|
+
|
687
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
688
|
+
|
689
|
+
### HTTP request headers
|
690
|
+
|
691
|
+
- **Content-Type**: application/json
|
692
|
+
- **Accept**: text/html
|
693
|
+
|
694
|
+
|
695
|
+
## render_markdown_raw
|
696
|
+
|
697
|
+
> String render_markdown_raw(body)
|
698
|
+
|
699
|
+
Render raw markdown as HTML
|
700
|
+
|
701
|
+
### Examples
|
702
|
+
|
703
|
+
```ruby
|
704
|
+
require 'time'
|
705
|
+
require 'forgejo'
|
706
|
+
# setup authorization
|
707
|
+
Forgejo.configure do |config|
|
708
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
709
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
710
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
711
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
712
|
+
end
|
713
|
+
|
714
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
715
|
+
body = 'body_example' # String | Request body to render
|
716
|
+
|
717
|
+
begin
|
718
|
+
# Render raw markdown as HTML
|
719
|
+
result = api_instance.render_markdown_raw(body)
|
720
|
+
p result
|
721
|
+
rescue Forgejo::ApiError => e
|
722
|
+
puts "Error when calling MiscellaneousApi->render_markdown_raw: #{e}"
|
723
|
+
end
|
724
|
+
```
|
725
|
+
|
726
|
+
#### Using the render_markdown_raw_with_http_info variant
|
727
|
+
|
728
|
+
This returns an Array which contains the response data, status code and headers.
|
729
|
+
|
730
|
+
> <Array(String, Integer, Hash)> render_markdown_raw_with_http_info(body)
|
731
|
+
|
732
|
+
```ruby
|
733
|
+
begin
|
734
|
+
# Render raw markdown as HTML
|
735
|
+
data, status_code, headers = api_instance.render_markdown_raw_with_http_info(body)
|
736
|
+
p status_code # => 2xx
|
737
|
+
p headers # => { ... }
|
738
|
+
p data # => String
|
739
|
+
rescue Forgejo::ApiError => e
|
740
|
+
puts "Error when calling MiscellaneousApi->render_markdown_raw_with_http_info: #{e}"
|
741
|
+
end
|
742
|
+
```
|
743
|
+
|
744
|
+
### Parameters
|
745
|
+
|
746
|
+
| Name | Type | Description | Notes |
|
747
|
+
| ---- | ---- | ----------- | ----- |
|
748
|
+
| **body** | **String** | Request body to render | |
|
749
|
+
|
750
|
+
### Return type
|
751
|
+
|
752
|
+
**String**
|
753
|
+
|
754
|
+
### Authorization
|
755
|
+
|
756
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
757
|
+
|
758
|
+
### HTTP request headers
|
759
|
+
|
760
|
+
- **Content-Type**: text/plain
|
761
|
+
- **Accept**: text/html
|
762
|
+
|
763
|
+
|
764
|
+
## render_markup
|
765
|
+
|
766
|
+
> String render_markup(opts)
|
767
|
+
|
768
|
+
Render a markup document as HTML
|
769
|
+
|
770
|
+
### Examples
|
771
|
+
|
772
|
+
```ruby
|
773
|
+
require 'time'
|
774
|
+
require 'forgejo'
|
775
|
+
# setup authorization
|
776
|
+
Forgejo.configure do |config|
|
777
|
+
# Configure API key authorization: AuthorizationHeaderToken
|
778
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
779
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
780
|
+
# config.api_key_prefix['Authorization'] = 'Bearer'
|
781
|
+
end
|
782
|
+
|
783
|
+
api_instance = Forgejo::MiscellaneousApi.new
|
784
|
+
opts = {
|
785
|
+
body: Forgejo::MarkupOption.new # MarkupOption |
|
786
|
+
}
|
787
|
+
|
788
|
+
begin
|
789
|
+
# Render a markup document as HTML
|
790
|
+
result = api_instance.render_markup(opts)
|
791
|
+
p result
|
792
|
+
rescue Forgejo::ApiError => e
|
793
|
+
puts "Error when calling MiscellaneousApi->render_markup: #{e}"
|
794
|
+
end
|
795
|
+
```
|
796
|
+
|
797
|
+
#### Using the render_markup_with_http_info variant
|
798
|
+
|
799
|
+
This returns an Array which contains the response data, status code and headers.
|
800
|
+
|
801
|
+
> <Array(String, Integer, Hash)> render_markup_with_http_info(opts)
|
802
|
+
|
803
|
+
```ruby
|
804
|
+
begin
|
805
|
+
# Render a markup document as HTML
|
806
|
+
data, status_code, headers = api_instance.render_markup_with_http_info(opts)
|
807
|
+
p status_code # => 2xx
|
808
|
+
p headers # => { ... }
|
809
|
+
p data # => String
|
810
|
+
rescue Forgejo::ApiError => e
|
811
|
+
puts "Error when calling MiscellaneousApi->render_markup_with_http_info: #{e}"
|
812
|
+
end
|
813
|
+
```
|
814
|
+
|
815
|
+
### Parameters
|
816
|
+
|
817
|
+
| Name | Type | Description | Notes |
|
818
|
+
| ---- | ---- | ----------- | ----- |
|
819
|
+
| **body** | [**MarkupOption**](MarkupOption.md) | | [optional] |
|
820
|
+
|
821
|
+
### Return type
|
822
|
+
|
823
|
+
**String**
|
824
|
+
|
825
|
+
### Authorization
|
826
|
+
|
827
|
+
[AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken)
|
828
|
+
|
829
|
+
### HTTP request headers
|
830
|
+
|
831
|
+
- **Content-Type**: application/json
|
832
|
+
- **Accept**: text/html
|
833
|
+
|