{ "openapi": "3.1.0", "info": { "title": "gitdata api", "description": "", "license": { "name": "" }, "version": "1.0" }, "paths": { "/auth/2fa/disable": { "post": { "tags": [ "auth" ], "operationId": "totp_disable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_TotpCodeCmd" } } }, "required": true }, "responses": { "200": { "description": "two-factor authentication disabled and recovery codes removed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/2fa/enable": { "post": { "tags": [ "auth" ], "operationId": "totp_enable", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_TotpEnableCmd" } } }, "required": true }, "responses": { "200": { "description": "two-factor authentication enabled and recovery codes generated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RecoveryCodesResp" } } } } } } }, "/auth/2fa/recovery-codes": { "get": { "tags": [ "auth" ], "operationId": "recovery_codes", "responses": { "200": { "description": "recovery code usage summary, codes never returned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RecoveryCodesResp" } } } } } }, "post": { "tags": [ "auth" ], "operationId": "regenerate_recovery_codes", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RegenerateRecoveryCodesCmd" } } }, "required": true }, "responses": { "200": { "description": "replacement codes issued, shown only in this response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RecoveryCodesResp" } } } } } } }, "/auth/2fa/setup": { "post": { "tags": [ "auth" ], "operationId": "totp_setup", "responses": { "200": { "description": "new secret stored, awaiting enable", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TotpSetupResp" } } } } } } }, "/auth/2fa/status": { "get": { "tags": [ "auth" ], "operationId": "totp_status", "responses": { "200": { "description": "two-factor status for the current user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TotpStatusResp" } } } } } } }, "/auth/access-keys": { "get": { "tags": [ "security" ], "operationId": "list_access_keys", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "access keys for the current user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_AccessKeyDto" } } } } } }, "post": { "tags": [ "security" ], "operationId": "create_access_key", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateAccessKeyCmd" } } }, "required": true }, "responses": { "200": { "description": "access key created, token shown only in this response", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CreateAccessKeyResp" } } } } } } }, "/auth/access-keys/{key_id}": { "delete": { "tags": [ "security" ], "operationId": "delete_access_key", "parameters": [ { "name": "key_id", "in": "path", "description": "access key id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "access key deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/agreements": { "get": { "tags": [ "account" ], "operationId": "list_agreements", "responses": { "200": { "description": "agreement documents from configuration", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_AgreementDoc" } } } } } } }, "/auth/agreements/{key}": { "put": { "tags": [ "account" ], "operationId": "accept_agreement", "parameters": [ { "name": "key", "in": "path", "description": "agreement key", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AcceptAgreementCmd" } } }, "required": true }, "responses": { "200": { "description": "agreement acceptance recorded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AcceptAgreementResp" } } } } } } }, "/auth/email/change": { "post": { "tags": [ "auth" ], "operationId": "request_email_change", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RequestEmailChangeCmd" } } }, "required": true }, "responses": { "200": { "description": "email change ticket created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmailChangeTicketDto" } } } } } } }, "/auth/email/change/confirm": { "post": { "tags": [ "auth" ], "operationId": "confirm_email_change", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ConfirmEmailChangeCmd" } } }, "required": true }, "responses": { "200": { "description": "email changed to the ticket address", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/email/change/{ticket_id}": { "delete": { "tags": [ "auth" ], "operationId": "cancel_email_change", "parameters": [ { "name": "ticket_id", "in": "path", "description": "email change ticket id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "email change cancelled", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/email/reclaim": { "post": { "tags": [ "auth" ], "operationId": "reclaim", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ReclaimCmd" } } }, "required": true }, "responses": { "200": { "description": "inactive account reclaim issued", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReclaimResp" } } } } } } }, "/auth/email/resend": { "post": { "tags": [ "auth" ], "operationId": "resend_code", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ResendCodeCmd" } } }, "required": true }, "responses": { "200": { "description": "verification code resent", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ResendCodeResp" } } } } } } }, "/auth/email/verify": { "post": { "tags": [ "auth" ], "operationId": "verify_email", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_VerifyEmailCmd" } } }, "required": true }, "responses": { "200": { "description": "verification code accepted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_VerifyEmailResp" } } } } } } }, "/auth/login": { "post": { "tags": [ "auth" ], "operationId": "login", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_LoginCmd" } } }, "required": true }, "responses": { "200": { "description": "login accepted, session established", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LoginResp" } } } } } } }, "/auth/login/2fa": { "post": { "tags": [ "auth" ], "operationId": "login_2fa", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_TwoFactorLoginCmd" } } }, "required": true }, "responses": { "200": { "description": "two-factor challenge accepted, session established", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LoginResp" } } } } } } }, "/auth/logout": { "post": { "tags": [ "auth" ], "operationId": "logout", "responses": { "200": { "description": "active user logged out of the session", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LogoutResp" } } } } } } }, "/auth/me": { "get": { "tags": [ "account" ], "operationId": "me", "responses": { "200": { "description": "identity and profile of the active user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MeResp" } } } } } }, "patch": { "tags": [ "account" ], "operationId": "update_profile", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateProfileCmd" } } }, "required": true }, "responses": { "200": { "description": "profile fields updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/me/birthday": { "put": { "tags": [ "account" ], "operationId": "update_birthday", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateBirthdayCmd" } } }, "required": true }, "responses": { "200": { "description": "birthday stored", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/password/change": { "post": { "tags": [ "auth" ], "operationId": "change_password", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ChangePasswordCmd" } } }, "required": true }, "responses": { "200": { "description": "password changed, existing sessions invalidated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/password/forgot": { "post": { "tags": [ "auth" ], "operationId": "forgot_password", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ForgotPasswordCmd" } } }, "required": true }, "responses": { "200": { "description": "reset token issued, delivery is not disclosed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ForgotPasswordResp" } } } } } } }, "/auth/password/reset": { "post": { "tags": [ "auth" ], "operationId": "reset_password", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ResetPasswordCmd" } } }, "required": true }, "responses": { "200": { "description": "password replaced, existing sessions invalidated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/pow/challenge": { "get": { "tags": [ "auth" ], "operationId": "pow_challenge", "responses": { "200": { "description": "challenge issued", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PowChallengeResp" } } } } } } }, "/auth/preferences": { "get": { "tags": [ "account" ], "operationId": "get_preferences", "responses": { "200": { "description": "preferences for the current user, defaults when unset", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserPreferencesDto" } } } } } }, "patch": { "tags": [ "account" ], "operationId": "update_preferences", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdatePreferencesCmd" } } }, "required": true }, "responses": { "200": { "description": "preferences updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/auth/register": { "post": { "tags": [ "auth" ], "operationId": "register", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RegisterCmd" } } }, "required": true }, "responses": { "200": { "description": "registration pending email verification", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RegisterResp" } } } } } } }, "/auth/ssh-keys": { "get": { "tags": [ "security" ], "operationId": "list_ssh_keys", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "ssh keys for the current user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SshKeyDto" } } } } } }, "post": { "tags": [ "security" ], "operationId": "add_ssh_key", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddSshKeyCmd" } } }, "required": true }, "responses": { "200": { "description": "ssh key registered", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SshKeyDto" } } } } } } }, "/auth/ssh-keys/{key_id}": { "delete": { "tags": [ "security" ], "operationId": "delete_ssh_key", "parameters": [ { "name": "key_id", "in": "path", "description": "ssh key id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "ssh key deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/attachments": { "post": { "tags": [ "chat" ], "operationId": "create_attachment", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateAttachmentCmd" } } }, "required": true }, "responses": { "200": { "description": "upload intent", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UploadIntentDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/attachments/{attachment_id}": { "get": { "tags": [ "chat" ], "operationId": "get_attachment", "parameters": [ { "name": "attachment_id", "in": "path", "description": "attachment id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "attachment meta", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AttachmentDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/attachments/{attachment_id}/file": { "get": { "tags": [ "chat" ], "operationId": "download_attachment", "parameters": [ { "name": "attachment_id", "in": "path", "description": "attachment id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "file stream" }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/attachments/{attachment_id}/finalize": { "post": { "tags": [ "chat" ], "operationId": "finalize_attachment", "parameters": [ { "name": "attachment_id", "in": "path", "description": "attachment id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FinalizeAttachmentCmd" } } }, "required": true }, "responses": { "200": { "description": "attachment finalized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AttachmentDto" } } } }, "409": { "description": "already finalized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/dms": { "get": { "tags": [ "chat" ], "operationId": "list_dms", "responses": { "200": { "description": "my dms", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DmDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "open_dm", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/OpenDmCmd" } } }, "required": true }, "responses": { "200": { "description": "dm opened", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DmDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/dms/{room_id}": { "delete": { "tags": [ "chat" ], "operationId": "close_dm", "parameters": [ { "name": "room_id", "in": "path", "description": "dm room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "dm closed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/drafts": { "get": { "tags": [ "chat" ], "operationId": "list_my_drafts", "responses": { "200": { "description": "my drafts", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DraftDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/hooks/{token}": { "post": { "tags": [ "chat" ], "operationId": "post_via_webhook", "parameters": [ { "name": "token", "in": "path", "description": "webhook token", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WebhookPostCmd" } } }, "required": true }, "responses": { "200": { "description": "message posted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "401": { "description": "invalid token", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/invites/{accept_code}/accept": { "post": { "tags": [ "chat" ], "operationId": "accept_room_invite", "parameters": [ { "name": "accept_code", "in": "path", "description": "invite accept code", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "joined via invite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomBriefDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/presence": { "put": { "tags": [ "chat" ], "operationId": "set_presence", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetPresenceCmd" } } }, "required": true }, "responses": { "200": { "description": "presence updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PresenceDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/reminders": { "get": { "tags": [ "chat" ], "operationId": "list_reminders", "responses": { "200": { "description": "pending reminders", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReminderDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/reminders/{reminder_id}": { "delete": { "tags": [ "chat" ], "operationId": "cancel_reminder", "parameters": [ { "name": "reminder_id", "in": "path", "description": "reminder id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "reminder cancelled", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}": { "get": { "tags": [ "chat" ], "operationId": "get_room", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "room detail", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomBriefDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "chat" ], "operationId": "update_room", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRoomCmd" } } }, "required": true }, "responses": { "200": { "description": "room updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomBriefDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/bookmarks": { "get": { "tags": [ "chat" ], "operationId": "list_bookmarks", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "bookmark list", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BookmarkDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "create_bookmark", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateBookmarkCmd" } } }, "required": true }, "responses": { "200": { "description": "bookmark created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BookmarkDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/bookmarks/{bookmark_id}": { "delete": { "tags": [ "chat" ], "operationId": "delete_bookmark", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "bookmark_id", "in": "path", "description": "bookmark id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "bookmark deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "chat" ], "operationId": "update_bookmark", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "bookmark_id", "in": "path", "description": "bookmark id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateBookmarkCmd" } } }, "required": true }, "responses": { "200": { "description": "bookmark updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BookmarkDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/draft": { "get": { "tags": [ "chat" ], "operationId": "get_draft", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "thread_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } } ], "responses": { "200": { "description": "draft", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_DraftDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "chat" ], "operationId": "upsert_draft", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertDraftCmd" } } }, "required": true }, "responses": { "200": { "description": "draft saved", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DraftDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/invites": { "post": { "tags": [ "chat" ], "operationId": "create_room_invite", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRoomInviteCmd" } } }, "required": true }, "responses": { "200": { "description": "invite created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomInviteDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/members": { "get": { "tags": [ "chat" ], "operationId": "list_room_members", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "member list", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RoomMemberDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "add_room_members", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddMembersCmd" } } }, "required": true }, "responses": { "200": { "description": "members added", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/members/@me": { "put": { "tags": [ "chat" ], "operationId": "join_room", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "joined", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "chat" ], "operationId": "leave_room", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "left", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages": { "get": { "tags": [ "chat" ], "operationId": "list_messages", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "before_seq", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64" } }, { "name": "after_seq", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "thread_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "author_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } } ], "responses": { "200": { "description": "message page", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessagePage" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "send_message", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SendMessageCmd" } } }, "required": true }, "responses": { "200": { "description": "message sent", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/bulk-delete": { "post": { "tags": [ "chat" ], "operationId": "bulk_delete_messages", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BulkDeleteCmd" } } }, "required": true }, "responses": { "200": { "description": "messages deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}": { "get": { "tags": [ "chat" ], "operationId": "get_message", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "message detail", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "chat" ], "operationId": "delete_message", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "message deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "chat" ], "operationId": "update_message", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateMessageCmd" } } }, "required": true }, "responses": { "200": { "description": "message updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/forward": { "post": { "tags": [ "chat" ], "operationId": "forward_message", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForwardMessageCmd" } } }, "required": true }, "responses": { "200": { "description": "message forwarded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/history": { "get": { "tags": [ "chat" ], "operationId": "list_message_history", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "edit history", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_MessageEditDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/pin": { "put": { "tags": [ "chat" ], "operationId": "set_message_pin", "parameters": [ { "name": "room_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PinCmd" } } }, "required": true }, "responses": { "200": { "description": "pin updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MessageDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/reactions": { "get": { "tags": [ "chat" ], "operationId": "list_reactions", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "description": "message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "reaction users", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReactionUserDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/reactions/@me": { "put": { "tags": [ "chat" ], "operationId": "add_reaction", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "description": "message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReactionCmd" } } }, "required": true }, "responses": { "200": { "description": "reaction added", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReactionAggDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "chat" ], "operationId": "remove_reaction", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "description": "message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ReactionCmd" } } }, "required": true }, "responses": { "200": { "description": "reaction removed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReactionAggDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/reminders": { "post": { "tags": [ "chat" ], "operationId": "create_reminder", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "description": "message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateReminderCmd" } } }, "required": true }, "responses": { "200": { "description": "reminder created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReminderDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/messages/{message_id}/threads": { "post": { "tags": [ "chat" ], "operationId": "create_thread", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "path", "description": "root message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateThreadCmd" } } }, "required": true }, "responses": { "200": { "description": "thread created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ThreadDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/pins": { "get": { "tags": [ "chat" ], "operationId": "list_pins", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "pinned messages", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_MessageDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/read-state": { "get": { "tags": [ "chat" ], "operationId": "get_read_state", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "read state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReadStateDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "chat" ], "operationId": "mark_read", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MarkReadCmd" } } }, "required": true }, "responses": { "200": { "description": "read state updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReadStateDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/settings": { "get": { "tags": [ "chat" ], "operationId": "get_room_setting", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "room setting", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomSettingDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "chat" ], "operationId": "update_room_setting", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRoomSettingCmd" } } }, "required": true }, "responses": { "200": { "description": "room setting updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoomSettingDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/threads": { "get": { "tags": [ "chat" ], "operationId": "list_threads", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "archived", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "thread page", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ThreadPage" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/webhooks": { "get": { "tags": [ "chat" ], "operationId": "list_webhooks", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "webhook list", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_WebhookDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "create_webhook", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateWebhookCmd" } } }, "required": true }, "responses": { "200": { "description": "webhook created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WebhookSecretDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/rooms/{room_id}/webhooks/{webhook_id}": { "delete": { "tags": [ "chat" ], "operationId": "delete_webhook", "parameters": [ { "name": "room_id", "in": "path", "description": "room id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "webhook_id", "in": "path", "description": "webhook id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "webhook deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/emojis": { "get": { "tags": [ "chat" ], "operationId": "list_emojis", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "emoji list", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_EmojiDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "chat" ], "operationId": "upload_emoji", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UploadEmojiCmd" } } }, "required": true }, "responses": { "200": { "description": "emoji created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmojiDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/emojis/{emoji_id}": { "delete": { "tags": [ "chat" ], "operationId": "delete_emoji", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } }, { "name": "emoji_id", "in": "path", "description": "emoji id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "emoji deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/emojis/{emoji_id}/image": { "get": { "tags": [ "chat" ], "operationId": "emoji_image", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } }, { "name": "emoji_id", "in": "path", "description": "emoji id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "emoji image" }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/messages/search": { "get": { "tags": [ "chat" ], "operationId": "search_messages", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } }, { "name": "q", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "room_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "author_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "search results", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SearchPage" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/presences": { "get": { "tags": [ "chat" ], "operationId": "list_space_presences", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "space presences", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PresenceDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/read-states": { "get": { "tags": [ "chat" ], "operationId": "list_space_read_states", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "space read states", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceReadStatePage" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/spaces/{space_name}/rooms": { "get": { "tags": [ "chat" ], "operationId": "list_space_rooms", "parameters": [ { "name": "space_name", "in": "path", "description": "space name", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list rooms", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RoomBriefDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/threads": { "get": { "tags": [ "chat" ], "operationId": "list_my_threads", "responses": { "200": { "description": "my threads", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ThreadDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/threads/{thread_id}": { "get": { "tags": [ "chat" ], "operationId": "get_thread", "parameters": [ { "name": "thread_id", "in": "path", "description": "thread id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "thread detail", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ThreadDto" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "chat" ], "operationId": "update_thread", "parameters": [ { "name": "thread_id", "in": "path", "description": "thread id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateThreadCmd" } } }, "required": true }, "responses": { "200": { "description": "thread updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ThreadDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/threads/{thread_id}/members/@me": { "put": { "tags": [ "chat" ], "operationId": "follow_thread", "parameters": [ { "name": "thread_id", "in": "path", "description": "thread id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ThreadMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "followed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "chat" ], "operationId": "unfollow_thread", "parameters": [ { "name": "thread_id", "in": "path", "description": "thread id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "unfollowed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/threads/{thread_id}/read-state": { "put": { "tags": [ "chat" ], "operationId": "mark_thread_read", "parameters": [ { "name": "thread_id", "in": "path", "description": "thread id", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "message_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } } ], "responses": { "200": { "description": "thread marked read", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/users/{user_id}/presence": { "get": { "tags": [ "chat" ], "operationId": "get_presence", "parameters": [ { "name": "user_id", "in": "path", "description": "user id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "presence", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PresenceDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/chat/ws/ticket": { "post": { "tags": [ "chat" ], "operationId": "issue_ws_ticket", "responses": { "200": { "description": "ws ticket issued", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WsTicketDto" } } } }, "401": { "description": "unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/deletion": { "get": { "tags": [ "deletion" ], "operationId": "deletion_status", "responses": { "200": { "description": "latest deletion request for the current user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_DeletionDto" } } } } } }, "post": { "tags": [ "deletion" ], "operationId": "request_deletion", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RequestDeletionCmd" } } }, "required": true }, "responses": { "200": { "description": "deletion request recorded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeletionDto" } } } } } } }, "/deletion/cancel": { "post": { "tags": [ "deletion" ], "operationId": "cancel_deletion", "responses": { "200": { "description": "deletion request cancelled", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/graphql": { "get": { "tags": [ "graphql" ], "operationId": "graphql_get", "responses": { "200": { "description": "graphql execution result" } } }, "post": { "tags": [ "graphql" ], "operationId": "graphql_post", "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } } }, "required": true }, "responses": { "200": { "description": "graphql execution result" } } } }, "/issues/{space_name}": { "get": { "tags": [ "issues" ], "operationId": "list_boards", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list boards", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BoardPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_board", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateBoardCmd" } } }, "required": true }, "responses": { "200": { "description": "create board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BoardDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}": { "get": { "tags": [ "issues" ], "operationId": "get_board", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BoardDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_board", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "issues" ], "operationId": "update_board", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateBoardCmd" } } }, "required": true }, "responses": { "200": { "description": "update board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BoardDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/issues": { "get": { "tags": [ "issues" ], "operationId": "list_issues", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "state", "in": "query", "required": false, "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/IssueState" } ] } }, { "name": "author_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "milestone_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list issues", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssuePage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateIssueCmd" } } }, "required": true }, "responses": { "200": { "description": "create issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/labels": { "get": { "tags": [ "issues" ], "operationId": "list_labels", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "is_archived", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list labels", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateLabelCmd" } } }, "required": true }, "responses": { "200": { "description": "create label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/labels/{label_id}": { "get": { "tags": [ "issues" ], "operationId": "get_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "issues" ], "operationId": "update_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateLabelCmd" } } }, "required": true }, "responses": { "200": { "description": "update label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/milestones": { "get": { "tags": [ "issues" ], "operationId": "list_milestones", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "is_closed", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } }, { "name": "q", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list milestones", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestonePage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_milestone", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateMilestoneCmd" } } }, "required": true }, "responses": { "200": { "description": "create milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestoneDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/milestones/{milestone_id}": { "get": { "tags": [ "issues" ], "operationId": "get_milestone", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "milestone_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestoneDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_milestone", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "milestone_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "issues" ], "operationId": "update_milestone", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "milestone_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateMilestoneCmd" } } }, "required": true }, "responses": { "200": { "description": "update milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestoneDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/pins": { "get": { "tags": [ "issues" ], "operationId": "list_pins", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list pinned issues", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PinDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_pin", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreatePinCmd" } } }, "required": true }, "responses": { "200": { "description": "create pin", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PinDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/pins/{pin_id}": { "delete": { "tags": [ "issues" ], "operationId": "delete_pin", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "pin_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete pin", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}": { "get": { "tags": [ "issues" ], "operationId": "get_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "issues" ], "operationId": "update_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateIssueCmd" } } }, "required": true }, "responses": { "200": { "description": "update issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/close": { "post": { "tags": [ "issues" ], "operationId": "close_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "close issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/comments": { "get": { "tags": [ "issues" ], "operationId": "list_comments", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "parent_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list comments", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_comment", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateCommentCmd" } } }, "required": true }, "responses": { "200": { "description": "create comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/comments/{comment_id}": { "get": { "tags": [ "issues" ], "operationId": "get_comment", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_comment", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "issues" ], "operationId": "update_comment", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateCommentCmd" } } }, "required": true }, "responses": { "200": { "description": "update comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/comments/{comment_id}/reactions": { "get": { "tags": [ "issues" ], "operationId": "list_comment_reactions", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list comment reactions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReactionAggDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_comment_reaction", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateReactionCmd" } } }, "required": true }, "responses": { "200": { "description": "create comment reaction", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReactionDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/dependencies": { "get": { "tags": [ "issues" ], "operationId": "list_dependencies", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list issue dependencies", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DependencyDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_dependency", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateDependencyCmd" } } }, "required": true }, "responses": { "200": { "description": "create issue dependency", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DependencyDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/dependencies/{dep_id}": { "delete": { "tags": [ "issues" ], "operationId": "delete_dependency", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "dep_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete issue dependency", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/events": { "get": { "tags": [ "issues" ], "operationId": "list_events", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list issue events", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EventPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/history": { "get": { "tags": [ "issues" ], "operationId": "list_content_history", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "comment_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list content history", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentHistoryPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/labels": { "get": { "tags": [ "issues" ], "operationId": "list_labels_for_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list labels for issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LabelDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/labels/{label_id}": { "post": { "tags": [ "issues" ], "operationId": "bind_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "bind label to issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "unbind_label", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "unbind label from issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/members": { "get": { "tags": [ "issues" ], "operationId": "list_members", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "kind", "in": "query", "required": false, "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/IssueMemberKind" } ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list issue members", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueMemberPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateIssueMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "create issue member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueMemberDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/members/{member_id}": { "delete": { "tags": [ "issues" ], "operationId": "delete_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "member_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete issue member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/reactions": { "get": { "tags": [ "issues" ], "operationId": "list_reactions", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list reactions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReactionAggDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_reaction", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateReactionCmd" } } }, "required": true }, "responses": { "200": { "description": "create reaction", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReactionDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/reactions/{reaction_id}": { "delete": { "tags": [ "issues" ], "operationId": "delete_reaction", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "reaction_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete reaction", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/reopen": { "post": { "tags": [ "issues" ], "operationId": "reopen_issue", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "reopen issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/repos": { "get": { "tags": [ "issues" ], "operationId": "list_repo_relations", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list issue repository relations", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RepoRelDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "issues" ], "operationId": "create_repo_relation", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRepoRelCmd" } } }, "required": true }, "responses": { "200": { "description": "create issue repository relation", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoRelDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/repos/{rel_id}": { "delete": { "tags": [ "issues" ], "operationId": "delete_repo_relation", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "rel_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete issue repository relation", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/stopwatch": { "get": { "tags": [ "issues" ], "operationId": "get_stopwatch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get stopwatch status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_StopwatchDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/stopwatch/start": { "post": { "tags": [ "issues" ], "operationId": "start_stopwatch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "start stopwatch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_StopwatchDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/stopwatch/stop": { "post": { "tags": [ "issues" ], "operationId": "stop_stopwatch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "stop stopwatch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/times": { "get": { "tags": [ "issues" ], "operationId": "list_tracked_time", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "query", "required": false, "schema": { "type": [ "string", "null" ], "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list tracked times", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TrackedTimePage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/users": { "get": { "tags": [ "issues" ], "operationId": "list_issue_users", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list issue user states", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueUserPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/users/{uid}": { "patch": { "tags": [ "issues" ], "operationId": "update_issue_user", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateIssueUserCmd" } } }, "required": true }, "responses": { "200": { "description": "update issue user state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueUserDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/issues/{space_name}/{board_id}/{issue_id}/watch": { "get": { "tags": [ "issues" ], "operationId": "get_watch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get watch status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WatchDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "issues" ], "operationId": "upsert_watch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertWatchCmd" } } }, "required": true }, "responses": { "200": { "description": "upsert watch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WatchDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "issues" ], "operationId": "delete_watch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "board_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete watch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/licenses": { "get": { "tags": [ "licenses" ], "operationId": "list_licenses", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list licenses", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LicenseDto" } } } } } } }, "/licenses/{name}": { "get": { "tags": [ "licenses" ], "operationId": "get_license", "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get license", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LicenseDto" } } } } } }, "put": { "tags": [ "licenses" ], "operationId": "upsert_license", "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertLicenseCmd" } } }, "required": true }, "responses": { "200": { "description": "upsert license", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LicenseDto" } } } } } } }, "/me/avatar": { "get": { "tags": [ "user" ], "operationId": "get_avatar", "responses": { "200": { "description": "current avatar", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_AvatarDto" } } } } } }, "put": { "tags": [ "user" ], "operationId": "upload_avatar", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UploadAvatarCmd" } } }, "required": true }, "responses": { "200": { "description": "avatar uploaded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AvatarDto" } } } } } }, "delete": { "tags": [ "user" ], "operationId": "delete_avatar", "responses": { "200": { "description": "avatar deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/deletion/confirm": { "post": { "tags": [ "user" ], "operationId": "confirm_deletion", "responses": { "200": { "description": "deletion confirmed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeletionDto" } } } } } } }, "/me/emails": { "get": { "tags": [ "user" ], "operationId": "list_emails", "responses": { "200": { "description": "list user emails", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_EmailDto" } } } } } }, "post": { "tags": [ "user" ], "operationId": "add_email", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddEmailCmd" } } }, "required": true }, "responses": { "200": { "description": "add email address", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AddEmailResp" } } } } } } }, "/me/emails/verify": { "post": { "tags": [ "user" ], "operationId": "verify_add_email", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/VerifyEmailCmd" } } }, "required": true }, "responses": { "200": { "description": "verify added email address", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmailDto" } } } } } } }, "/me/emails/{email_id}": { "delete": { "tags": [ "user" ], "operationId": "delete_email", "parameters": [ { "name": "email_id", "in": "path", "description": "email id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "delete email", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/emails/{email_id}/primary": { "patch": { "tags": [ "user" ], "operationId": "set_primary_email", "parameters": [ { "name": "email_id", "in": "path", "description": "email id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "set primary email", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmailDto" } } } } } } }, "/me/memes": { "get": { "tags": [ "user" ], "operationId": "list_memes", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list memes", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_MemeDto" } } } } } }, "post": { "tags": [ "user" ], "operationId": "create_meme", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertMemeCmd" } } }, "required": true }, "responses": { "200": { "description": "meme created or updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemeDto" } } } } } } }, "/me/memes/{meme_id}": { "delete": { "tags": [ "user" ], "operationId": "delete_meme", "parameters": [ { "name": "meme_id", "in": "path", "description": "meme id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "meme deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/messages/saved": { "get": { "tags": [ "user" ], "operationId": "list_saved_messages", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list saved messages", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SavedMessageDto" } } } } } }, "post": { "tags": [ "user" ], "operationId": "save_message", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SaveMessageCmd" } } }, "required": true }, "responses": { "200": { "description": "save message", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SavedMessageDto" } } } } } } }, "/me/messages/saved/{message_id}": { "delete": { "tags": [ "user" ], "operationId": "unsave_message", "parameters": [ { "name": "message_id", "in": "path", "description": "message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "unsave message", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/messages/scheduled": { "get": { "tags": [ "user" ], "operationId": "list_scheduled_messages", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list scheduled messages", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ScheduledMessageDto" } } } } } } }, "/me/messages/scheduled/{id}": { "delete": { "tags": [ "user" ], "operationId": "cancel_scheduled_message", "parameters": [ { "name": "id", "in": "path", "description": "scheduled message id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "cancel scheduled message", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/push-subscriptions": { "get": { "tags": [ "user" ], "operationId": "list_push_subscriptions", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list push subscriptions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PushSubscriptionDto" } } } } } }, "post": { "tags": [ "user" ], "operationId": "upsert_push_subscription", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertPushCmd" } } }, "required": true }, "responses": { "200": { "description": "upsert push subscription", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PushSubscriptionDto" } } } } } } }, "/me/push-subscriptions/{push_id}": { "delete": { "tags": [ "user" ], "operationId": "delete_push_subscription", "parameters": [ { "name": "push_id", "in": "path", "description": "push subscription id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "push subscription deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/recent-mentions": { "get": { "tags": [ "user" ], "operationId": "recent_mentions", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "recent mentions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RecentMentionDto" } } } } } } }, "/me/reports": { "get": { "tags": [ "user" ], "operationId": "my_reports", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "my filed reports", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReportDto" } } } } } } }, "/me/sessions": { "get": { "tags": [ "user" ], "operationId": "list_sessions", "parameters": [ { "name": "kind", "in": "query", "required": false, "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionKind" } ] } }, { "name": "include_revoked", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list user sessions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SessionDto" } } } } } }, "delete": { "tags": [ "user" ], "operationId": "revoke_all_sessions", "responses": { "200": { "description": "all sessions revoked", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CountResp" } } } } } } }, "/me/sessions/{session_id}": { "delete": { "tags": [ "user" ], "operationId": "revoke_session", "parameters": [ { "name": "session_id", "in": "path", "description": "session id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "session revoked", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/me/spaces": { "get": { "tags": [ "user" ], "operationId": "my_spaces", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "my spaces", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_MySpaceDto" } } } } } } }, "/me/suspensions": { "get": { "tags": [ "user" ], "operationId": "my_suspensions", "parameters": [ { "name": "include_revoked", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } } ], "responses": { "200": { "description": "my suspensions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SuspensionDto" } } } } } } }, "/notifications": { "get": { "tags": [ "notifications" ], "operationId": "list_notifications", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "notifications for the current user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_NotificationDto" } } } } } } }, "/notifications/read-all": { "put": { "tags": [ "notifications" ], "operationId": "mark_all_notifications_read", "responses": { "200": { "description": "all notifications marked as read", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/notifications/unread-count": { "get": { "tags": [ "notifications" ], "operationId": "unread_notifications_count", "responses": { "200": { "description": "number of unread notifications", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UnreadCountResp" } } } } } } }, "/notifications/{notification_id}": { "delete": { "tags": [ "notifications" ], "operationId": "delete_notification", "parameters": [ { "name": "notification_id", "in": "path", "description": "notification id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "notification deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/notifications/{notification_id}/read": { "put": { "tags": [ "notifications" ], "operationId": "mark_notification_read", "parameters": [ { "name": "notification_id", "in": "path", "description": "notification id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "notification marked as read", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/reports": { "post": { "tags": [ "reports" ], "operationId": "create_report", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateReportCmd" } } }, "required": true }, "responses": { "200": { "description": "report filed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReportDto" } } } } } } }, "/repos/_/contents/signature": { "post": { "tags": [ "content" ], "operationId": "caller_signature", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CallerSignatureBody" } } }, "required": true }, "responses": { "200": { "description": "caller git signature", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SignatureDto" } } } } } } }, "/repos/_/patch/parse": { "post": { "tags": [ "patches" ], "operationId": "patch_parse", "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } } }, "required": true }, "responses": { "200": { "description": "parse patch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ParsedPatchDto" } } } } } } }, "/repos/_/pipelines/cancel": { "post": { "tags": [ "pipelines" ], "operationId": "cancel", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PipelineCancelBody" } } }, "required": true }, "responses": { "200": { "description": "cancel pipeline job", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}": { "get": { "tags": [ "repos" ], "operationId": "list_repos", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list repos", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RepoDto" } } } } } }, "post": { "tags": [ "repos" ], "operationId": "create_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateRepoCmd" } } }, "required": true }, "responses": { "200": { "description": "create repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoDto" } } } } } } }, "/repos/{space_name}/{repo_name}": { "get": { "tags": [ "repos" ], "operationId": "get_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoDto" } } } } } }, "delete": { "tags": [ "repos" ], "operationId": "archive_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "archive repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoDto" } } } } } }, "patch": { "tags": [ "repos" ], "operationId": "update_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRepoCmd" } } }, "required": true }, "responses": { "200": { "description": "update repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoDto" } } } } } } }, "/repos/{space_name}/{repo_name}/analysis/code-activity": { "get": { "tags": [ "analysis" ], "operationId": "code_activity", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "branch", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "code activity analysis", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CodeActivityDto" } } } } } } }, "/repos/{space_name}/{repo_name}/analysis/contributors": { "get": { "tags": [ "analysis" ], "operationId": "contributors", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "contributor statistics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ContributorStatDto" } } } } } } }, "/repos/{space_name}/{repo_name}/analysis/languages": { "get": { "tags": [ "analysis" ], "operationId": "languages_read", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "cached language analysis", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LanguageStatDto" } } } } } }, "post": { "tags": [ "analysis" ], "operationId": "languages", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "analyze languages", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LanguageStatDto" } } } } } } }, "/repos/{space_name}/{repo_name}/archives/bundle": { "post": { "tags": [ "archives" ], "operationId": "create_bundle", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "create git bundle", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ArchiveResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/archives/create/{revision}": { "post": { "tags": [ "archives" ], "operationId": "create", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } } }, "required": true }, "responses": { "200": { "description": "create archive", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ArchiveResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/archives/download/{revision}": { "get": { "tags": [ "archives" ], "operationId": "download", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "format", "in": "query", "description": "archive format", "required": true, "schema": { "type": "string" } }, { "name": "path_filter", "in": "query", "description": "path filter", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "download archive", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ArchiveResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/blame": { "get": { "tags": [ "blame" ], "operationId": "blame", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "range_start", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } }, { "name": "range_end", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } ], "responses": { "200": { "description": "blame ranges", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BlameRangeDto" } } } } } } }, "/repos/{space_name}/{repo_name}/blobs/{oid}/content": { "get": { "tags": [ "blobs" ], "operationId": "blob_content", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "oid", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "blob content", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BlobContentDto" } } } } } } }, "/repos/{space_name}/{repo_name}/blobs/{oid}/metadata": { "get": { "tags": [ "blobs" ], "operationId": "blob_metadata", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "oid", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "blob metadata", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BlobMetaDto" } } } } } } }, "/repos/{space_name}/{repo_name}/blobs/{oid}/raw": { "get": { "tags": [ "blobs" ], "operationId": "blob_raw_download", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "oid", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "blob raw download info", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RawDownloadDto" } } } } } } }, "/repos/{space_name}/{repo_name}/branch-protection/{policy_id}/whitelists": { "get": { "tags": [ "branch_protection" ], "operationId": "list_branch_whitelists", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list branch whitelists", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BranchWhitelistDto" } } } } } }, "post": { "tags": [ "branch_protection" ], "operationId": "add_branch_whitelist", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddBranchWhitelistCmd" } } }, "required": true }, "responses": { "200": { "description": "add branch whitelist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchWhitelistDto" } } } } } } }, "/repos/{space_name}/{repo_name}/branch-protection/{policy_id}/whitelists/{whitelist_id}": { "delete": { "tags": [ "branch_protection" ], "operationId": "remove_branch_whitelist", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "whitelist_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "remove branch whitelist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/branches": { "get": { "tags": [ "branches" ], "operationId": "list_branches", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list branches", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BranchDto" } } } } } }, "post": { "tags": [ "branches" ], "operationId": "create_branch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateBranchCmd" } } }, "required": true }, "responses": { "200": { "description": "create branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchDto" } } } } } } }, "/repos/{space_name}/{repo_name}/branches/{from}": { "patch": { "tags": [ "branches" ], "operationId": "rename_branch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "from", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "to", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "rename branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/branches/{name}": { "get": { "tags": [ "branches" ], "operationId": "get_branch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchDto" } } } } } }, "delete": { "tags": [ "branches" ], "operationId": "delete_branch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "force", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } } ], "responses": { "200": { "description": "delete branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/branches/{name}/default": { "post": { "tags": [ "branches" ], "operationId": "set_default_branch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "set default branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/commit-statuses": { "post": { "tags": [ "commits" ], "operationId": "set_commit_status", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetCommitStatusCmd" } } }, "required": true }, "responses": { "200": { "description": "set commit status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitStatusDto" } } } } } } }, "/repos/{space_name}/{repo_name}/commit-statuses/{sha}": { "get": { "tags": [ "commits" ], "operationId": "list_commit_statuses", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list commit statuses", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_CommitStatusDto" } } } } } } }, "/repos/{space_name}/{repo_name}/commits": { "get": { "tags": [ "commits" ], "operationId": "list_commits", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "description": "start revision", "required": false, "schema": { "type": "string" } }, { "name": "path", "in": "query", "description": "path filter", "required": false, "schema": { "type": "string" } }, { "name": "max_count", "in": "query", "description": "max commits", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "skip", "in": "query", "description": "skip commits before returning (offset)", "required": false, "schema": { "type": "integer", "format": "int32", "minimum": 0 } }, { "name": "since", "in": "query", "description": "since date", "required": false, "schema": { "type": "string" } }, { "name": "until", "in": "query", "description": "until date", "required": false, "schema": { "type": "string" } }, { "name": "first_parent", "in": "query", "description": "first parent only", "required": true, "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "list commits", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitsPageDto" } } } } } } }, "/repos/{space_name}/{repo_name}/commits/ancestor": { "get": { "tags": [ "commits" ], "operationId": "is_ancestor", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "ancestor", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "descendant", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "check commit ancestry", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IsAncestorResponse" } } } } } } }, "/repos/{space_name}/{repo_name}/commits/stats": { "get": { "tags": [ "commits" ], "operationId": "commit_stats", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "commit stats" } } } }, "/repos/{space_name}/{repo_name}/commits/{revision}": { "get": { "tags": [ "commits" ], "operationId": "get_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get commit" } } } }, "/repos/{space_name}/{repo_name}/commits/{revision}/sync": { "post": { "tags": [ "commits" ], "operationId": "sync_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "sync commit", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitSyncResponse" } } } } } } }, "/repos/{space_name}/{repo_name}/commits/{revision}/tree": { "get": { "tags": [ "commits" ], "operationId": "get_tree_entries", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "commit tree entries" } } } }, "/repos/{space_name}/{repo_name}/conflicts/check": { "get": { "tags": [ "conflicts" ], "operationId": "conflict_check", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "check merge conflicts", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MergeStatusDto" } } } } } } }, "/repos/{space_name}/{repo_name}/conflicts/check-threeway": { "post": { "tags": [ "conflicts" ], "operationId": "conflict_check_threeway", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ConflictCheckThreewayBody" } } }, "required": true }, "responses": { "200": { "description": "three-way merge conflict check", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MergeStatusDto" } } } } } } }, "/repos/{space_name}/{repo_name}/conflicts/detail": { "get": { "tags": [ "conflicts" ], "operationId": "conflict_detail", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "conflict detail", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ConflictDetailDto" } } } } } } }, "/repos/{space_name}/{repo_name}/conflicts/files": { "get": { "tags": [ "conflicts" ], "operationId": "conflicted_files", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "conflicted files", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_String" } } } } } } }, "/repos/{space_name}/{repo_name}/contents/blobs": { "post": { "tags": [ "content" ], "operationId": "write_blob", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WriteBlobBody" } } }, "required": true }, "responses": { "200": { "description": "write blob object", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WriteObjectResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/contents/commits": { "post": { "tags": [ "content" ], "operationId": "commit_object", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommitObjectBody" } } }, "required": true }, "responses": { "200": { "description": "write commit object", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WriteObjectResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/contents/trees": { "post": { "tags": [ "content" ], "operationId": "write_tree_from_files", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/WriteTreeBody" } } }, "required": true }, "responses": { "200": { "description": "write tree from files", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WriteObjectResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/diff/files": { "get": { "tags": [ "diffs" ], "operationId": "files_changed_between", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "files changed between revisions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_String" } } } } } } }, "/repos/{space_name}/{repo_name}/diff/for-commit/{commit}": { "get": { "tags": [ "diffs" ], "operationId": "diff_for_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "commit", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "changed paths for commit" } } } }, "/repos/{space_name}/{repo_name}/diff/range": { "post": { "tags": [ "diffs" ], "operationId": "range_diff", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } } }, "required": true }, "responses": { "200": { "description": "range diff", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_String" } } } } } } }, "/repos/{space_name}/{repo_name}/diff/raw": { "get": { "tags": [ "diffs" ], "operationId": "diff_raw", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "raw diff", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_String" } } } } } } }, "/repos/{space_name}/{repo_name}/diff/shortstat": { "get": { "tags": [ "diffs" ], "operationId": "diff_short_stat", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "diff short stat" } } } }, "/repos/{space_name}/{repo_name}/diff/stats": { "get": { "tags": [ "diffs" ], "operationId": "diff_stats", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "diff stats" } } } }, "/repos/{space_name}/{repo_name}/diff/tree": { "get": { "tags": [ "diffs" ], "operationId": "diff_tree", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "use_merge_base", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } } ], "responses": { "200": { "description": "diff trees", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DiffTreeRecordDto" } } } } } } }, "/repos/{space_name}/{repo_name}/hooks/{script}": { "post": { "tags": [ "hooks" ], "operationId": "execute_script", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "script", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HookExecBody" } } }, "required": true }, "responses": { "200": { "description": "execute hook script", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ScriptOutputDto" } } } } } } }, "/repos/{space_name}/{repo_name}/html/badge": { "get": { "tags": [ "html" ], "operationId": "render_badge", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repo badge html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/blame": { "get": { "tags": [ "html" ], "operationId": "render_blame", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "blame html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or blob not found" } } } }, "/repos/{space_name}/{repo_name}/html/blob-content": { "get": { "tags": [ "html" ], "operationId": "render_blob_content", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "blob content html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or blob not found" } } } }, "/repos/{space_name}/{repo_name}/html/blob-header": { "get": { "tags": [ "html" ], "operationId": "render_blob_header", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "blob header html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or blob not found" } } } }, "/repos/{space_name}/{repo_name}/html/breadcrumbs": { "get": { "tags": [ "html" ], "operationId": "render_breadcrumbs", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "path breadcrumbs html fragment", "content": { "text/html": {} } }, "404": { "description": "repo or ref not found" } } } }, "/repos/{space_name}/{repo_name}/html/clone-buttons": { "get": { "tags": [ "html" ], "operationId": "render_clone_buttons", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "clone buttons html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/commit-diff": { "get": { "tags": [ "html" ], "operationId": "render_commit_diff", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "commit", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "style", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "commit diff html fragment", "content": { "text/html": {} } }, "404": { "description": "repo or commit not found" } } } }, "/repos/{space_name}/{repo_name}/html/commits": { "get": { "tags": [ "html" ], "operationId": "render_commits", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "minimum": 0 } }, { "name": "skip", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "minimum": 0 } } ], "responses": { "200": { "description": "commits list html fragment", "content": { "text/html": {} } }, "404": { "description": "repo or ref not found" } } } }, "/repos/{space_name}/{repo_name}/html/header": { "get": { "tags": [ "html" ], "operationId": "render_header", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repo header html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/languages": { "get": { "tags": [ "html" ], "operationId": "render_languages", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "languages analysis html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/last-commit": { "get": { "tags": [ "html" ], "operationId": "render_last_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "last commit html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/quickstart": { "get": { "tags": [ "html" ], "operationId": "render_quickstart", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "empty repo quickstart html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/readme": { "get": { "tags": [ "html" ], "operationId": "render_readme", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "rendered readme html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or readme not found" } } } }, "/repos/{space_name}/{repo_name}/html/refs-dropdown": { "get": { "tags": [ "html" ], "operationId": "render_refs_dropdown", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "refs dropdown html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/refs-summary": { "get": { "tags": [ "html" ], "operationId": "render_refs_summary", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "refs summary html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/star-button": { "get": { "tags": [ "html" ], "operationId": "render_star_button", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "star button html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/html/tree": { "get": { "tags": [ "html" ], "operationId": "render_tree", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "minimum": 0 } } ], "responses": { "200": { "description": "tree list html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or path not found" } } } }, "/repos/{space_name}/{repo_name}/html/tree-row": { "get": { "tags": [ "html" ], "operationId": "render_tree_row", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "name", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "tree row html fragment", "content": { "text/html": {} } }, "404": { "description": "repo, ref or path not found" } } } }, "/repos/{space_name}/{repo_name}/html/watch-button": { "get": { "tags": [ "html" ], "operationId": "render_watch_button", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "watch button html fragment", "content": { "text/html": {} } }, "404": { "description": "repo not found" } } } }, "/repos/{space_name}/{repo_name}/lfs-pointers": { "get": { "tags": [ "blobs" ], "operationId": "list_lfs_pointers", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 } } ], "responses": { "200": { "description": "list lfs pointers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LfsPointerDto" } } } } } } }, "/repos/{space_name}/{repo_name}/lfs/cleanup": { "post": { "tags": [ "lfs" ], "operationId": "cleanup_unreferenced", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "cleanup unreferenced lfs objects", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LfsCleanupResponse" } } } } } } }, "/repos/{space_name}/{repo_name}/lfs/locks": { "get": { "tags": [ "lfs" ], "operationId": "list_locks", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cursor", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list lfs locks", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LfsLockListResponse" } } } } } }, "post": { "tags": [ "lfs" ], "operationId": "lock", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LfsLockBody" } } }, "required": true }, "responses": { "200": { "description": "lock lfs path", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LfsLock" } } } } } }, "delete": { "tags": [ "lfs" ], "operationId": "unlock", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LfsUnlockBody" } } }, "required": true }, "responses": { "200": { "description": "unlock lfs path", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/lfs/locks/verify": { "post": { "tags": [ "lfs" ], "operationId": "verify_locks", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "verify lfs locks", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LfsVerifyLocksResponse" } } } } } } }, "/repos/{space_name}/{repo_name}/lfs/locks/{lock_id}": { "delete": { "tags": [ "lfs" ], "operationId": "unlock_by_id", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "lock_id", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/LfsUnlockByIdBody" } } }, "required": true }, "responses": { "200": { "description": "unlock lfs lock by id", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/logs": { "get": { "tags": [ "logs" ], "operationId": "log_list", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "skip", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list commits" } } } }, "/repos/{space_name}/{repo_name}/logs/between": { "get": { "tags": [ "logs" ], "operationId": "log_commits_between", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "after", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "before", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "commits between two revisions" } } } }, "/repos/{space_name}/{repo_name}/logs/graph": { "get": { "tags": [ "logs" ], "operationId": "log_graph", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "skip", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "commit graph" } } } }, "/repos/{space_name}/{repo_name}/logs/last": { "get": { "tags": [ "logs" ], "operationId": "log_last_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "branch", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "last commit on branch" } } } }, "/repos/{space_name}/{repo_name}/maintenance/fsck": { "post": { "tags": [ "maintenance" ], "operationId": "fsck", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repository fsck", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FsckDto" } } } } } } }, "/repos/{space_name}/{repo_name}/maintenance/prune": { "post": { "tags": [ "maintenance" ], "operationId": "prune", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repository prune", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PruneResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/packs/ingest": { "post": { "tags": [ "packs" ], "operationId": "ingest", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "text/plain": { "schema": { "type": "string" } } }, "required": true }, "responses": { "200": { "description": "ingest pack file", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IngestPackDto" } } } } } } }, "/repos/{space_name}/{repo_name}/packs/repack": { "post": { "tags": [ "packs" ], "operationId": "repack", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repack repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/packs/stats": { "get": { "tags": [ "packs" ], "operationId": "stats", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "pack statistics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PackStatsDto" } } } } } } }, "/repos/{space_name}/{repo_name}/patch/apply": { "post": { "tags": [ "patches" ], "operationId": "patch_apply", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PatchApplyBody" } } }, "required": true }, "responses": { "200": { "description": "apply patch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AppliedPatchDto" } } } } } } }, "/repos/{space_name}/{repo_name}/patch/generate": { "get": { "tags": [ "patches" ], "operationId": "patch_generate", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "base", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "generate patch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PatchDto" } } } } } } }, "/repos/{space_name}/{repo_name}/path-log": { "get": { "tags": [ "logs" ], "operationId": "path_log", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "commit_hash", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "target_dir", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "path log entries", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PathLogEntryDto" } } } } } } }, "/repos/{space_name}/{repo_name}/pipelines/schedule": { "post": { "tags": [ "pipelines" ], "operationId": "schedule", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "commit", "in": "query", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PipelineScheduleBody" } } }, "required": true }, "responses": { "200": { "description": "schedule pipeline job", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/pipelines/trigger": { "post": { "tags": [ "pipelines" ], "operationId": "trigger", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "commit", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "branch", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "trigger pipeline", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TriggerResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/refs": { "get": { "tags": [ "refs" ], "operationId": "refs_list", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list refs" } } } }, "/repos/{space_name}/{repo_name}/refs/branches": { "get": { "tags": [ "refs" ], "operationId": "refs_branches", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "skip", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list branch refs", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BranchInfoDto" } } } } } } }, "/repos/{space_name}/{repo_name}/refs/contains": { "get": { "tags": [ "refs" ], "operationId": "refs_is_object_in_ref", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "object", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "refname", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "check object in ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IsObjectInRefResponse" } } } } } } }, "/repos/{space_name}/{repo_name}/refs/filtered": { "get": { "tags": [ "refs" ], "operationId": "refs_list_filtered", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "pattern", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list refs by pattern" } } } }, "/repos/{space_name}/{repo_name}/refs/head": { "get": { "tags": [ "refs" ], "operationId": "refs_head", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get head ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_HeadInfoDto" } } } } } } }, "/repos/{space_name}/{repo_name}/refs/{name}": { "get": { "tags": [ "refs" ], "operationId": "refs_get", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get ref" } } }, "delete": { "tags": [ "refs" ], "operationId": "refs_delete", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "delete ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "refs" ], "operationId": "refs_update", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RefUpdateBody" } } }, "required": true }, "responses": { "200": { "description": "update ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UpdateRefResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/refs/{name}/resolve": { "get": { "tags": [ "refs" ], "operationId": "refs_resolve", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "resolve ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_String" } } } } } } }, "/repos/{space_name}/{repo_name}/remotes/fetch": { "post": { "tags": [ "remotes" ], "operationId": "fetch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemoteFetchBody" } } }, "required": true }, "responses": { "200": { "description": "fetch from remote", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FetchResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/remotes/import": { "post": { "tags": [ "remotes" ], "operationId": "clone_import", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemoteImportBody" } } }, "required": true }, "responses": { "200": { "description": "clone and import remote repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ImportResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/remotes/push": { "post": { "tags": [ "remotes" ], "operationId": "push", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemotePushBody" } } }, "required": true }, "responses": { "200": { "description": "push to remote", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PushResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/remotes/{name}": { "post": { "tags": [ "remotes" ], "operationId": "add", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RemoteAddBody" } } }, "required": true }, "responses": { "200": { "description": "add remote", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "remotes" ], "operationId": "remove", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "remove remote", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/rev/{revision}": { "get": { "tags": [ "commits" ], "operationId": "rev_parse", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "parse revision", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_String" } } } } } } }, "/repos/{space_name}/{repo_name}/signatures/commit/{sha}": { "get": { "tags": [ "signatures" ], "operationId": "verify_commit", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "verify commit signature", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_VerifyResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/signatures/tag/{name}": { "get": { "tags": [ "signatures" ], "operationId": "verify_tag", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "verify tag signature", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_VerifyResultDto" } } } } } } }, "/repos/{space_name}/{repo_name}/star": { "get": { "tags": [ "repos" ], "operationId": "is_starred", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "check star status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_StarStatusResp" } } } } } }, "put": { "tags": [ "repos" ], "operationId": "star_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "star repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoStarResp" } } } } } }, "delete": { "tags": [ "repos" ], "operationId": "unstar_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "unstar repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoStarResp" } } } } } } }, "/repos/{space_name}/{repo_name}/stargazers": { "get": { "tags": [ "repos" ], "operationId": "list_stargazers", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list stargazers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_StargazerDto" } } } } } } }, "/repos/{space_name}/{repo_name}/submodules": { "get": { "tags": [ "submodules" ], "operationId": "submodule_list", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list submodules", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SubmoduleDto" } } } } } } }, "/repos/{space_name}/{repo_name}/submodules/resolve": { "get": { "tags": [ "submodules" ], "operationId": "submodule_resolve", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "resolve submodule oid", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_String" } } } } } } }, "/repos/{space_name}/{repo_name}/tag-protection/{policy_id}/whitelists": { "get": { "tags": [ "tag_protection" ], "operationId": "list_tag_whitelists", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list tag whitelists", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_TagWhitelistDto" } } } } } }, "post": { "tags": [ "tag_protection" ], "operationId": "add_tag_whitelist", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddTagWhitelistCmd" } } }, "required": true }, "responses": { "200": { "description": "add tag whitelist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagWhitelistDto" } } } } } } }, "/repos/{space_name}/{repo_name}/tag-protection/{policy_id}/whitelists/{user_id}": { "delete": { "tags": [ "tag_protection" ], "operationId": "remove_tag_whitelist", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "remove tag whitelist", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/tags": { "get": { "tags": [ "tags" ], "operationId": "list_tags", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list tags", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_TagDto" } } } } } }, "post": { "tags": [ "tags" ], "operationId": "create_tag", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTagCmd" } } }, "required": true }, "responses": { "200": { "description": "create tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagDto" } } } } } } }, "/repos/{space_name}/{repo_name}/tags/{name}": { "get": { "tags": [ "tags" ], "operationId": "get_tag", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagDto" } } } } } }, "delete": { "tags": [ "tags" ], "operationId": "delete_tag", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "delete tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/tags/{name}/verify": { "get": { "tags": [ "tags" ], "operationId": "verify_tag", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "verify tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagVerifyDto" } } } } } } }, "/repos/{space_name}/{repo_name}/topics": { "get": { "tags": [ "repos" ], "operationId": "list_repo_topics", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list repo topics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_TopicDto" } } } } } } }, "/repos/{space_name}/{repo_name}/topics/{topic_name}": { "put": { "tags": [ "repos" ], "operationId": "add_topic_to_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "topic_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "add topic to repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TopicDto" } } } } } }, "delete": { "tags": [ "repos" ], "operationId": "remove_topic_from_repo", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "topic_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "remove topic from repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/repos/{space_name}/{repo_name}/tree/follow": { "get": { "tags": [ "trees" ], "operationId": "tree_follow", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "follow tree entry through symlink" } } } }, "/repos/{space_name}/{repo_name}/tree/last-updated": { "get": { "tags": [ "trees" ], "operationId": "tree_last_updated", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "last updated tree entries", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PathLastUpdated" } } } } } } }, "/repos/{space_name}/{repo_name}/tree/resolve": { "get": { "tags": [ "trees" ], "operationId": "tree_resolve_path", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "resolve path to tree entry" } } } }, "/repos/{space_name}/{repo_name}/tree/walk": { "get": { "tags": [ "trees" ], "operationId": "tree_walk", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "recurse", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } }, { "name": "show_trees", "in": "query", "required": false, "schema": { "type": [ "boolean", "null" ] } } ], "responses": { "200": { "description": "walk tree" } } } }, "/repos/{space_name}/{repo_name}/tree/{revision}": { "get": { "tags": [ "trees" ], "operationId": "tree_read", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "revision", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": false, "schema": { "type": [ "string", "null" ] } } ], "responses": { "200": { "description": "read tree entries" } } } }, "/repos/{space_name}/{repo_name}/watch": { "get": { "tags": [ "repos" ], "operationId": "get_watch_mode", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "current watch mode", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_WatchMode" } } } } } }, "put": { "tags": [ "repos" ], "operationId": "upsert_watch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpsertWatchCmd" } } }, "required": true }, "responses": { "200": { "description": "upsert watch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoWatchDto" } } } } } }, "delete": { "tags": [ "repos" ], "operationId": "unwatch", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "unwatch repo", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoWatchDto" } } } } } } }, "/repos/{space_name}/{repo_name}/watchers": { "get": { "tags": [ "repos" ], "operationId": "list_watchers", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "mode", "in": "query", "required": false, "schema": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/WatchMode" } ] } } ], "responses": { "200": { "description": "list watchers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_WatcherDto" } } } } } } }, "/spaces": { "get": { "tags": [ "space" ], "operationId": "list_spaces", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list owned spaces", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpacePage" } } } } } }, "post": { "tags": [ "space" ], "operationId": "create_space", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateSpaceCmd" } } }, "required": true }, "responses": { "200": { "description": "space created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "space name conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/invites/accept": { "post": { "tags": [ "space" ], "operationId": "accept_invite", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AcceptInviteCmd" } } }, "required": true }, "responses": { "200": { "description": "invite accepted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "invite not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}": { "get": { "tags": [ "space" ], "operationId": "get_space", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceDto" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "delete_space", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "space deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "space" ], "operationId": "update_space", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateSpaceCmd" } } }, "required": true }, "responses": { "200": { "description": "space updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "space name conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/avatar": { "get": { "tags": [ "space" ], "operationId": "get_space_avatar", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get space avatar", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_SpaceAvatarDto" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "space" ], "operationId": "upload_space_avatar", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UploadSpaceAvatarCmd" } } }, "required": true }, "responses": { "200": { "description": "space avatar uploaded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceAvatarDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "delete_space_avatar", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "space avatar deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/bans": { "get": { "tags": [ "space" ], "operationId": "list_bans", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list space bans", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BanPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "ban_user", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BanUserCmd" } } }, "required": true }, "responses": { "200": { "description": "user banned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BanDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "user or space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "already banned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/bans/{uid}": { "get": { "tags": [ "space" ], "operationId": "get_ban", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get ban", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BanDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "ban not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "unban_user", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "user unbanned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "ban not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "space" ], "operationId": "update_ban", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateBanCmd" } } }, "required": true }, "responses": { "200": { "description": "ban updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BanDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "ban not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir": { "get": { "tags": [ "space" ], "operationId": "get_space_dir_tree", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get space dir tree", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DirNodeDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "create_dir_node", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateDirCmd" } } }, "required": true }, "responses": { "200": { "description": "dir node created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DirNodeDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space or parent not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/repair-parents": { "post": { "tags": [ "space" ], "operationId": "repair_dir_parents", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "repair dir parents", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepairDirResp" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}": { "patch": { "tags": [ "space" ], "operationId": "update_dir_node", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateDirCmd" } } }, "required": true }, "responses": { "200": { "description": "dir node updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DirNodeDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "dir node not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}/overwrites/groups": { "get": { "tags": [ "space" ], "operationId": "list_dir_group_overwrites", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list dir group overwrites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_GroupOverwriteDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space or dir not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}/overwrites/groups/{group_id}": { "put": { "tags": [ "space" ], "operationId": "set_dir_group_overwrite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetOverwriteCmd" } } }, "required": true }, "responses": { "200": { "description": "set dir group overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_GroupOverwriteDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "remove_dir_group_overwrite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "remove dir group overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}/overwrites/users": { "get": { "tags": [ "space" ], "operationId": "list_dir_user_overwrites", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "list dir user overwrites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_UserOverwriteDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space or dir not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}/overwrites/users/{user_id}": { "put": { "tags": [ "space" ], "operationId": "set_dir_user_overwrite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/SetOverwriteCmd" } } }, "required": true }, "responses": { "200": { "description": "set dir user overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserOverwriteDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "remove_dir_user_overwrite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "remove dir user overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/dir/{dir_id}/position": { "patch": { "tags": [ "space" ], "operationId": "move_dir_node", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "dir_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/MoveDirCmd" } } }, "required": true }, "responses": { "200": { "description": "dir node moved", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DirNodeDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "dir node not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/groups": { "get": { "tags": [ "space" ], "operationId": "list_groups", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list space groups", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_GroupPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "create_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateGroupCmd" } } }, "required": true }, "responses": { "200": { "description": "group created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_GroupDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "group name conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/groups/{group_id}": { "get": { "tags": [ "space" ], "operationId": "get_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get group", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_GroupDto" } } } }, "404": { "description": "group not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "delete_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "group deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "space" ], "operationId": "update_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateGroupCmd" } } }, "required": true }, "responses": { "200": { "description": "group updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_GroupDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "group name conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/groups/{group_id}/join": { "post": { "tags": [ "space" ], "operationId": "join_group_self", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "joined group", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "already in group", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "leave_group_self", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "left group", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/images/{kind}": { "get": { "tags": [ "space" ], "operationId": "get_space_image", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "kind", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/SpaceImageKind" } } ], "responses": { "200": { "description": "get space image", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_SpaceImageDto" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "put": { "tags": [ "space" ], "operationId": "upload_space_image", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "kind", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/SpaceImageKind" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UploadSpaceImageCmd" } } }, "required": true }, "responses": { "200": { "description": "space image uploaded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceImageDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "delete_space_image", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "kind", "in": "path", "required": true, "schema": { "$ref": "#/components/schemas/SpaceImageKind" } } ], "responses": { "200": { "description": "space image deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/invites": { "get": { "tags": [ "space" ], "operationId": "list_invites", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list space invites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_InvitePage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "create_invite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateInviteCmd" } } }, "required": true }, "responses": { "200": { "description": "invite created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_InviteDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "user or space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "active invite conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/invites/{invite_id}": { "delete": { "tags": [ "space" ], "operationId": "revoke_invite", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "invite_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "invite revoked", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_InviteDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "invite not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/join-rules": { "get": { "tags": [ "space" ], "operationId": "list_join_rules", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "list space join rules", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_JoinRuleDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "space not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "create_join_rule", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateJoinRuleCmd" } } }, "required": true }, "responses": { "200": { "description": "join rule created", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_JoinRuleDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/join-rules/{rule_id}": { "delete": { "tags": [ "space" ], "operationId": "delete_join_rule", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "rule_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "join rule deleted", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "space" ], "operationId": "update_join_rule", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "rule_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateJoinRuleCmd" } } }, "required": true }, "responses": { "200": { "description": "join rule updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_JoinRuleDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "conflict", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/members": { "get": { "tags": [ "space" ], "operationId": "list_members", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list space members", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberPage" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "post": { "tags": [ "space" ], "operationId": "add_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AddMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "member added", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "already a member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/members/{uid}": { "get": { "tags": [ "space" ], "operationId": "get_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "get member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberDto" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "member not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "remove_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "member removed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } }, "patch": { "tags": [ "space" ], "operationId": "update_member", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "member updated", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberDto" } } } }, "400": { "description": "bad request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/members/{uid}/groups": { "post": { "tags": [ "space" ], "operationId": "assign_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AssignGroupCmd" } } }, "required": true }, "responses": { "200": { "description": "group assigned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "409": { "description": "already assigned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/spaces/{space_name}/members/{uid}/groups/{group_id}": { "delete": { "tags": [ "space" ], "operationId": "unassign_group", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "group_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "group unassigned", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "403": { "description": "forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } }, "404": { "description": "not found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoData" } } } } } } }, "/suspension": { "get": { "tags": [ "suspension" ], "operationId": "active_suspension", "responses": { "200": { "description": "active suspension for the current user, none when absent", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_SuspensionDto" } } } } } } }, "/topics": { "get": { "tags": [ "topics" ], "operationId": "list_topics", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "list topics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_TopicDto" } } } } } }, "post": { "tags": [ "topics" ], "operationId": "create_topic", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CreateTopicCmd" } } }, "required": true }, "responses": { "200": { "description": "create topic", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TopicDto" } } } } } } }, "/topics/{name}": { "get": { "tags": [ "topics" ], "operationId": "get_topic", "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "get topic", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TopicDto" } } } } } } }, "/topics/{name}/repos": { "get": { "tags": [ "topics" ], "operationId": "list_repos_by_topic", "parameters": [ { "name": "name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "repos using topic", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_TopicRepoDto" } } } } } } }, "/users/{uid}": { "get": { "tags": [ "users" ], "operationId": "get_user", "parameters": [ { "name": "uid", "in": "path", "description": "user id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "public user identity", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserPublic" } } } } } } }, "/users/{uid}/profile-detail": { "get": { "tags": [ "user" ], "operationId": "get_profile_detail", "parameters": [ { "name": "uid", "in": "path", "description": "target user id", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "user profile detail", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProfileDetailDto" } } } } } } } }, "components": { "schemas": { "AcceptAgreementCmd": { "type": "object", "required": [ "version" ], "properties": { "version": { "type": "string" } } }, "AcceptAgreementResp": { "type": "object", "required": [ "recorded" ], "properties": { "recorded": { "type": "boolean" } } }, "AcceptInviteCmd": { "type": "object", "required": [ "accept_code" ], "properties": { "accept_code": { "type": "string" } } }, "AccessKeyDto": { "type": "object", "required": [ "id", "name", "scope", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" } } }, "AccessKeyScope": { "type": "string", "enum": [ "read", "write", "repo", "all" ] }, "AddBranchWhitelistCmd": { "type": "object", "required": [ "kind" ], "properties": { "group_id": { "type": [ "string", "null" ], "format": "uuid" }, "kind": { "$ref": "#/components/schemas/WhitelistKind" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "AddEmailCmd": { "type": "object", "required": [ "email" ], "properties": { "email": { "type": "string" } } }, "AddEmailResp": { "type": "object", "required": [ "pending", "expires_in" ], "properties": { "expires_in": { "type": "integer", "format": "int64" }, "pending": { "type": "boolean" } } }, "AddMemberCmd": { "type": "object", "required": [ "user_id" ], "properties": { "alias_avatar_url": { "type": [ "string", "null" ] }, "alias_name": { "type": [ "string", "null" ] }, "hide_muted_channels": { "type": [ "boolean", "null" ] }, "message_notifications": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessageNotifications" } ] }, "mobile_push": { "type": [ "boolean", "null" ] }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": [ "boolean", "null" ] }, "suppress_everyone": { "type": [ "boolean", "null" ] }, "suppress_roles": { "type": [ "boolean", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "AddMembersCmd": { "type": "object", "required": [ "user_ids" ], "properties": { "user_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "AddSshKeyCmd": { "type": "object", "required": [ "name", "content" ], "properties": { "content": { "type": "string" }, "name": { "type": "string" } } }, "AddTagWhitelistCmd": { "type": "object", "required": [ "user_id" ], "properties": { "user_id": { "type": "string", "format": "uuid" } } }, "AgreementDoc": { "type": "object", "required": [ "key", "version", "title", "content_md" ], "properties": { "content_md": { "type": "string" }, "key": { "type": "string" }, "title": { "type": "string" }, "version": { "type": "string" } } }, "AllowJoinLevel": { "type": "string", "enum": [ "None", "NeedMailActive", "NeedMailActiveAndLastOneMid", "NeedMailActiveAndLastOneHours", "NeedMailActiveAndPhoneActive" ] }, "AppRequestData_AcceptAgreementCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "version" ], "properties": { "version": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddSshKeyCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name", "content" ], "properties": { "content": { "type": "string" }, "name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ChangePasswordCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "old_password", "new_password" ], "properties": { "new_password": { "type": "string" }, "old_password": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ConfirmEmailChangeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "ticket_id", "code" ], "properties": { "code": { "type": "string" }, "ticket_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateAccessKeyCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name", "scope" ], "properties": { "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateReportCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "reported_uid", "reason" ], "properties": { "evidence": { "type": [ "string", "null" ] }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ForgotPasswordCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_LoginCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "identifier", "password", "pow_answer" ], "properties": { "identifier": { "type": "string" }, "ip_hash": { "type": [ "string", "null" ] }, "password": { "type": "string" }, "pow_answer": { "type": "string" }, "ua_hash": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_ReclaimCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RegenerateRecoveryCodesCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "password" ], "properties": { "password": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RegisterCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "password", "pow_answer", "accept_agreements" ], "properties": { "accept_agreements": { "type": "array", "items": { "type": "string" } }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "email": { "type": "string" }, "password": { "type": "string" }, "pow_answer": { "type": "string" }, "username": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_RequestDeletionCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "reason": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_RequestEmailChangeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_email", "password" ], "properties": { "new_email": { "type": "string" }, "password": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ResendCodeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "purpose", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" }, "purpose": { "$ref": "#/components/schemas/EmailVerificationPurpose" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ResetPasswordCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "token", "new_password", "temp_id" ], "properties": { "email": { "type": "string" }, "new_password": { "type": "string" }, "temp_id": { "type": "string", "format": "uuid" }, "token": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_TotpCodeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_TotpEnableCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "code", "password" ], "properties": { "code": { "type": "string" }, "password": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_TwoFactorLoginCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateBirthdayCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "date_of_birth" ], "properties": { "date_of_birth": { "type": "string", "format": "date" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdatePreferencesCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "allow_dms_from": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Audience" } ] }, "allow_mentions_from": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Audience" } ] }, "diff_view_style": { "type": [ "string", "null" ] }, "email_digest": { "type": [ "boolean", "null" ] }, "email_flags": { "type": [ "integer", "null" ], "format": "int32" }, "in_app_flags": { "type": [ "integer", "null" ], "format": "int32" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "push_flags": { "type": [ "integer", "null" ], "format": "int32" }, "show_online_status": { "type": [ "boolean", "null" ] }, "theme_mode": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateProfileCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "display_name": { "type": [ "string", "null" ] }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": [ "boolean", "null" ] }, "show_email": { "type": [ "boolean", "null" ] }, "show_location": { "type": [ "boolean", "null" ] }, "show_real_name": { "type": [ "boolean", "null" ] }, "timezone": { "type": [ "string", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_VerifyEmailCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "purpose", "code", "temp_id" ], "properties": { "code": { "type": "string" }, "email": { "type": "string" }, "purpose": { "$ref": "#/components/schemas/EmailVerificationPurpose" }, "temp_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppResponseData_AcceptAgreementResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "recorded" ], "properties": { "recorded": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AddEmailResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "pending", "expires_in" ], "properties": { "expires_in": { "type": "integer", "format": "int64" }, "pending": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AppliedPatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "applied", "conflicts" ], "properties": { "applied": { "type": "boolean" }, "conflicts": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ArchiveResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "format", "size", "cache_key" ], "properties": { "cache_key": { "type": "string" }, "download_url": { "type": [ "string", "null" ] }, "format": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AttachmentDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "user_id", "filename", "content_type", "size", "status", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "duration_secs": { "type": [ "integer", "null" ], "format": "int32" }, "filename": { "type": "string" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": [ "string", "null" ], "format": "uuid" }, "room_id": { "type": [ "string", "null" ], "format": "uuid" }, "size": { "type": "integer", "format": "int64" }, "status": { "$ref": "#/components/schemas/AttachmentStatus" }, "user_id": { "type": "string", "format": "uuid" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AvatarDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "uid", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "uid": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BanDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "space_id", "created_at", "updated_at", "allow_agent_join", "allow_speak", "allow_push_repo", "allow_comment_any" ], "properties": { "allow_agent_join": { "type": "boolean" }, "allow_comment_any": { "type": "boolean" }, "allow_push_repo": { "type": "boolean" }, "allow_speak": { "type": "boolean" }, "banned_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "reason": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BanPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BanDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BlobContentDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "oid", "data", "size", "is_binary", "truncated" ], "properties": { "data": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "is_binary": { "type": "boolean" }, "oid": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "truncated": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BlobMetaDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "oid", "size", "is_binary", "is_lfs_pointer" ], "properties": { "is_binary": { "type": "boolean" }, "is_lfs_pointer": { "type": "boolean" }, "lfs": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LfsPointerDto" } ] }, "oid": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BoardDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "dir_id", "name", "nums_open_issue", "nums_closed_issue", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "nums_closed_issue": { "type": "integer", "format": "int64" }, "nums_open_issue": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BoardPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BoardDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BookmarkDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "title", "position", "created_by", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "uuid" }, "emoji": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "title": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BranchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "commit_sha", "is_protected", "is_deleted", "created_at", "updated_at" ], "properties": { "commit_sha": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "is_deleted": { "type": "boolean" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BranchWhitelistDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "policy_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "group_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/WhitelistKind" }, "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CodeActivityDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "authors", "total_commits", "total_additions", "total_deletions" ], "properties": { "authors": { "type": "array", "items": { "$ref": "#/components/schemas/CodeActivityAuthorDto" } }, "total_additions": { "type": "integer", "format": "int64" }, "total_commits": { "type": "integer", "format": "int64" }, "total_deletions": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommentDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "poster": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommentPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CommentDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitStatusDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "state", "context", "creator_id", "created_at" ], "properties": { "context": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/CommitStatusDtoState" }, "target_url": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitSyncResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "repo_id", "sha" ], "properties": { "repo_id": { "type": "string" }, "sha": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitsPageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "commits", "total", "skip", "limit", "has_more", "diff_view_style" ], "properties": { "commits": { "type": "array", "items": { "$ref": "#/components/schemas/CommitDto" } }, "diff_view_style": { "type": "string" }, "has_more": { "type": "boolean" }, "limit": { "type": "integer", "format": "int32", "minimum": 0 }, "skip": { "type": "integer", "format": "int32", "minimum": 0 }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ConflictDetailDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "path" ], "properties": { "content": { "type": [ "string", "null" ] }, "path": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ContentHistoryPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ContentHistoryDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CountResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "count" ], "properties": { "count": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CreateAccessKeyResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "key", "token" ], "properties": { "key": { "$ref": "#/components/schemas/AccessKeyDto" }, "token": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DeletionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ], "format": "date-time" }, "status": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DependencyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "issue_id", "dependency_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "dependency_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DirNodeDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "name", "kind", "position", "is_archived", "created_at", "updated_at", "created_by_uid", "children" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/DirNodeDto" } }, "color": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "created_by_uid": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/DirKind" }, "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "purpose": { "type": [ "string", "null" ] }, "topic": { "type": [ "string", "null" ] }, "updated_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DmDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "kind", "name", "last_read_seq", "tip_seq", "unread_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "last_read_seq": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "peer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "tip_seq": { "type": "integer", "format": "int64" }, "unread_count": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DraftDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "room_id", "content", "updated_at" ], "properties": { "content": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_EmailChangeTicketDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "new_email", "status", "created_at", "expires_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "new_email": { "type": "string" }, "status": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_EmailDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "email", "is_activated", "is_primary", "created_at" ], "properties": { "activated_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_activated": { "type": "boolean" }, "is_primary": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_EmojiDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "space_id", "name", "animated", "disabled", "created_at" ], "properties": { "animated": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "space_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_EventPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/EventDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_FetchResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "updated", "new" ], "properties": { "new": { "type": "array", "items": { "type": "string" } }, "updated": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ForgotPasswordResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_FsckDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "ok", "dangling", "broken" ], "properties": { "broken": { "type": "integer", "format": "int64" }, "dangling": { "type": "integer", "format": "int64" }, "ok": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_GroupDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "space_id", "name", "position", "color", "version", "created_at", "permissions" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "created_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "icon_hash": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string" } }, "position": { "type": "integer", "format": "int64" }, "space_id": { "type": "string", "format": "uuid" }, "unicode_emoji": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "version": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_GroupOverwriteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "dir_id", "group_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "group_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_GroupPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/GroupDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_HeadInfoDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "object", "object_type", "is_detached" ], "properties": { "is_detached": { "type": "boolean" }, "name": { "type": "string" }, "object": { "type": "string" }, "object_type": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ImportResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "default_branch", "commit_count" ], "properties": { "commit_count": { "type": "integer", "format": "int64" }, "default_branch": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IngestPackDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "object_count", "size" ], "properties": { "object_count": { "type": "integer", "format": "int64" }, "size": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_InviteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "space_id", "email", "groups", "created_at" ], "properties": { "accepted_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "groups": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "id": { "type": "string", "format": "uuid" }, "revoked_at": { "type": [ "string", "null" ], "format": "date-time" }, "space_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_InvitePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/InviteDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IsAncestorResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "is_ancestor" ], "properties": { "is_ancestor": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IsObjectInRefResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "contains" ], "properties": { "contains": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "board_id", "autoincrement_id", "title", "body", "state", "created_at" ], "properties": { "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "autoincrement_id": { "type": "integer", "format": "int32" }, "board_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "state": { "$ref": "#/components/schemas/IssueState" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueMemberDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "issue_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/IssueMemberKind" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueMemberPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueMemberDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssuePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueUserDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "uid", "issue_id", "is_read", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_read": { "type": "boolean" }, "issue_id": { "type": "string", "format": "uuid" }, "uid": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueUserPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueUserDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_JoinRuleDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "group_id", "trigger", "matcher", "enabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "enabled": { "type": "boolean" }, "group_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "matcher": { "type": "string" }, "trigger": { "$ref": "#/components/schemas/SpaceJoinTrigger" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LabelDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "dir_id", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "exclusive": { "type": "boolean" }, "exclusive_order": { "type": "integer", "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LabelPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/LabelDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LfsCleanupResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "removed" ], "properties": { "removed": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LfsLock": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "path", "locked_at", "owner" ], "properties": { "id": { "type": "string" }, "locked_at": { "type": "string" }, "owner": { "$ref": "#/components/schemas/LfsLockOwner" }, "path": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LfsLockListResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "properties": { "locks": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } }, "next_cursor": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LfsVerifyLocksResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "properties": { "next_cursor": { "type": [ "string", "null" ] }, "ours": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } }, "theirs": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LicenseDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "display_name", "body", "created_at", "updated_at" ], "properties": { "body": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LoginResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "user", "needs_2fa" ], "properties": { "challenge": { "type": [ "string", "null" ] }, "needs_2fa": { "type": "boolean" }, "user": { "$ref": "#/components/schemas/UserPublic" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LogoutResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "logged_out" ], "properties": { "logged_out": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MeResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "user" ], "properties": { "profile": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileDto" } ] }, "user": { "$ref": "#/components/schemas/UserMeDto" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MemberDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "space_id", "status", "joined_at", "created_at", "message_notifications", "muted", "mobile_push", "suppress_everyone", "suppress_roles", "hide_muted_channels" ], "properties": { "alias_avatar_url": { "type": [ "string", "null" ] }, "alias_name": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "hide_muted_channels": { "type": "boolean" }, "invited_at": { "type": [ "string", "null" ], "format": "date-time" }, "invited_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "joined_at": { "type": "string", "format": "date-time" }, "last_active_at": { "type": [ "string", "null" ], "format": "date-time" }, "left_at": { "type": [ "string", "null" ], "format": "date-time" }, "message_notifications": { "$ref": "#/components/schemas/MessageNotifications" }, "mobile_push": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": "boolean" }, "space_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/MemberStatus" }, "suppress_everyone": { "type": "boolean" }, "suppress_roles": { "type": "boolean" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MemberPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MemberDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MemeDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "name", "content_type", "url", "size", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MergeStatusDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "mergeable", "conflicts", "fast_forwardable" ], "properties": { "conflicts": { "type": "array", "items": { "type": "string" } }, "fast_forwardable": { "type": "boolean" }, "mergeable": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MessageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "author_id", "author_type", "thread_broadcast", "message_type", "content", "mentions", "mention_everyone", "attachments", "flags", "pinned", "seq", "created_at" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/AttachmentDto" } }, "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "author_id": { "type": "string", "format": "uuid" }, "author_type": { "$ref": "#/components/schemas/AuthorType" }, "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "edited_at": { "type": [ "string", "null" ], "format": "date-time" }, "flags": { "type": "integer", "format": "int64" }, "forwarded_from_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "mention_everyone": { "type": "boolean" }, "mentions": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "message_type": { "$ref": "#/components/schemas/ChatMessageType" }, "pinned": { "type": "boolean" }, "pinned_at": { "type": [ "string", "null" ], "format": "date-time" }, "pinned_by": { "type": [ "string", "null" ], "format": "uuid" }, "reactions": { "type": "array", "items": { "$ref": "#/components/schemas/ReactionAggDto" } }, "reply_to_id": { "type": [ "string", "null" ], "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" }, "seq": { "type": "integer", "format": "int64" }, "thread_broadcast": { "type": "boolean" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "webhook_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MessagePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "has_more" ], "properties": { "has_more": { "type": "boolean" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/MessageDto" } }, "newest_seq": { "type": [ "integer", "null" ], "format": "int64" }, "oldest_seq": { "type": [ "integer", "null" ], "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MilestoneDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "board_id", "name", "is_closed", "nums_issues", "nums_closed_issues", "created_at" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_closed": { "type": "boolean" }, "name": { "type": "string" }, "nums_closed_issues": { "type": "integer", "format": "int64" }, "nums_issues": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MilestonePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MilestoneDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_NoData": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "default": null }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_AvatarDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "uid", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "uid": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_DeletionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "id", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ], "format": "date-time" }, "status": { "type": "string" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_DraftDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "room_id", "content", "updated_at" ], "properties": { "content": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_SpaceAvatarDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "space_id", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_SpaceImageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "space_id", "kind", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "kind": { "$ref": "#/components/schemas/SpaceImageKind" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_StopwatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "id", "issue_id", "started_at", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "started_at": { "type": "string", "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_SuspensionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "object", "required": [ "id", "suspension_type", "starts_at" ], "properties": { "ends_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "starts_at": { "type": "string", "format": "date-time" }, "suspension_type": { "type": "string" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_WatchMode": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "oneOf": [ { "type": "null" }, { "type": "string", "enum": [ "normal", "no_watch", "watch", "ignore" ] } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PackStatsDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "loose_count", "size_bytes" ], "properties": { "loose_count": { "type": "integer", "format": "int64" }, "size_bytes": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ParsedPatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "files", "additions", "deletions" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "files": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "content", "size" ], "properties": { "content": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PinDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "board_id", "pin_order", "created_at" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PowChallengeResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "nonce", "difficulty", "expires_at" ], "properties": { "difficulty": { "type": "integer", "format": "int32", "minimum": 0 }, "expires_at": { "type": "integer", "format": "int64" }, "mac": { "type": [ "string", "null" ] }, "nonce": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PresenceDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "user_id", "status", "activities", "online" ], "properties": { "activities": {}, "last_seen_at": { "type": [ "string", "null" ], "format": "date-time" }, "online": { "type": "boolean" }, "status": { "$ref": "#/components/schemas/PresenceStatus" }, "user_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ProfileDetailDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url", "visibility", "show_email", "show_location", "show_real_name", "show_activity", "updated_at" ], "properties": { "accent_color": { "type": [ "string", "null" ] }, "avatar_url": { "type": "string" }, "banner_url": { "type": [ "string", "null" ] }, "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": "boolean" }, "show_email": { "type": "boolean" }, "show_location": { "type": "boolean" }, "show_real_name": { "type": "boolean" }, "uid": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "username": { "type": "string" }, "visibility": { "$ref": "#/components/schemas/ProfileVisibility" }, "website": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PruneResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "reachable", "unreachable", "total" ], "properties": { "reachable": { "type": "integer", "format": "int64" }, "total": { "type": "integer", "format": "int64" }, "unreachable": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PushResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "pushed", "rejected" ], "properties": { "pushed": { "type": "array", "items": { "type": "string" } }, "rejected": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PushSubscriptionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "endpoint", "platform", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushSubscriptionPlatform" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user_agent": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RawDownloadDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "size", "is_lfs_pointer" ], "properties": { "id": { "type": "string" }, "is_lfs_pointer": { "type": "boolean" }, "size": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReactionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "scope", "target_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "scope": { "$ref": "#/components/schemas/ReactionScope" }, "target_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReadStateDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "room_id", "last_read_seq", "tip_seq", "unread_count", "unread_mentions" ], "properties": { "last_read_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "last_read_seq": { "type": "integer", "format": "int64" }, "last_viewed_at": { "type": [ "string", "null" ], "format": "date-time" }, "room_id": { "type": "string", "format": "uuid" }, "tip_seq": { "type": "integer", "format": "int64" }, "unread_count": { "type": "integer", "format": "int64" }, "unread_mentions": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReclaimResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RecoveryCodesResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "total", "used", "codes" ], "properties": { "codes": { "type": "array", "items": { "type": "string" } }, "total": { "type": "integer", "minimum": 0 }, "used": { "type": "integer", "minimum": 0 } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RegisterResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "uid", "pending", "purpose", "temp_key" ], "properties": { "pending": { "type": "boolean" }, "purpose": { "type": "string" }, "temp_key": { "$ref": "#/components/schemas/TempKey" }, "uid": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReminderDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "message_id", "remind_at", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "remind_at": { "type": "string", "format": "date-time" }, "room_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReminderStatus" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepairDirResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "scanned", "fixed" ], "properties": { "fixed": { "type": "integer", "format": "int64" }, "scanned": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "dir_id", "name", "default_branch", "nums_watch", "nums_star", "nums_pr", "nums_commits", "nums_branches", "nums_tags", "enable_lfs", "is_private", "is_archived", "size", "git_size", "lfs_size", "object_format", "created_at", "updated_at" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "default_branch": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "enable_lfs": { "type": "boolean" }, "git_size": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "is_private": { "type": "boolean" }, "last_pushed_at": { "type": [ "string", "null" ], "format": "date-time" }, "lfs_size": { "type": "integer", "format": "int64" }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "nums_branches": { "type": "integer", "format": "int32" }, "nums_commits": { "type": "integer", "format": "int32" }, "nums_pr": { "type": "integer", "format": "int32" }, "nums_star": { "type": "integer", "format": "int32" }, "nums_tags": { "type": "integer", "format": "int32" }, "nums_watch": { "type": "integer", "format": "int32" }, "object_format": { "type": "string" }, "primary_language": { "type": [ "string", "null" ] }, "size": { "type": "integer", "format": "int64" }, "storage_limit_size": { "type": [ "integer", "null" ], "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" }, "website": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoRelDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "issue_id", "repo_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoStarResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "stars" ], "properties": { "stars": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoWatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "user_id", "repo_id", "mode", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "repo_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "user_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReportDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "reported_uid", "reason", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReportStatus" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ResendCodeResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RoomBriefDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "kind", "name", "position", "is_private", "nsfw", "unread_count", "unread_mentions", "favorite", "muted", "hidden", "member_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "favorite": { "type": "boolean" }, "hidden": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "is_private": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "member_count": { "type": "integer", "format": "int64" }, "muted": { "type": "boolean" }, "name": { "type": "string" }, "nsfw": { "type": "boolean" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "rate_limit_per_user": { "type": [ "integer", "null" ], "format": "int32" }, "space_id": { "type": [ "string", "null" ], "format": "uuid" }, "topic": { "type": [ "string", "null" ] }, "unread_count": { "type": "integer", "format": "int64" }, "unread_mentions": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RoomInviteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "inviter_id", "accept_code", "created_at" ], "properties": { "accept_code": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "invitee_user_id": { "type": [ "string", "null" ], "format": "uuid" }, "inviter_id": { "type": "string", "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RoomSettingDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "room_id", "notification_level", "muted", "favorite", "hidden" ], "properties": { "favorite": { "type": "boolean" }, "hidden": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": "boolean" }, "notification_level": { "$ref": "#/components/schemas/RoomNotificationLevel" }, "room_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SavedMessageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "channel_id", "message_id", "saved_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "saved_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ScriptOutputDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "exit_code", "stdout", "stderr" ], "properties": { "exit_code": { "type": "integer", "format": "int32" }, "stderr": { "type": "string" }, "stdout": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SearchPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SearchHitDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SignatureDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "email", "when" ], "properties": { "email": { "type": "string" }, "name": { "type": "string" }, "when": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceAvatarDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "space_id", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "lower_name", "name", "is_private", "is_active", "allow_join", "allow_invite", "nums_members", "allow_join_level", "member_must_enable_2fa", "created_at", "updated_at" ], "properties": { "allow_invite": { "type": "boolean" }, "allow_join": { "type": "boolean" }, "allow_join_level": { "$ref": "#/components/schemas/AllowJoinLevel" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_active": { "type": "boolean" }, "is_private": { "type": "boolean" }, "lower_name": { "type": "string" }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "nums_members": { "type": "integer", "format": "int64" }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "updated_at": { "type": "string", "format": "date-time" }, "welcome_message": { "type": [ "string", "null" ] }, "welcome_object": { "type": [ "string", "null" ], "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceImageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "space_id", "kind", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "kind": { "$ref": "#/components/schemas/SpaceImageKind" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpacePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceReadStatePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ReadStateDto" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SshKeyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "name", "key_type", "fingerprint", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "name": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_StarStatusResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "starred" ], "properties": { "starred": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_StopwatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "issue_id", "started_at", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "started_at": { "type": "string", "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_String": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "string" }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "tag_type", "target_sha" ], "properties": { "created_at": { "type": [ "string", "null" ], "format": "date-time" }, "message": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "tag_type": { "$ref": "#/components/schemas/TagType" }, "tagger_email": { "type": [ "string", "null" ] }, "tagger_name": { "type": [ "string", "null" ] }, "target_sha": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagVerifyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "valid" ], "properties": { "error_message": { "type": [ "string", "null" ] }, "fingerprint": { "type": [ "string", "null" ] }, "signer": { "type": [ "string", "null" ] }, "valid": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagWhitelistDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "policy_id", "user_id" ], "properties": { "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ThreadDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "root_message_id", "owner_id", "reply_count", "participant_count", "archived", "locked", "created_at", "updated_at" ], "properties": { "archived": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "last_reply_at": { "type": [ "string", "null" ], "format": "date-time" }, "last_reply_id": { "type": [ "string", "null" ], "format": "uuid" }, "locked": { "type": "boolean" }, "name": { "type": [ "string", "null" ] }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "owner_id": { "type": "string", "format": "uuid" }, "participant_count": { "type": "integer", "format": "int64" }, "reply_count": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "root_message_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ThreadPage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ThreadDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TopicDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "name", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TotpSetupResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "secret", "otpauth_uri" ], "properties": { "otpauth_uri": { "type": "string" }, "secret": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TotpStatusResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "enabled" ], "properties": { "enabled": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TrackedTimePage": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TrackedTimeDto" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TriggerResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "job_id", "queued" ], "properties": { "job_id": { "type": "string" }, "queued": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UnreadCountResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "count" ], "properties": { "count": { "type": "integer", "format": "int64", "minimum": 0 } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UpdateRefResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "name", "new_oid", "protected" ], "properties": { "name": { "type": "string" }, "new_oid": { "type": "string" }, "old_oid": { "type": [ "string", "null" ] }, "protected": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UploadIntentDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "upload_url", "expires_secs" ], "properties": { "expires_secs": { "type": "integer", "format": "int64", "minimum": 0 }, "id": { "type": "string", "format": "uuid" }, "upload_url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UserOverwriteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "dir_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "user_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UserPreferencesDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "theme_mode", "in_app_flags", "email_flags", "push_flags", "email_digest", "allow_dms_from", "allow_mentions_from", "show_online_status" ], "properties": { "allow_dms_from": { "$ref": "#/components/schemas/Audience" }, "allow_mentions_from": { "$ref": "#/components/schemas/Audience" }, "diff_view_style": { "type": [ "string", "null" ] }, "email_digest": { "type": "boolean" }, "email_flags": { "type": "integer", "format": "int32" }, "in_app_flags": { "type": "integer", "format": "int32" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "push_flags": { "type": "integer", "format": "int32" }, "show_online_status": { "type": "boolean" }, "theme_mode": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UserPublic": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "uid": { "type": "string", "format": "uuid" }, "username": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_AccessKeyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "name", "scope", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_AgreementDoc": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "key", "version", "title", "content_md" ], "properties": { "content_md": { "type": "string" }, "key": { "type": "string" }, "title": { "type": "string" }, "version": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_BlameRangeDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "starting_line", "ending_line", "commit_sha", "abbreviated_oid" ], "properties": { "abbreviated_oid": { "type": "string" }, "commit_sha": { "type": "string" }, "ending_line": { "type": "integer", "format": "int32" }, "path": { "type": [ "string", "null" ] }, "starting_line": { "type": "integer", "format": "int32" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_BookmarkDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "room_id", "title", "position", "created_by", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "uuid" }, "emoji": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "title": { "type": "string" }, "url": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_BranchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "name", "commit_sha", "is_protected", "is_deleted", "created_at", "updated_at" ], "properties": { "commit_sha": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "is_deleted": { "type": "boolean" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_BranchInfoDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "name", "commit_sha", "is_protected" ], "properties": { "commit_message": { "type": [ "string", "null" ] }, "commit_sha": { "type": "string" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_BranchWhitelistDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "policy_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "group_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/WhitelistKind" }, "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_CommitStatusDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "state", "context", "creator_id", "created_at" ], "properties": { "context": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/CommitStatusDtoState" }, "target_url": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ContributorStatDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "name", "email", "commits", "additions", "deletions" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "commits": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "email": { "type": "string" }, "name": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DependencyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "issue_id", "dependency_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "dependency_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DiffTreeRecordDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "status", "score" ], "properties": { "base_blob_id": { "type": [ "string", "null" ] }, "base_mode": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "base_path": { "type": [ "string", "null" ] }, "head_blob_id": { "type": [ "string", "null" ] }, "head_mode": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "head_path": { "type": [ "string", "null" ] }, "score": { "type": "integer", "format": "int32", "minimum": 0 }, "status": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DirNodeDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "name", "kind", "position", "is_archived", "created_at", "updated_at", "created_by_uid", "children" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/DirNodeDto" } }, "color": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "created_by_uid": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/DirKind" }, "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "purpose": { "type": [ "string", "null" ] }, "topic": { "type": [ "string", "null" ] }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DmDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "kind", "name", "last_read_seq", "tip_seq", "unread_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "last_read_seq": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "peer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "tip_seq": { "type": "integer", "format": "int64" }, "unread_count": { "type": "integer", "format": "int64" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DraftDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "room_id", "content", "updated_at" ], "properties": { "content": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_EmailDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "email", "is_activated", "is_primary", "created_at" ], "properties": { "activated_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_activated": { "type": "boolean" }, "is_primary": { "type": "boolean" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_EmojiDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "space_id", "name", "animated", "disabled", "created_at" ], "properties": { "animated": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "space_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_GroupOverwriteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "dir_id", "group_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "group_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_JoinRuleDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "group_id", "trigger", "matcher", "enabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "enabled": { "type": "boolean" }, "group_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "matcher": { "type": "string" }, "trigger": { "$ref": "#/components/schemas/SpaceJoinTrigger" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_LabelDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "dir_id", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "exclusive": { "type": "boolean" }, "exclusive_order": { "type": "integer", "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_LanguageStatDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "language", "percentage_bp", "size", "is_primary" ], "properties": { "is_primary": { "type": "boolean" }, "language": { "type": "string" }, "percentage_bp": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int64" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_LfsPointerDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "version" ], "properties": { "oid": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "format": "int64" }, "version": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_LicenseDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "name", "display_name", "body", "created_at", "updated_at" ], "properties": { "body": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_MemeDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "name", "content_type", "url", "size", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_MessageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "room_id", "author_id", "author_type", "thread_broadcast", "message_type", "content", "mentions", "mention_everyone", "attachments", "flags", "pinned", "seq", "created_at" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/AttachmentDto" } }, "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "author_id": { "type": "string", "format": "uuid" }, "author_type": { "$ref": "#/components/schemas/AuthorType" }, "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "edited_at": { "type": [ "string", "null" ], "format": "date-time" }, "flags": { "type": "integer", "format": "int64" }, "forwarded_from_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "mention_everyone": { "type": "boolean" }, "mentions": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "message_type": { "$ref": "#/components/schemas/ChatMessageType" }, "pinned": { "type": "boolean" }, "pinned_at": { "type": [ "string", "null" ], "format": "date-time" }, "pinned_by": { "type": [ "string", "null" ], "format": "uuid" }, "reactions": { "type": "array", "items": { "$ref": "#/components/schemas/ReactionAggDto" } }, "reply_to_id": { "type": [ "string", "null" ], "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" }, "seq": { "type": "integer", "format": "int64" }, "thread_broadcast": { "type": "boolean" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "webhook_id": { "type": [ "string", "null" ], "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_MessageEditDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "message_id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "editor": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_MySpaceDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "space", "permissions" ], "properties": { "permissions": { "type": "array", "items": { "type": "string" } }, "space": { "$ref": "#/components/schemas/SpaceDto" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_NotificationDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "notification_type", "title", "created_at" ], "properties": { "actor_uid": { "type": [ "string", "null" ], "format": "uuid" }, "body": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "data": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Value" } ] }, "id": { "type": "string", "format": "uuid" }, "notification_type": { "$ref": "#/components/schemas/NotificationType" }, "read_at": { "type": [ "string", "null" ], "format": "date-time" }, "title": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PathLastUpdated": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "path", "object_type", "last_updated", "commit_id" ], "properties": { "commit_id": { "type": "string" }, "last_updated": { "type": "integer", "format": "int64" }, "object_type": { "type": "integer", "format": "int32" }, "path": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PathLogEntryDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "path", "short_sha", "date", "author", "subject" ], "properties": { "author": { "type": "string" }, "date": { "type": "string" }, "path": { "type": "string" }, "short_sha": { "type": "string" }, "subject": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PinDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "board_id", "pin_order", "created_at" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PresenceDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "user_id", "status", "activities", "online" ], "properties": { "activities": {}, "last_seen_at": { "type": [ "string", "null" ], "format": "date-time" }, "online": { "type": "boolean" }, "status": { "$ref": "#/components/schemas/PresenceStatus" }, "user_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PushSubscriptionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "endpoint", "platform", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushSubscriptionPlatform" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user_agent": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ReactionAggDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "emoji", "count", "me" ], "properties": { "count": { "type": "integer", "format": "int64" }, "emoji": { "type": "string" }, "me": { "type": "boolean" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ReactionUserDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "emoji", "user", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "emoji": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserBriefDto" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RecentMentionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "channel_id", "message_id", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ReminderDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "room_id", "message_id", "remind_at", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "remind_at": { "type": "string", "format": "date-time" }, "room_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReminderStatus" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RepoDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "dir_id", "name", "default_branch", "nums_watch", "nums_star", "nums_pr", "nums_commits", "nums_branches", "nums_tags", "enable_lfs", "is_private", "is_archived", "size", "git_size", "lfs_size", "object_format", "created_at", "updated_at" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "default_branch": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "enable_lfs": { "type": "boolean" }, "git_size": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "is_private": { "type": "boolean" }, "last_pushed_at": { "type": [ "string", "null" ], "format": "date-time" }, "lfs_size": { "type": "integer", "format": "int64" }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "nums_branches": { "type": "integer", "format": "int32" }, "nums_commits": { "type": "integer", "format": "int32" }, "nums_pr": { "type": "integer", "format": "int32" }, "nums_star": { "type": "integer", "format": "int32" }, "nums_tags": { "type": "integer", "format": "int32" }, "nums_watch": { "type": "integer", "format": "int32" }, "object_format": { "type": "string" }, "primary_language": { "type": [ "string", "null" ] }, "size": { "type": "integer", "format": "int64" }, "storage_limit_size": { "type": [ "integer", "null" ], "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" }, "website": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RepoRelDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "issue_id", "repo_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ReportDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "reported_uid", "reason", "status", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "resolution_note": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/ReportStatus" }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RoomBriefDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "kind", "name", "position", "is_private", "nsfw", "unread_count", "unread_mentions", "favorite", "muted", "hidden", "member_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "favorite": { "type": "boolean" }, "hidden": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "is_private": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "member_count": { "type": "integer", "format": "int64" }, "muted": { "type": "boolean" }, "name": { "type": "string" }, "nsfw": { "type": "boolean" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "rate_limit_per_user": { "type": [ "integer", "null" ], "format": "int32" }, "space_id": { "type": [ "string", "null" ], "format": "uuid" }, "topic": { "type": [ "string", "null" ] }, "unread_count": { "type": "integer", "format": "int64" }, "unread_mentions": { "type": "integer", "format": "int64" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RoomMemberDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "user", "joined_at" ], "properties": { "joined_at": { "type": "string", "format": "date-time" }, "nick": { "type": [ "string", "null" ] }, "user": { "$ref": "#/components/schemas/UserBriefDto" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SavedMessageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "channel_id", "message_id", "saved_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "saved_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ScheduledMessageDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "target_channel_id", "payload", "scheduled_at", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "payload": {}, "scheduled_at": { "type": "string", "format": "date-time" }, "status": { "$ref": "#/components/schemas/ScheduledMessageStatus" }, "target_channel_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SessionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "kind", "last_seen_at", "created_at", "expires_at", "is_revoked" ], "properties": { "client_ip_hash": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "device_id": { "type": [ "string", "null" ], "format": "uuid" }, "expires_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_revoked": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/SessionKind" }, "last_seen_at": { "type": "string", "format": "date-time" }, "revoked_at": { "type": [ "string", "null" ], "format": "date-time" }, "user_agent_hash": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SshKeyDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "name", "key_type", "fingerprint", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "name": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_StargazerDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "user_id", "username", "display_name", "avatar_url", "starred_at" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "starred_at": { "type": "string", "format": "date-time" }, "user_id": { "type": "string", "format": "uuid" }, "username": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_String": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "string" } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SubmoduleDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "path", "url" ], "properties": { "branch": { "type": [ "string", "null" ] }, "commit_sha": { "type": [ "string", "null" ] }, "path": { "type": "string" }, "url": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SuspensionDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "suspension_type", "starts_at", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "ends_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "revoked_at": { "type": [ "string", "null" ], "format": "date-time" }, "starts_at": { "type": "string", "format": "date-time" }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_TagDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "name", "tag_type", "target_sha" ], "properties": { "created_at": { "type": [ "string", "null" ], "format": "date-time" }, "message": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "tag_type": { "$ref": "#/components/schemas/TagType" }, "tagger_email": { "type": [ "string", "null" ] }, "tagger_name": { "type": [ "string", "null" ] }, "target_sha": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_TagWhitelistDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "policy_id", "user_id" ], "properties": { "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ThreadDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "room_id", "root_message_id", "owner_id", "reply_count", "participant_count", "archived", "locked", "created_at", "updated_at" ], "properties": { "archived": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "last_reply_at": { "type": [ "string", "null" ], "format": "date-time" }, "last_reply_id": { "type": [ "string", "null" ], "format": "uuid" }, "locked": { "type": "boolean" }, "name": { "type": [ "string", "null" ] }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "owner_id": { "type": "string", "format": "uuid" }, "participant_count": { "type": "integer", "format": "int64" }, "reply_count": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "root_message_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_TopicDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "name", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_TopicRepoDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "repo_id", "repo_name", "space_name", "is_private" ], "properties": { "is_private": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "repo_name": { "type": "string" }, "space_name": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_UserOverwriteDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "dir_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "user_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_WatcherDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "user_id", "username", "display_name", "avatar_url", "mode", "watching_since" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "user_id": { "type": "string", "format": "uuid" }, "username": { "type": "string" }, "watching_since": { "type": "string", "format": "date-time" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_WebhookDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "type": "object", "required": [ "id", "room_id", "name", "disabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "last_used_at": { "type": [ "string", "null" ], "format": "date-time" }, "name": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_VerifyEmailResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "verified" ], "properties": { "verified": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_VerifyResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "signed", "valid" ], "properties": { "error_message": { "type": [ "string", "null" ] }, "key_id": { "type": [ "string", "null" ] }, "signed": { "type": "boolean" }, "signer": { "type": [ "string", "null" ] }, "valid": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_WatchDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "mode", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_WebhookSecretDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id", "room_id", "name", "token", "disabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "token": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_WriteObjectResultDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_WsTicketDto": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "ticket", "ttl_secs" ], "properties": { "ticket": { "type": "string" }, "ttl_secs": { "type": "integer", "format": "int64", "minimum": 0 } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppliedPatchDto": { "type": "object", "required": [ "applied", "conflicts" ], "properties": { "applied": { "type": "boolean" }, "conflicts": { "type": "array", "items": { "type": "string" } } } }, "ArchiveResultDto": { "type": "object", "required": [ "format", "size", "cache_key" ], "properties": { "cache_key": { "type": "string" }, "download_url": { "type": [ "string", "null" ] }, "format": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "AssignGroupCmd": { "type": "object", "required": [ "group_id" ], "properties": { "group_id": { "type": "string", "format": "uuid" } } }, "AttachmentDto": { "type": "object", "required": [ "id", "user_id", "filename", "content_type", "size", "status", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "duration_secs": { "type": [ "integer", "null" ], "format": "int32" }, "filename": { "type": "string" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": [ "string", "null" ], "format": "uuid" }, "room_id": { "type": [ "string", "null" ], "format": "uuid" }, "size": { "type": "integer", "format": "int64" }, "status": { "$ref": "#/components/schemas/AttachmentStatus" }, "user_id": { "type": "string", "format": "uuid" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "AttachmentStatus": { "type": "string", "enum": [ "Pending", "Uploaded", "Ready", "Failed" ] }, "Audience": { "type": "string", "enum": [ "Everyone", "FollowingOnly", "Nobody" ] }, "AuthorType": { "type": "string", "enum": [ "User", "Bot", "Webhook" ] }, "AvatarDto": { "type": "object", "required": [ "uid", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "uid": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } }, "AvatarFormat": { "type": "string", "enum": [ "jpg", "png", "webp", "gif" ] }, "BanDto": { "type": "object", "required": [ "space_id", "created_at", "updated_at", "allow_agent_join", "allow_speak", "allow_push_repo", "allow_comment_any" ], "properties": { "allow_agent_join": { "type": "boolean" }, "allow_comment_any": { "type": "boolean" }, "allow_push_repo": { "type": "boolean" }, "allow_speak": { "type": "boolean" }, "banned_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "reason": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "BanPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BanDto" } }, "total": { "type": "integer", "format": "int64" } } }, "BanUserCmd": { "type": "object", "required": [ "user_id" ], "properties": { "allow_agent_join": { "type": [ "boolean", "null" ] }, "allow_comment_any": { "type": [ "boolean", "null" ] }, "allow_push_repo": { "type": [ "boolean", "null" ] }, "allow_speak": { "type": [ "boolean", "null" ] }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "reason": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "BlameRangeDto": { "type": "object", "required": [ "starting_line", "ending_line", "commit_sha", "abbreviated_oid" ], "properties": { "abbreviated_oid": { "type": "string" }, "commit_sha": { "type": "string" }, "ending_line": { "type": "integer", "format": "int32" }, "path": { "type": [ "string", "null" ] }, "starting_line": { "type": "integer", "format": "int32" } } }, "BlobContentDto": { "type": "object", "required": [ "oid", "data", "size", "is_binary", "truncated" ], "properties": { "data": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "is_binary": { "type": "boolean" }, "oid": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "truncated": { "type": "boolean" } } }, "BlobMetaDto": { "type": "object", "required": [ "oid", "size", "is_binary", "is_lfs_pointer" ], "properties": { "is_binary": { "type": "boolean" }, "is_lfs_pointer": { "type": "boolean" }, "lfs": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/LfsPointerDto" } ] }, "oid": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "BoardDto": { "type": "object", "required": [ "id", "dir_id", "name", "nums_open_issue", "nums_closed_issue", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "nums_closed_issue": { "type": "integer", "format": "int64" }, "nums_open_issue": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "BoardPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BoardDto" } }, "total": { "type": "integer", "format": "int64" } } }, "BoardPath": { "type": "object", "required": [ "space_name", "board_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "BookmarkDto": { "type": "object", "required": [ "id", "room_id", "title", "position", "created_by", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "uuid" }, "emoji": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "title": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "BranchDto": { "type": "object", "required": [ "name", "commit_sha", "is_protected", "is_deleted", "created_at", "updated_at" ], "properties": { "commit_sha": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "is_deleted": { "type": "boolean" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "BranchInfoDto": { "type": "object", "required": [ "name", "commit_sha", "is_protected" ], "properties": { "commit_message": { "type": [ "string", "null" ] }, "commit_sha": { "type": "string" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" } } }, "BranchWhitelistDto": { "type": "object", "required": [ "id", "policy_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "group_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/WhitelistKind" }, "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "BulkDeleteCmd": { "type": "object", "required": [ "message_ids" ], "properties": { "message_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "CallerSignatureBody": { "type": "object", "properties": { "when": { "type": [ "string", "null" ] } } }, "ChangePasswordCmd": { "type": "object", "required": [ "old_password", "new_password" ], "properties": { "new_password": { "type": "string" }, "old_password": { "type": "string" } } }, "ChangedPathDiffDto": { "type": "object", "required": [ "path", "lines_added", "lines_removed", "binary" ], "properties": { "binary": { "type": "boolean" }, "lines_added": { "type": "integer", "format": "int64", "minimum": 0 }, "lines_removed": { "type": "integer", "format": "int64", "minimum": 0 }, "patch": { "type": [ "string", "null" ] }, "path": { "$ref": "#/components/schemas/ChangedPathDto" } } }, "ChangedPathDto": { "type": "object", "required": [ "new_path", "old_mode", "new_mode", "status" ], "properties": { "new_mode": { "type": "integer", "format": "int32", "minimum": 0 }, "new_oid": { "type": [ "string", "null" ] }, "new_path": { "type": "string" }, "old_mode": { "type": "integer", "format": "int32", "minimum": 0 }, "old_oid": { "type": [ "string", "null" ] }, "old_path": { "type": [ "string", "null" ] }, "status": { "type": "string" } } }, "ChatMessageType": { "type": "string", "enum": [ "Default", "Reply", "ThreadCreated", "ChannelJoin", "ChannelLeave", "ChannelTopic", "ChannelPinnedItem", "Reminder", "Scheduled", "System" ] }, "CodeActivityAuthorDto": { "type": "object", "required": [ "name", "email", "commits", "additions", "deletions" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "commits": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "email": { "type": "string" }, "name": { "type": "string" } } }, "CodeActivityDto": { "type": "object", "required": [ "authors", "total_commits", "total_additions", "total_deletions" ], "properties": { "authors": { "type": "array", "items": { "$ref": "#/components/schemas/CodeActivityAuthorDto" } }, "total_additions": { "type": "integer", "format": "int64" }, "total_commits": { "type": "integer", "format": "int64" }, "total_deletions": { "type": "integer", "format": "int64" } } }, "CommentDto": { "type": "object", "required": [ "id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "poster": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "CommentPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CommentDto" } }, "total": { "type": "integer", "format": "int64" } } }, "CommentPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "comment_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "comment_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "CommentReactionPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "comment_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "comment_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "CommitDto": { "type": "object", "required": [ "id", "tree_id", "parents", "author_name", "author_email", "author_time", "committer_name", "committer_email", "committer_time", "message" ], "properties": { "author_email": { "type": "string" }, "author_name": { "type": "string" }, "author_time": { "type": "integer", "format": "int64" }, "committer_email": { "type": "string" }, "committer_name": { "type": "string" }, "committer_time": { "type": "integer", "format": "int64" }, "id": { "type": "string" }, "message": { "type": "string" }, "parents": { "type": "array", "items": { "type": "string" } }, "tree_id": { "type": "string" } } }, "CommitObjectBody": { "type": "object", "required": [ "kind", "parents", "tree", "message", "author", "committer" ], "properties": { "author": { "$ref": "#/components/schemas/SignatureDto" }, "committer": { "$ref": "#/components/schemas/SignatureDto" }, "kind": { "$ref": "#/components/schemas/ObjectKind" }, "message": { "type": "string" }, "parents": { "type": "array", "items": { "type": "string" } }, "tree": { "type": "string" } } }, "CommitStatusDto": { "type": "object", "required": [ "state", "context", "creator_id", "created_at" ], "properties": { "context": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/CommitStatusDtoState" }, "target_url": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "CommitStatusDtoState": { "type": "string", "enum": [ "pending", "success", "failure", "error" ] }, "CommitStatusState": { "type": "string", "enum": [ "pending", "success", "failure", "error", "warning", "skipped" ] }, "CommitSyncResponse": { "type": "object", "required": [ "repo_id", "sha" ], "properties": { "repo_id": { "type": "string" }, "sha": { "type": "string" } } }, "CommitsPageDto": { "type": "object", "required": [ "commits", "total", "skip", "limit", "has_more", "diff_view_style" ], "properties": { "commits": { "type": "array", "items": { "$ref": "#/components/schemas/CommitDto" } }, "diff_view_style": { "type": "string" }, "has_more": { "type": "boolean" }, "limit": { "type": "integer", "format": "int32", "minimum": 0 }, "skip": { "type": "integer", "format": "int32", "minimum": 0 }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "ConfirmEmailChangeCmd": { "type": "object", "required": [ "ticket_id", "code" ], "properties": { "code": { "type": "string" }, "ticket_id": { "type": "string", "format": "uuid" } } }, "ConflictCheckThreewayBody": { "type": "object", "required": [ "ours", "theirs", "ancestor" ], "properties": { "ancestor": { "type": "string" }, "ours": { "type": "string" }, "theirs": { "type": "string" } } }, "ConflictDetailDto": { "type": "object", "required": [ "path" ], "properties": { "content": { "type": [ "string", "null" ] }, "path": { "type": "string" } } }, "ContentHistoryDto": { "type": "object", "required": [ "id", "issue_id", "edited_at", "created_at" ], "properties": { "comment_id": { "type": [ "string", "null" ], "format": "uuid" }, "content_after": { "type": [ "string", "null" ] }, "content_before": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "edited_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "poster": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "ContentHistoryPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ContentHistoryDto" } }, "total": { "type": "integer", "format": "int64" } } }, "ContentHistoryPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "ContributorStatDto": { "type": "object", "required": [ "name", "email", "commits", "additions", "deletions" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "commits": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "email": { "type": "string" }, "name": { "type": "string" } } }, "CountResp": { "type": "object", "required": [ "count" ], "properties": { "count": { "type": "integer", "format": "int64" } } }, "CreateAccessKeyCmd": { "type": "object", "required": [ "name", "scope" ], "properties": { "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" } } }, "CreateAccessKeyResp": { "type": "object", "required": [ "key", "token" ], "properties": { "key": { "$ref": "#/components/schemas/AccessKeyDto" }, "token": { "type": "string" } } }, "CreateAttachmentCmd": { "type": "object", "required": [ "filename", "content_type", "size" ], "properties": { "content_type": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "filename": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "CreateBoardCmd": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateBookmarkCmd": { "type": "object", "required": [ "title" ], "properties": { "emoji": { "type": [ "string", "null" ] }, "title": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "CreateBranchCmd": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" }, "start_point": { "type": [ "string", "null" ] } } }, "CreateCommentCmd": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateDependencyCmd": { "type": "object", "required": [ "dependency_id" ], "properties": { "dependency_id": { "type": "string", "format": "uuid" } } }, "CreateDirCmd": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": [ "integer", "null" ], "format": "int64" } } }, "CreateGroupCmd": { "type": "object", "required": [ "name" ], "properties": { "color": { "type": [ "string", "null" ] }, "icon_hash": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string" } }, "position": { "type": [ "integer", "null" ], "format": "int64" }, "unicode_emoji": { "type": [ "string", "null" ] } } }, "CreateInviteCmd": { "type": "object", "properties": { "email": { "type": [ "string", "null" ] }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "group_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateIssueCmd": { "type": "object", "required": [ "title" ], "properties": { "body": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": "string" } } }, "CreateIssueMemberCmd": { "type": "object", "required": [ "user_id", "kind" ], "properties": { "kind": { "$ref": "#/components/schemas/IssueMemberKind" }, "user_id": { "type": "string", "format": "uuid" } } }, "CreateJoinRuleCmd": { "type": "object", "required": [ "group_id" ], "properties": { "group_id": { "type": "string", "format": "uuid" }, "matcher": { "type": "string" }, "trigger": { "$ref": "#/components/schemas/SpaceJoinTrigger" } } }, "CreateLabelCmd": { "type": "object", "required": [ "name", "color" ], "properties": { "color": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "exclusive": { "type": [ "boolean", "null" ] }, "exclusive_order": { "type": [ "integer", "null" ], "format": "int32" }, "name": { "type": "string" } } }, "CreateMilestoneCmd": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ], "format": "date-time" }, "name": { "type": "string" } } }, "CreatePinCmd": { "type": "object", "required": [ "issue_id", "pin_order" ], "properties": { "issue_id": { "type": "string", "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "CreateReactionCmd": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "CreateReminderCmd": { "type": "object", "required": [ "remind_at" ], "properties": { "remind_at": { "type": "string", "format": "date-time" } } }, "CreateRepoCmd": { "type": "object", "required": [ "name" ], "properties": { "default_branch": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": "boolean" }, "init_message": { "type": [ "string", "null" ] }, "is_private": { "type": "boolean" }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateRepoRelCmd": { "type": "object", "required": [ "repo_id" ], "properties": { "repo_id": { "type": "string", "format": "uuid" } } }, "CreateReportCmd": { "type": "object", "required": [ "reported_uid", "reason" ], "properties": { "evidence": { "type": [ "string", "null" ] }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" } } }, "CreateRoomInviteCmd": { "type": "object", "properties": { "expires_secs": { "type": [ "integer", "null" ], "format": "int64" }, "invitee_user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateSpaceCmd": { "type": "object", "required": [ "name" ], "properties": { "allow_invite": { "type": "boolean" }, "allow_join": { "type": "boolean" }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "is_private": { "type": "boolean" }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "welcome_message": { "type": [ "string", "null" ] }, "welcome_object": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateTagCmd": { "type": "object", "required": [ "name", "target" ], "properties": { "annotated": { "type": "boolean" }, "message": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "target": { "type": "string" } } }, "CreateThreadCmd": { "type": "object", "properties": { "name": { "type": [ "string", "null" ] } } }, "CreateTopicCmd": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "CreateWebhookCmd": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "DeletionDto": { "type": "object", "required": [ "id", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ], "format": "date-time" }, "status": { "type": "string" } } }, "DependencyDto": { "type": "object", "required": [ "id", "issue_id", "dependency_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "dependency_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" } } }, "DependencyPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "dep_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "dep_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "DiffTreeRecordDto": { "type": "object", "required": [ "status", "score" ], "properties": { "base_blob_id": { "type": [ "string", "null" ] }, "base_mode": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "base_path": { "type": [ "string", "null" ] }, "head_blob_id": { "type": [ "string", "null" ] }, "head_mode": { "type": [ "integer", "null" ], "format": "int32", "minimum": 0 }, "head_path": { "type": [ "string", "null" ] }, "score": { "type": "integer", "format": "int32", "minimum": 0 }, "status": { "type": "string" } } }, "DirKind": { "type": "string", "enum": [ "Dir", "Object" ] }, "DirNodeDto": { "type": "object", "required": [ "id", "name", "kind", "position", "is_archived", "created_at", "updated_at", "created_by_uid", "children" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/DirNodeDto" } }, "color": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "created_by_uid": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/DirKind" }, "name": { "type": "string" }, "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "purpose": { "type": [ "string", "null" ] }, "topic": { "type": [ "string", "null" ] }, "updated_at": { "type": "string", "format": "date-time" } } }, "DmDto": { "type": "object", "required": [ "id", "kind", "name", "last_read_seq", "tip_seq", "unread_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "last_read_seq": { "type": "integer", "format": "int64" }, "name": { "type": "string" }, "peer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "tip_seq": { "type": "integer", "format": "int64" }, "unread_count": { "type": "integer", "format": "int64" } } }, "DraftDto": { "type": "object", "required": [ "room_id", "content", "updated_at" ], "properties": { "content": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } }, "DraftQuery": { "type": "object", "properties": { "thread_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "EmailChangeTicketDto": { "type": "object", "required": [ "id", "new_email", "status", "created_at", "expires_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "new_email": { "type": "string" }, "status": { "type": "string" } } }, "EmailDto": { "type": "object", "required": [ "id", "email", "is_activated", "is_primary", "created_at" ], "properties": { "activated_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_activated": { "type": "boolean" }, "is_primary": { "type": "boolean" } } }, "EmailVerificationPurpose": { "type": "string", "enum": [ "signup", "password_reset", "add_email" ] }, "EmojiDto": { "type": "object", "required": [ "id", "space_id", "name", "animated", "disabled", "created_at" ], "properties": { "animated": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "space_id": { "type": "string", "format": "uuid" } } }, "EventDto": { "type": "object", "required": [ "id", "event_type", "created_at" ], "properties": { "comment_id": { "type": [ "string", "null" ], "format": "uuid" }, "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "event_type": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "new_ref": { "type": [ "string", "null" ] }, "new_title": { "type": [ "string", "null" ] }, "old_ref": { "type": [ "string", "null" ] }, "old_title": { "type": [ "string", "null" ] }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "EventPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/EventDto" } }, "total": { "type": "integer", "format": "int64" } } }, "EventPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "FetchResultDto": { "type": "object", "required": [ "updated", "new" ], "properties": { "new": { "type": "array", "items": { "type": "string" } }, "updated": { "type": "array", "items": { "type": "string" } } } }, "FileEntryDto": { "type": "object", "required": [ "path", "content", "executable" ], "properties": { "content": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "executable": { "type": "boolean" }, "path": { "type": "string" } } }, "FinalizeAttachmentCmd": { "type": "object", "properties": { "duration_secs": { "type": [ "integer", "null" ], "format": "int32" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "ForgotPasswordCmd": { "type": "object", "required": [ "email", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" } } }, "ForgotPasswordResp": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "ForwardMessageCmd": { "type": "object", "required": [ "target_room_id" ], "properties": { "comment": { "type": [ "string", "null" ] }, "target_room_id": { "type": "string", "format": "uuid" } } }, "FsckDto": { "type": "object", "required": [ "ok", "dangling", "broken" ], "properties": { "broken": { "type": "integer", "format": "int64" }, "dangling": { "type": "integer", "format": "int64" }, "ok": { "type": "boolean" } } }, "GroupDto": { "type": "object", "required": [ "id", "space_id", "name", "position", "color", "version", "created_at", "permissions" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "created_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "icon_hash": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string" } }, "position": { "type": "integer", "format": "int64" }, "space_id": { "type": "string", "format": "uuid" }, "unicode_emoji": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "version": { "type": "integer", "format": "int32" } } }, "GroupOverwriteDto": { "type": "object", "required": [ "dir_id", "group_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "group_id": { "type": "string", "format": "uuid" } } }, "GroupPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/GroupDto" } }, "total": { "type": "integer", "format": "int64" } } }, "HeadInfoDto": { "type": "object", "required": [ "name", "object", "object_type", "is_detached" ], "properties": { "is_detached": { "type": "boolean" }, "name": { "type": "string" }, "object": { "type": "string" }, "object_type": { "type": "integer", "format": "int32" } } }, "HookExecBody": { "type": "object", "properties": { "args": { "type": "array", "items": { "type": "string" } } } }, "ImportResultDto": { "type": "object", "required": [ "default_branch", "commit_count" ], "properties": { "commit_count": { "type": "integer", "format": "int64" }, "default_branch": { "type": "string" } } }, "IncludeRevokedQuery": { "type": "object", "properties": { "include_revoked": { "type": [ "boolean", "null" ] } } }, "IngestPackDto": { "type": "object", "required": [ "object_count", "size" ], "properties": { "object_count": { "type": "integer", "format": "int64" }, "size": { "type": "integer", "format": "int64" } } }, "InviteDto": { "type": "object", "required": [ "id", "space_id", "email", "groups", "created_at" ], "properties": { "accepted_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "email": { "type": "string" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "groups": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "id": { "type": "string", "format": "uuid" }, "revoked_at": { "type": [ "string", "null" ], "format": "date-time" }, "space_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "InvitePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/InviteDto" } }, "total": { "type": "integer", "format": "int64" } } }, "IsAncestorResponse": { "type": "object", "required": [ "is_ancestor" ], "properties": { "is_ancestor": { "type": "boolean" } } }, "IsObjectInRefResponse": { "type": "object", "required": [ "contains" ], "properties": { "contains": { "type": "boolean" } } }, "IssueDto": { "type": "object", "required": [ "id", "board_id", "autoincrement_id", "title", "body", "state", "created_at" ], "properties": { "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "autoincrement_id": { "type": "integer", "format": "int32" }, "board_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "state": { "$ref": "#/components/schemas/IssueState" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "IssueLabelPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "label_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "label_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "IssueMemberDto": { "type": "object", "required": [ "id", "issue_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/IssueMemberKind" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "IssueMemberKind": { "type": "string", "enum": [ "assignee", "mentioned", "participant" ] }, "IssueMemberPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueMemberDto" } }, "total": { "type": "integer", "format": "int64" } } }, "IssueMemberPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "member_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "member_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "IssuePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueDto" } }, "total": { "type": "integer", "format": "int64" } } }, "IssuePath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "IssueState": { "type": "string", "enum": [ "open", "closed" ] }, "IssueUserDto": { "type": "object", "required": [ "id", "uid", "issue_id", "is_read", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_read": { "type": "boolean" }, "issue_id": { "type": "string", "format": "uuid" }, "uid": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "IssueUserPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueUserDto" } }, "total": { "type": "integer", "format": "int64" } } }, "IssueUserPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "uid" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" }, "uid": { "type": "string", "format": "uuid" } } }, "JobDto": { "type": "object", "required": [ "id", "name", "state" ], "properties": { "finished_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string" }, "name": { "type": "string" }, "started_at": { "type": [ "string", "null" ], "format": "date-time" }, "state": { "$ref": "#/components/schemas/CommitStatusState" } } }, "JoinRuleDto": { "type": "object", "required": [ "id", "group_id", "trigger", "matcher", "enabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "enabled": { "type": "boolean" }, "group_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "matcher": { "type": "string" }, "trigger": { "$ref": "#/components/schemas/SpaceJoinTrigger" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "LabelDto": { "type": "object", "required": [ "id", "dir_id", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "exclusive": { "type": "boolean" }, "exclusive_order": { "type": "integer", "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "LabelPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/LabelDto" } }, "total": { "type": "integer", "format": "int64" } } }, "LabelPath": { "type": "object", "required": [ "space_name", "board_id", "label_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "label_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "LanguageStatDto": { "type": "object", "required": [ "language", "percentage_bp", "size", "is_primary" ], "properties": { "is_primary": { "type": "boolean" }, "language": { "type": "string" }, "percentage_bp": { "type": "integer", "format": "int32" }, "size": { "type": "integer", "format": "int64" } } }, "LfsCleanupResponse": { "type": "object", "required": [ "removed" ], "properties": { "removed": { "type": "integer", "format": "int64" } } }, "LfsLock": { "type": "object", "required": [ "id", "path", "locked_at", "owner" ], "properties": { "id": { "type": "string" }, "locked_at": { "type": "string" }, "owner": { "$ref": "#/components/schemas/LfsLockOwner" }, "path": { "type": "string" } } }, "LfsLockBody": { "type": "object", "required": [ "path" ], "properties": { "oid": { "type": [ "string", "null" ] }, "path": { "type": "string" } } }, "LfsLockListResponse": { "type": "object", "properties": { "locks": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } }, "next_cursor": { "type": [ "string", "null" ] } } }, "LfsLockOwner": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "LfsPointerDto": { "type": "object", "required": [ "version" ], "properties": { "oid": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "format": "int64" }, "version": { "type": "string" } } }, "LfsUnlockBody": { "type": "object", "required": [ "path" ], "properties": { "force": { "type": [ "boolean", "null" ] }, "path": { "type": "string" } } }, "LfsUnlockByIdBody": { "type": "object", "properties": { "force": { "type": [ "boolean", "null" ] } } }, "LfsVerifyLocksResponse": { "type": "object", "properties": { "next_cursor": { "type": [ "string", "null" ] }, "ours": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } }, "theirs": { "type": "array", "items": { "$ref": "#/components/schemas/LfsLock" } } } }, "LicenseDto": { "type": "object", "required": [ "name", "display_name", "body", "created_at", "updated_at" ], "properties": { "body": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": [ "string", "null" ] } } }, "ListBoardQuery": { "type": "object", "properties": { "dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] } } }, "ListCommentQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "ListContentHistoryQuery": { "type": "object", "properties": { "comment_id": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListEventQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListIssueMemberQuery": { "type": "object", "properties": { "kind": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/IssueMemberKind" } ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListIssueQuery": { "type": "object", "properties": { "author_id": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] }, "state": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/IssueState" } ] } } }, "ListIssueUserQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListLabelQuery": { "type": "object", "properties": { "is_archived": { "type": [ "boolean", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] } } }, "ListLimitQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListMessageQuery": { "type": "object", "properties": { "after_seq": { "type": [ "integer", "null" ], "format": "int64" }, "author_id": { "type": [ "string", "null" ], "format": "uuid" }, "before_seq": { "type": [ "integer", "null" ], "format": "int64" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "ListMilestoneQuery": { "type": "object", "properties": { "is_closed": { "type": [ "boolean", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] } } }, "ListSessionsQuery": { "type": "object", "properties": { "include_revoked": { "type": [ "boolean", "null" ] }, "kind": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SessionKind" } ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListThreadQuery": { "type": "object", "properties": { "archived": { "type": [ "boolean", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListTrackedTimeQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "LoginCmd": { "type": "object", "required": [ "identifier", "password", "pow_answer" ], "properties": { "identifier": { "type": "string" }, "ip_hash": { "type": [ "string", "null" ] }, "password": { "type": "string" }, "pow_answer": { "type": "string" }, "ua_hash": { "type": [ "string", "null" ] } } }, "LoginResp": { "type": "object", "required": [ "user", "needs_2fa" ], "properties": { "challenge": { "type": [ "string", "null" ] }, "needs_2fa": { "type": "boolean" }, "user": { "$ref": "#/components/schemas/UserPublic" } } }, "LogoutResp": { "type": "object", "required": [ "logged_out" ], "properties": { "logged_out": { "type": "boolean" } } }, "MarkReadCmd": { "type": "object", "properties": { "message_id": { "type": [ "string", "null" ], "format": "uuid" }, "seq": { "type": [ "integer", "null" ], "format": "int64" } } }, "MarkThreadReadQuery": { "type": "object", "properties": { "message_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "MeResp": { "type": "object", "required": [ "user" ], "properties": { "profile": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileDto" } ] }, "user": { "$ref": "#/components/schemas/UserMeDto" } } }, "MemberDto": { "type": "object", "required": [ "space_id", "status", "joined_at", "created_at", "message_notifications", "muted", "mobile_push", "suppress_everyone", "suppress_roles", "hide_muted_channels" ], "properties": { "alias_avatar_url": { "type": [ "string", "null" ] }, "alias_name": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "hide_muted_channels": { "type": "boolean" }, "invited_at": { "type": [ "string", "null" ], "format": "date-time" }, "invited_by": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "joined_at": { "type": "string", "format": "date-time" }, "last_active_at": { "type": [ "string", "null" ], "format": "date-time" }, "left_at": { "type": [ "string", "null" ], "format": "date-time" }, "message_notifications": { "$ref": "#/components/schemas/MessageNotifications" }, "mobile_push": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": "boolean" }, "space_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/MemberStatus" }, "suppress_everyone": { "type": "boolean" }, "suppress_roles": { "type": "boolean" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "MemberPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MemberDto" } }, "total": { "type": "integer", "format": "int64" } } }, "MemberStatus": { "type": "string", "enum": [ "Active", "Inactive", "Left", "Removed" ] }, "MemeDto": { "type": "object", "required": [ "id", "name", "content_type", "url", "size", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "MergeStatusDto": { "type": "object", "required": [ "mergeable", "conflicts", "fast_forwardable" ], "properties": { "conflicts": { "type": "array", "items": { "type": "string" } }, "fast_forwardable": { "type": "boolean" }, "mergeable": { "type": "boolean" } } }, "MessageDto": { "type": "object", "required": [ "id", "room_id", "author_id", "author_type", "thread_broadcast", "message_type", "content", "mentions", "mention_everyone", "attachments", "flags", "pinned", "seq", "created_at" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/AttachmentDto" } }, "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "author_id": { "type": "string", "format": "uuid" }, "author_type": { "$ref": "#/components/schemas/AuthorType" }, "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "deleted_at": { "type": [ "string", "null" ], "format": "date-time" }, "edited_at": { "type": [ "string", "null" ], "format": "date-time" }, "flags": { "type": "integer", "format": "int64" }, "forwarded_from_id": { "type": [ "string", "null" ], "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "mention_everyone": { "type": "boolean" }, "mentions": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "message_type": { "$ref": "#/components/schemas/ChatMessageType" }, "pinned": { "type": "boolean" }, "pinned_at": { "type": [ "string", "null" ], "format": "date-time" }, "pinned_by": { "type": [ "string", "null" ], "format": "uuid" }, "reactions": { "type": "array", "items": { "$ref": "#/components/schemas/ReactionAggDto" } }, "reply_to_id": { "type": [ "string", "null" ], "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" }, "seq": { "type": "integer", "format": "int64" }, "thread_broadcast": { "type": "boolean" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "webhook_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "MessageEditDto": { "type": "object", "required": [ "id", "message_id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "editor": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "MessageNotifications": { "type": "string", "enum": [ "All", "Mentions", "Nothing" ] }, "MessagePage": { "type": "object", "required": [ "items", "has_more" ], "properties": { "has_more": { "type": "boolean" }, "items": { "type": "array", "items": { "$ref": "#/components/schemas/MessageDto" } }, "newest_seq": { "type": [ "integer", "null" ], "format": "int64" }, "oldest_seq": { "type": [ "integer", "null" ], "format": "int64" } } }, "MessagePath": { "type": "object", "required": [ "room_id", "message_id" ], "properties": { "message_id": { "type": "string", "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" } } }, "MilestoneDto": { "type": "object", "required": [ "id", "board_id", "name", "is_closed", "nums_issues", "nums_closed_issues", "created_at" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_closed": { "type": "boolean" }, "name": { "type": "string" }, "nums_closed_issues": { "type": "integer", "format": "int64" }, "nums_issues": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "MilestonePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MilestoneDto" } }, "total": { "type": "integer", "format": "int64" } } }, "MilestonePath": { "type": "object", "required": [ "space_name", "board_id", "milestone_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "milestone_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "MoveDirCmd": { "type": "object", "properties": { "parent_dir_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": [ "integer", "null" ], "format": "int64" } } }, "MySpaceDto": { "type": "object", "required": [ "space", "permissions" ], "properties": { "permissions": { "type": "array", "items": { "type": "string" } }, "space": { "$ref": "#/components/schemas/SpaceDto" } } }, "NoData": { "default": null }, "NotificationDto": { "type": "object", "required": [ "id", "notification_type", "title", "created_at" ], "properties": { "actor_uid": { "type": [ "string", "null" ], "format": "uuid" }, "body": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "data": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Value" } ] }, "id": { "type": "string", "format": "uuid" }, "notification_type": { "$ref": "#/components/schemas/NotificationType" }, "read_at": { "type": [ "string", "null" ], "format": "date-time" }, "title": { "type": "string" } } }, "NotificationType": { "type": "string", "enum": [ "mention", "reply", "follow", "invite", "assignment", "system" ] }, "ObjectKind": { "type": "string", "enum": [ "merge", "squash" ] }, "OpenDmCmd": { "type": "object", "required": [ "peer_user_id" ], "properties": { "peer_user_id": { "type": "string", "format": "uuid" } } }, "PackStatsDto": { "type": "object", "required": [ "loose_count", "size_bytes" ], "properties": { "loose_count": { "type": "integer", "format": "int64" }, "size_bytes": { "type": "integer", "format": "int64" } } }, "ParsedPatchDto": { "type": "object", "required": [ "files", "additions", "deletions" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "files": { "type": "array", "items": { "type": "string" } } } }, "PatchApplyBody": { "type": "object", "required": [ "patch", "base" ], "properties": { "base": { "type": "string" }, "patch": { "type": "string" } } }, "PatchDto": { "type": "object", "required": [ "content", "size" ], "properties": { "content": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "PathLastUpdated": { "type": "object", "required": [ "path", "object_type", "last_updated", "commit_id" ], "properties": { "commit_id": { "type": "string" }, "last_updated": { "type": "integer", "format": "int64" }, "object_type": { "type": "integer", "format": "int32" }, "path": { "type": "string" } } }, "PathLogEntryDto": { "type": "object", "required": [ "path", "short_sha", "date", "author", "subject" ], "properties": { "author": { "type": "string" }, "date": { "type": "string" }, "path": { "type": "string" }, "short_sha": { "type": "string" }, "subject": { "type": "string" } } }, "PinCmd": { "type": "object", "required": [ "pinned" ], "properties": { "pinned": { "type": "boolean" } } }, "PinDto": { "type": "object", "required": [ "id", "board_id", "pin_order", "created_at" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "PinPath": { "type": "object", "required": [ "space_name", "board_id", "pin_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "pin_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "PipelineCancelBody": { "type": "object", "required": [ "job_id" ], "properties": { "job_id": { "type": "string" } } }, "PipelineScheduleBody": { "type": "object", "required": [ "job" ], "properties": { "job": { "$ref": "#/components/schemas/JobDto" } } }, "PowChallengeResp": { "type": "object", "required": [ "nonce", "difficulty", "expires_at" ], "properties": { "difficulty": { "type": "integer", "format": "int32", "minimum": 0 }, "expires_at": { "type": "integer", "format": "int64" }, "mac": { "type": [ "string", "null" ] }, "nonce": { "type": "string" } } }, "PresenceDto": { "type": "object", "required": [ "user_id", "status", "activities", "online" ], "properties": { "activities": {}, "last_seen_at": { "type": [ "string", "null" ], "format": "date-time" }, "online": { "type": "boolean" }, "status": { "$ref": "#/components/schemas/PresenceStatus" }, "user_id": { "type": "string", "format": "uuid" } } }, "PresenceStatus": { "type": "string", "enum": [ "Active", "Away", "Dnd", "Offline" ] }, "ProfileDetailDto": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url", "visibility", "show_email", "show_location", "show_real_name", "show_activity", "updated_at" ], "properties": { "accent_color": { "type": [ "string", "null" ] }, "avatar_url": { "type": "string" }, "banner_url": { "type": [ "string", "null" ] }, "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": "boolean" }, "show_email": { "type": "boolean" }, "show_location": { "type": "boolean" }, "show_real_name": { "type": "boolean" }, "uid": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "username": { "type": "string" }, "visibility": { "$ref": "#/components/schemas/ProfileVisibility" }, "website": { "type": [ "string", "null" ] } } }, "ProfileDto": { "type": "object", "required": [ "show_email", "show_location", "show_real_name", "show_activity" ], "properties": { "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "location": { "type": [ "string", "null" ] }, "privacy_agreed_at": { "type": [ "string", "null" ], "format": "date-time" }, "pronouns": { "type": [ "string", "null" ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": "boolean" }, "show_email": { "type": "boolean" }, "show_location": { "type": "boolean" }, "show_real_name": { "type": "boolean" }, "website": { "type": [ "string", "null" ] } } }, "ProfileVisibility": { "type": "string", "enum": [ "Public", "RegisteredOnly", "MembersOnly", "Private" ] }, "PruneResultDto": { "type": "object", "required": [ "reachable", "unreachable", "total" ], "properties": { "reachable": { "type": "integer", "format": "int64" }, "total": { "type": "integer", "format": "int64" }, "unreachable": { "type": "integer", "format": "int64" } } }, "PushResultDto": { "type": "object", "required": [ "pushed", "rejected" ], "properties": { "pushed": { "type": "array", "items": { "type": "string" } }, "rejected": { "type": "array", "items": { "type": "string" } } } }, "PushSubscriptionDto": { "type": "object", "required": [ "id", "endpoint", "platform", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushSubscriptionPlatform" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user_agent": { "type": [ "string", "null" ] } } }, "PushSubscriptionPlatform": { "type": "string", "enum": [ "WebPush", "AndroidFcm", "IosApns" ] }, "RawDownloadDto": { "type": "object", "required": [ "id", "size", "is_lfs_pointer" ], "properties": { "id": { "type": "string" }, "is_lfs_pointer": { "type": "boolean" }, "size": { "type": "integer", "format": "int64" } } }, "ReactionAggDto": { "type": "object", "required": [ "emoji", "count", "me" ], "properties": { "count": { "type": "integer", "format": "int64" }, "emoji": { "type": "string" }, "me": { "type": "boolean" } } }, "ReactionCmd": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "ReactionDto": { "type": "object", "required": [ "id", "scope", "target_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "scope": { "$ref": "#/components/schemas/ReactionScope" }, "target_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "ReactionPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "reaction_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "reaction_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "ReactionScope": { "type": "string", "enum": [ "issue", "comment" ] }, "ReactionUserDto": { "type": "object", "required": [ "emoji", "user", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "emoji": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserBriefDto" } } }, "ReadStateDto": { "type": "object", "required": [ "room_id", "last_read_seq", "tip_seq", "unread_count", "unread_mentions" ], "properties": { "last_read_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "last_read_seq": { "type": "integer", "format": "int64" }, "last_viewed_at": { "type": [ "string", "null" ], "format": "date-time" }, "room_id": { "type": "string", "format": "uuid" }, "tip_seq": { "type": "integer", "format": "int64" }, "unread_count": { "type": "integer", "format": "int64" }, "unread_mentions": { "type": "integer", "format": "int64" } } }, "RecentMentionDto": { "type": "object", "required": [ "id", "channel_id", "message_id", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "ReclaimCmd": { "type": "object", "required": [ "email", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" } } }, "ReclaimResp": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "RecoveryCodesResp": { "type": "object", "required": [ "total", "used", "codes" ], "properties": { "codes": { "type": "array", "items": { "type": "string" } }, "total": { "type": "integer", "minimum": 0 }, "used": { "type": "integer", "minimum": 0 } } }, "RefUpdateBody": { "type": "object", "required": [ "new_oid" ], "properties": { "expected_oid": { "type": [ "string", "null" ] }, "new_oid": { "type": "string" } } }, "RegenerateRecoveryCodesCmd": { "type": "object", "required": [ "password" ], "properties": { "password": { "type": "string" } } }, "RegisterCmd": { "type": "object", "required": [ "email", "password", "pow_answer", "accept_agreements" ], "properties": { "accept_agreements": { "type": "array", "items": { "type": "string" } }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "email": { "type": "string" }, "password": { "type": "string" }, "pow_answer": { "type": "string" }, "username": { "type": [ "string", "null" ] } } }, "RegisterResp": { "type": "object", "required": [ "uid", "pending", "purpose", "temp_key" ], "properties": { "pending": { "type": "boolean" }, "purpose": { "type": "string" }, "temp_key": { "$ref": "#/components/schemas/TempKey" }, "uid": { "type": "string", "format": "uuid" } } }, "ReminderDto": { "type": "object", "required": [ "id", "room_id", "message_id", "remind_at", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "remind_at": { "type": "string", "format": "date-time" }, "room_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReminderStatus" } } }, "ReminderStatus": { "type": "string", "enum": [ "Pending", "Done", "Cancelled", "Delivering" ] }, "RemoteAddBody": { "type": "object", "required": [ "url" ], "properties": { "url": { "type": "string" } } }, "RemoteAuthDto": { "type": "object", "properties": { "token": { "type": [ "string", "null" ] } } }, "RemoteFetchBody": { "type": "object", "required": [ "remote" ], "properties": { "auth": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RemoteAuthDto" } ] }, "remote": { "type": "string" } } }, "RemoteImportBody": { "type": "object", "required": [ "url" ], "properties": { "auth": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RemoteAuthDto" } ] }, "url": { "type": "string" } } }, "RemotePushBody": { "type": "object", "required": [ "remote" ], "properties": { "auth": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RemoteAuthDto" } ] }, "refspec": { "type": [ "string", "null" ] }, "remote": { "type": "string" } } }, "RepairDirResp": { "type": "object", "required": [ "scanned", "fixed" ], "properties": { "fixed": { "type": "integer", "format": "int64" }, "scanned": { "type": "integer", "format": "int64" } } }, "RepoDto": { "type": "object", "required": [ "id", "dir_id", "name", "default_branch", "nums_watch", "nums_star", "nums_pr", "nums_commits", "nums_branches", "nums_tags", "enable_lfs", "is_private", "is_archived", "size", "git_size", "lfs_size", "object_format", "created_at", "updated_at" ], "properties": { "archived_at": { "type": [ "string", "null" ], "format": "date-time" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "default_branch": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "dir_id": { "type": "string", "format": "uuid" }, "enable_lfs": { "type": "boolean" }, "git_size": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "is_private": { "type": "boolean" }, "last_pushed_at": { "type": [ "string", "null" ], "format": "date-time" }, "lfs_size": { "type": "integer", "format": "int64" }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "nums_branches": { "type": "integer", "format": "int32" }, "nums_commits": { "type": "integer", "format": "int32" }, "nums_pr": { "type": "integer", "format": "int32" }, "nums_star": { "type": "integer", "format": "int32" }, "nums_tags": { "type": "integer", "format": "int32" }, "nums_watch": { "type": "integer", "format": "int32" }, "object_format": { "type": "string" }, "primary_language": { "type": [ "string", "null" ] }, "size": { "type": "integer", "format": "int64" }, "storage_limit_size": { "type": [ "integer", "null" ], "format": "int64" }, "updated_at": { "type": "string", "format": "date-time" }, "website": { "type": [ "string", "null" ] } } }, "RepoRelDto": { "type": "object", "required": [ "id", "issue_id", "repo_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" } } }, "RepoRelPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id", "rel_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "rel_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "RepoStarDto": { "type": "object", "required": [ "user_id", "repo_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "repo_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "RepoStarResp": { "type": "object", "required": [ "stars" ], "properties": { "stars": { "type": "integer", "format": "int32" } } }, "RepoWatchDto": { "type": "object", "required": [ "user_id", "repo_id", "mode", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "repo_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "user_id": { "type": "string", "format": "uuid" } } }, "ReportDto": { "type": "object", "required": [ "id", "reported_uid", "reason", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReportStatus" } } }, "ReportStatus": { "type": "string", "enum": [ "open", "under_review", "resolved", "dismissed" ] }, "RequestDeletionCmd": { "type": "object", "properties": { "reason": { "type": [ "string", "null" ] } } }, "RequestEmailChangeCmd": { "type": "object", "required": [ "new_email", "password" ], "properties": { "new_email": { "type": "string" }, "password": { "type": "string" } } }, "ResendCodeCmd": { "type": "object", "required": [ "email", "purpose", "pow_answer" ], "properties": { "email": { "type": "string" }, "pow_answer": { "type": "string" }, "purpose": { "$ref": "#/components/schemas/EmailVerificationPurpose" } } }, "ResendCodeResp": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "ResetPasswordCmd": { "type": "object", "required": [ "email", "token", "new_password", "temp_id" ], "properties": { "email": { "type": "string" }, "new_password": { "type": "string" }, "temp_id": { "type": "string", "format": "uuid" }, "token": { "type": "string" } } }, "RoomBriefDto": { "type": "object", "required": [ "id", "kind", "name", "position", "is_private", "nsfw", "unread_count", "unread_mentions", "favorite", "muted", "hidden", "member_count", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "favorite": { "type": "boolean" }, "hidden": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "is_private": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/RoomKind" }, "last_message_id": { "type": [ "string", "null" ], "format": "uuid" }, "member_count": { "type": "integer", "format": "int64" }, "muted": { "type": "boolean" }, "name": { "type": "string" }, "nsfw": { "type": "boolean" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int64" }, "rate_limit_per_user": { "type": [ "integer", "null" ], "format": "int32" }, "space_id": { "type": [ "string", "null" ], "format": "uuid" }, "topic": { "type": [ "string", "null" ] }, "unread_count": { "type": "integer", "format": "int64" }, "unread_mentions": { "type": "integer", "format": "int64" } } }, "RoomInviteDto": { "type": "object", "required": [ "id", "room_id", "inviter_id", "accept_code", "created_at" ], "properties": { "accept_code": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "invitee_user_id": { "type": [ "string", "null" ], "format": "uuid" }, "inviter_id": { "type": "string", "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" } } }, "RoomKind": { "type": "string", "enum": [ "GuildRoom", "GroupDm", "Dm", "Category", "Text", "Voice", "Stage", "News", "Thread", "DirectMessage" ] }, "RoomMemberDto": { "type": "object", "required": [ "user", "joined_at" ], "properties": { "joined_at": { "type": "string", "format": "date-time" }, "nick": { "type": [ "string", "null" ] }, "user": { "$ref": "#/components/schemas/UserBriefDto" } } }, "RoomMemberQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "RoomNotificationLevel": { "type": "string", "enum": [ "Default", "All", "Mentions", "Nothing" ] }, "RoomSettingDto": { "type": "object", "required": [ "room_id", "notification_level", "muted", "favorite", "hidden" ], "properties": { "favorite": { "type": "boolean" }, "hidden": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": "boolean" }, "notification_level": { "$ref": "#/components/schemas/RoomNotificationLevel" }, "room_id": { "type": "string", "format": "uuid" } } }, "SaveMessageCmd": { "type": "object", "required": [ "channel_id", "message_id" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "SavedMessageDto": { "type": "object", "required": [ "id", "channel_id", "message_id", "saved_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" }, "saved_at": { "type": "string", "format": "date-time" } } }, "ScheduledMessageDto": { "type": "object", "required": [ "id", "target_channel_id", "payload", "scheduled_at", "status", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "payload": {}, "scheduled_at": { "type": "string", "format": "date-time" }, "status": { "$ref": "#/components/schemas/ScheduledMessageStatus" }, "target_channel_id": { "type": "string", "format": "uuid" } } }, "ScheduledMessageStatus": { "type": "string", "enum": [ "Pending", "Sent", "Cancelled", "Sending", "Failed" ] }, "ScriptOutputDto": { "type": "object", "required": [ "exit_code", "stdout", "stderr" ], "properties": { "exit_code": { "type": "integer", "format": "int32" }, "stderr": { "type": "string" }, "stdout": { "type": "string" } } }, "SearchHitDto": { "type": "object", "required": [ "message_id", "room_id", "author_id", "seq", "content", "created_at" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "message_id": { "type": "string", "format": "uuid" }, "room_id": { "type": "string", "format": "uuid" }, "seq": { "type": "integer", "format": "int64" } } }, "SearchPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SearchHitDto" } }, "total": { "type": "integer", "format": "int64" } } }, "SearchQuery": { "type": "object", "required": [ "q" ], "properties": { "author_id": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": "string" }, "room_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "SendMessageCmd": { "type": "object", "properties": { "attachments": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "content": { "type": "string" }, "forwarded_from": { "type": [ "string", "null" ], "format": "uuid" }, "nonce": { "type": [ "string", "null" ] }, "reply_to_id": { "type": [ "string", "null" ], "format": "uuid" }, "thread_broadcast": { "type": "boolean" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" }, "urgent": { "type": "boolean" } } }, "SessionDto": { "type": "object", "required": [ "id", "kind", "last_seen_at", "created_at", "expires_at", "is_revoked" ], "properties": { "client_ip_hash": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "device_id": { "type": [ "string", "null" ], "format": "uuid" }, "expires_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "is_revoked": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/SessionKind" }, "last_seen_at": { "type": "string", "format": "date-time" }, "revoked_at": { "type": [ "string", "null" ], "format": "date-time" }, "user_agent_hash": { "type": [ "string", "null" ] } } }, "SessionKind": { "type": "string", "enum": [ "WebLogin", "BearerAccess" ] }, "SetCommitStatusCmd": { "type": "object", "required": [ "sha", "state", "context" ], "properties": { "context": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "sha": { "type": "string" }, "state": { "$ref": "#/components/schemas/CommitStatusDtoState" }, "target_url": { "type": [ "string", "null" ] } } }, "SetOverwriteCmd": { "type": "object", "required": [ "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" } } }, "SetPresenceCmd": { "type": "object", "required": [ "status" ], "properties": { "activities": {}, "status": { "$ref": "#/components/schemas/PresenceStatus" } } }, "SignatureDto": { "type": "object", "required": [ "name", "email", "when" ], "properties": { "email": { "type": "string" }, "name": { "type": "string" }, "when": { "type": "string", "format": "date-time" } } }, "SpaceAvatarDto": { "type": "object", "required": [ "space_id", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" } } }, "SpaceDto": { "type": "object", "required": [ "id", "lower_name", "name", "is_private", "is_active", "allow_join", "allow_invite", "nums_members", "allow_join_level", "member_must_enable_2fa", "created_at", "updated_at" ], "properties": { "allow_invite": { "type": "boolean" }, "allow_join": { "type": "boolean" }, "allow_join_level": { "$ref": "#/components/schemas/AllowJoinLevel" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string", "format": "date-time" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_active": { "type": "boolean" }, "is_private": { "type": "boolean" }, "lower_name": { "type": "string" }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "nums_members": { "type": "integer", "format": "int64" }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "updated_at": { "type": "string", "format": "date-time" }, "welcome_message": { "type": [ "string", "null" ] }, "welcome_object": { "type": [ "string", "null" ], "format": "uuid" } } }, "SpaceImageDto": { "type": "object", "required": [ "space_id", "kind", "url", "format", "bytes", "updated_at" ], "properties": { "bytes": { "type": "integer", "format": "int64", "minimum": 0 }, "format": { "$ref": "#/components/schemas/AvatarFormat" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "kind": { "$ref": "#/components/schemas/SpaceImageKind" }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "SpaceImageKind": { "type": "string", "enum": [ "banner", "invite-banner", "embed-splash" ] }, "SpaceJoinTrigger": { "type": "string", "enum": [ "issue_reaction", "issue_comment_reaction" ] }, "SpaceNamePath": { "type": "object", "required": [ "space_name" ], "properties": { "space_name": { "type": "string" } } }, "SpacePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceDto" } }, "total": { "type": "integer", "format": "int64" } } }, "SpaceReadStatePage": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ReadStateDto" } } } }, "SshKeyDto": { "type": "object", "required": [ "id", "name", "key_type", "fingerprint", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "name": { "type": "string" } } }, "SshKeyType": { "type": "string", "enum": [ "ssh_rsa", "ssh_ed25519", "ecdsa_sha2_nistp256" ] }, "StarStatusResp": { "type": "object", "required": [ "starred" ], "properties": { "starred": { "type": "boolean" } } }, "StargazerDto": { "type": "object", "required": [ "user_id", "username", "display_name", "avatar_url", "starred_at" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "starred_at": { "type": "string", "format": "date-time" }, "user_id": { "type": "string", "format": "uuid" }, "username": { "type": "string" } } }, "StopwatchDto": { "type": "object", "required": [ "id", "issue_id", "started_at", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "started_at": { "type": "string", "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "StopwatchPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "SubmoduleDto": { "type": "object", "required": [ "path", "url" ], "properties": { "branch": { "type": [ "string", "null" ] }, "commit_sha": { "type": [ "string", "null" ] }, "path": { "type": "string" }, "url": { "type": "string" } } }, "SuspensionDto": { "type": "object", "required": [ "id", "suspension_type", "starts_at" ], "properties": { "ends_at": { "type": [ "string", "null" ], "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "starts_at": { "type": "string", "format": "date-time" }, "suspension_type": { "type": "string" } } }, "SuspensionType": { "type": "string", "enum": [ "temporary", "permanent" ] }, "TagDto": { "type": "object", "required": [ "name", "tag_type", "target_sha" ], "properties": { "created_at": { "type": [ "string", "null" ], "format": "date-time" }, "message": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "tag_type": { "$ref": "#/components/schemas/TagType" }, "tagger_email": { "type": [ "string", "null" ] }, "tagger_name": { "type": [ "string", "null" ] }, "target_sha": { "type": "string" } } }, "TagType": { "type": "string", "enum": [ "Lightweight", "Annotated" ] }, "TagVerifyDto": { "type": "object", "required": [ "valid" ], "properties": { "error_message": { "type": [ "string", "null" ] }, "fingerprint": { "type": [ "string", "null" ] }, "signer": { "type": [ "string", "null" ] }, "valid": { "type": "boolean" } } }, "TagWhitelistDto": { "type": "object", "required": [ "policy_id", "user_id" ], "properties": { "policy_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "TempKey": { "type": "object", "required": [ "name", "value", "ttl_seconds", "secure", "http_only", "same_site", "path" ], "properties": { "domain": { "type": [ "string", "null" ] }, "http_only": { "type": "boolean" }, "name": { "type": "string" }, "path": { "type": "string" }, "same_site": { "type": "string" }, "secure": { "type": "boolean" }, "ttl_seconds": { "type": "integer", "format": "int64", "minimum": 0 }, "value": { "type": "string" } } }, "ThreadDto": { "type": "object", "required": [ "id", "room_id", "root_message_id", "owner_id", "reply_count", "participant_count", "archived", "locked", "created_at", "updated_at" ], "properties": { "archived": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "last_reply_at": { "type": [ "string", "null" ], "format": "date-time" }, "last_reply_id": { "type": [ "string", "null" ], "format": "uuid" }, "locked": { "type": "boolean" }, "name": { "type": [ "string", "null" ] }, "owner": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "owner_id": { "type": "string", "format": "uuid" }, "participant_count": { "type": "integer", "format": "int64" }, "reply_count": { "type": "integer", "format": "int64" }, "room_id": { "type": "string", "format": "uuid" }, "root_message_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string", "format": "date-time" } } }, "ThreadMemberCmd": { "type": "object", "properties": { "notify_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ThreadNotifyLevel" } ] } } }, "ThreadNotifyLevel": { "type": "string", "enum": [ "None", "All" ] }, "ThreadPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ThreadDto" } }, "total": { "type": "integer", "format": "int64" } } }, "TopicDto": { "type": "object", "required": [ "id", "name", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "updated_at": { "type": "string", "format": "date-time" } } }, "TopicRepoDto": { "type": "object", "required": [ "repo_id", "repo_name", "space_name", "is_private" ], "properties": { "is_private": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "repo_name": { "type": "string" }, "space_name": { "type": "string" } } }, "TotpCodeCmd": { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string" } } }, "TotpEnableCmd": { "type": "object", "required": [ "code", "password" ], "properties": { "code": { "type": "string" }, "password": { "type": "string" } } }, "TotpSetupResp": { "type": "object", "required": [ "secret", "otpauth_uri" ], "properties": { "otpauth_uri": { "type": "string" }, "secret": { "type": "string" } } }, "TotpStatusResp": { "type": "object", "required": [ "enabled" ], "properties": { "enabled": { "type": "boolean" } } }, "TrackedTimeDto": { "type": "object", "required": [ "id", "issue_id", "seconds", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "seconds": { "type": "integer", "format": "int64" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "TrackedTimePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TrackedTimeDto" } }, "total": { "type": "integer", "format": "int64" } } }, "TrackedTimePath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "TriggerResultDto": { "type": "object", "required": [ "job_id", "queued" ], "properties": { "job_id": { "type": "string" }, "queued": { "type": "boolean" } } }, "TwoFactorLoginCmd": { "type": "object", "required": [ "code" ], "properties": { "code": { "type": "string" } } }, "UnreadCountResp": { "type": "object", "required": [ "count" ], "properties": { "count": { "type": "integer", "format": "int64", "minimum": 0 } } }, "UpdateBanCmd": { "type": "object", "properties": { "allow_agent_join": { "type": [ "boolean", "null" ] }, "allow_comment_any": { "type": [ "boolean", "null" ] }, "allow_push_repo": { "type": [ "boolean", "null" ] }, "allow_speak": { "type": [ "boolean", "null" ] }, "expires_at": { "type": [ "string", "null" ], "format": "date-time" }, "reason": { "type": [ "string", "null" ] } } }, "UpdateBirthdayCmd": { "type": "object", "required": [ "date_of_birth" ], "properties": { "date_of_birth": { "type": "string", "format": "date" } } }, "UpdateBoardCmd": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdateBookmarkCmd": { "type": "object", "properties": { "emoji": { "type": [ "string", "null" ] }, "position": { "type": [ "integer", "null" ], "format": "int64" }, "title": { "type": [ "string", "null" ] }, "url": { "type": [ "string", "null" ] } } }, "UpdateCommentCmd": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } }, "UpdateDirCmd": { "type": "object", "required": [ "name" ], "properties": { "name": { "type": "string" } } }, "UpdateGroupCmd": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "icon_hash": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "permissions": { "type": [ "array", "null" ], "items": { "type": "string" } }, "position": { "type": [ "integer", "null" ], "format": "int64" }, "unicode_emoji": { "type": [ "string", "null" ] } } }, "UpdateIssueCmd": { "type": "object", "properties": { "body": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": [ "string", "null" ] } } }, "UpdateIssueUserCmd": { "type": "object", "properties": { "is_read": { "type": [ "boolean", "null" ] } } }, "UpdateJoinRuleCmd": { "type": "object", "properties": { "enabled": { "type": [ "boolean", "null" ] }, "matcher": { "type": [ "string", "null" ] } } }, "UpdateLabelCmd": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "exclusive": { "type": [ "boolean", "null" ] }, "exclusive_order": { "type": [ "integer", "null" ], "format": "int32" }, "is_archived": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdateMemberCmd": { "type": "object", "properties": { "alias_avatar_url": { "type": [ "string", "null" ] }, "alias_name": { "type": [ "string", "null" ] }, "hide_muted_channels": { "type": [ "boolean", "null" ] }, "message_notifications": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/MessageNotifications" } ] }, "mobile_push": { "type": [ "boolean", "null" ] }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "muted": { "type": [ "boolean", "null" ] }, "suppress_everyone": { "type": [ "boolean", "null" ] }, "suppress_roles": { "type": [ "boolean", "null" ] } } }, "UpdateMessageCmd": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } }, "UpdateMilestoneCmd": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ], "format": "date-time" }, "is_closed": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdatePreferencesCmd": { "type": "object", "properties": { "allow_dms_from": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Audience" } ] }, "allow_mentions_from": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/Audience" } ] }, "diff_view_style": { "type": [ "string", "null" ] }, "email_digest": { "type": [ "boolean", "null" ] }, "email_flags": { "type": [ "integer", "null" ], "format": "int32" }, "in_app_flags": { "type": [ "integer", "null" ], "format": "int32" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "push_flags": { "type": [ "integer", "null" ], "format": "int32" }, "show_online_status": { "type": [ "boolean", "null" ] }, "theme_mode": { "type": [ "string", "null" ] } } }, "UpdateProfileCmd": { "type": "object", "properties": { "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "display_name": { "type": [ "string", "null" ] }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": [ "boolean", "null" ] }, "show_email": { "type": [ "boolean", "null" ] }, "show_location": { "type": [ "boolean", "null" ] }, "show_real_name": { "type": [ "boolean", "null" ] }, "timezone": { "type": [ "string", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "UpdateRefResultDto": { "type": "object", "required": [ "name", "new_oid", "protected" ], "properties": { "name": { "type": "string" }, "new_oid": { "type": "string" }, "old_oid": { "type": [ "string", "null" ] }, "protected": { "type": "boolean" } } }, "UpdateRepoCmd": { "type": "object", "properties": { "default_branch": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": [ "boolean", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "UpdateRoomCmd": { "type": "object", "properties": { "is_private": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] }, "nsfw": { "type": [ "boolean", "null" ] }, "position": { "type": [ "integer", "null" ], "format": "int64" }, "rate_limit_per_user": { "type": [ "integer", "null" ], "format": "int32" }, "topic": { "type": [ "string", "null" ] } } }, "UpdateRoomSettingCmd": { "type": "object", "properties": { "favorite": { "type": [ "boolean", "null" ] }, "hidden": { "type": [ "boolean", "null" ] }, "mute_minutes": { "type": [ "integer", "null" ], "format": "int64" }, "muted": { "type": [ "boolean", "null" ] }, "notification_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RoomNotificationLevel" } ] } } }, "UpdateSpaceCmd": { "type": "object", "properties": { "allow_invite": { "type": [ "boolean", "null" ] }, "allow_join": { "type": [ "boolean", "null" ] }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/AllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "member_must_enable_2fa": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] }, "welcome_message": { "type": [ "string", "null" ] }, "welcome_object": { "type": [ "string", "null" ], "format": "uuid" } } }, "UpdateThreadCmd": { "type": "object", "properties": { "archived": { "type": [ "boolean", "null" ] }, "locked": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UploadAvatarCmd": { "type": "object", "required": [ "content_type", "data_base64" ], "properties": { "content_type": { "type": "string" }, "data_base64": { "type": "string" } } }, "UploadEmojiCmd": { "type": "object", "required": [ "name", "content_type", "data_base64" ], "properties": { "animated": { "type": "boolean" }, "content_type": { "type": "string" }, "data_base64": { "type": "string" }, "name": { "type": "string" } } }, "UploadIntentDto": { "type": "object", "required": [ "id", "upload_url", "expires_secs" ], "properties": { "expires_secs": { "type": "integer", "format": "int64", "minimum": 0 }, "id": { "type": "string", "format": "uuid" }, "upload_url": { "type": "string" } } }, "UploadSpaceAvatarCmd": { "type": "object", "required": [ "content_type", "data_base64" ], "properties": { "content_type": { "type": "string" }, "data_base64": { "type": "string" } } }, "UploadSpaceImageCmd": { "type": "object", "required": [ "content_type", "data_base64" ], "properties": { "content_type": { "type": "string" }, "data_base64": { "type": "string" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "UpsertDraftCmd": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "thread_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "UpsertLicenseCmd": { "type": "object", "required": [ "display_name", "body" ], "properties": { "body": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "display_name": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "UpsertMemeCmd": { "type": "object", "required": [ "name", "content_type", "url", "size" ], "properties": { "content_type": { "type": "string" }, "height": { "type": [ "integer", "null" ], "format": "int32" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "url": { "type": "string" }, "width": { "type": [ "integer", "null" ], "format": "int32" } } }, "UpsertPushCmd": { "type": "object", "required": [ "endpoint", "p256dh_key", "auth_key", "platform" ], "properties": { "auth_key": { "type": "string" }, "endpoint": { "type": "string" }, "p256dh_key": { "type": "string" }, "platform": { "$ref": "#/components/schemas/PushSubscriptionPlatform" }, "user_agent": { "type": [ "string", "null" ] } } }, "UpsertWatchCmd": { "type": "object", "required": [ "mode" ], "properties": { "mode": { "$ref": "#/components/schemas/WatchMode" } } }, "UserBriefDto": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "uid": { "type": "string", "format": "uuid" }, "username": { "type": "string" } } }, "UserMeDto": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url", "is_active", "is_restricted", "prohibit_login", "visibility", "bot", "system", "created_at" ], "properties": { "avatar_url": { "type": "string" }, "bot": { "type": "boolean" }, "created_at": { "type": "string", "format": "date-time" }, "display_name": { "type": "string" }, "is_active": { "type": "boolean" }, "is_restricted": { "type": "boolean" }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "prohibit_login": { "type": "boolean" }, "system": { "type": "boolean" }, "timezone": { "type": [ "string", "null" ] }, "uid": { "type": "string", "format": "uuid" }, "username": { "type": "string" }, "visibility": { "$ref": "#/components/schemas/ProfileVisibility" } } }, "UserOverwriteDto": { "type": "object", "required": [ "dir_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "dir_id": { "type": "string", "format": "uuid" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] }, "user_id": { "type": "string", "format": "uuid" } } }, "UserPreferencesDto": { "type": "object", "required": [ "theme_mode", "in_app_flags", "email_flags", "push_flags", "email_digest", "allow_dms_from", "allow_mentions_from", "show_online_status" ], "properties": { "allow_dms_from": { "$ref": "#/components/schemas/Audience" }, "allow_mentions_from": { "$ref": "#/components/schemas/Audience" }, "diff_view_style": { "type": [ "string", "null" ] }, "email_digest": { "type": "boolean" }, "email_flags": { "type": "integer", "format": "int32" }, "in_app_flags": { "type": "integer", "format": "int32" }, "mute_until": { "type": [ "string", "null" ], "format": "date-time" }, "push_flags": { "type": "integer", "format": "int32" }, "show_online_status": { "type": "boolean" }, "theme_mode": { "type": "string" } } }, "UserPublic": { "type": "object", "required": [ "uid", "username", "display_name", "avatar_url" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "uid": { "type": "string", "format": "uuid" }, "username": { "type": "string" } } }, "Value": {}, "VerifyEmailCmd": { "type": "object", "required": [ "email", "purpose", "code", "temp_id" ], "properties": { "code": { "type": "string" }, "email": { "type": "string" }, "purpose": { "$ref": "#/components/schemas/EmailVerificationPurpose" }, "temp_id": { "type": "string", "format": "uuid" } } }, "VerifyEmailResp": { "type": "object", "required": [ "verified" ], "properties": { "verified": { "type": "boolean" } } }, "VerifyResultDto": { "type": "object", "required": [ "signed", "valid" ], "properties": { "error_message": { "type": [ "string", "null" ] }, "key_id": { "type": [ "string", "null" ] }, "signed": { "type": "boolean" }, "signer": { "type": [ "string", "null" ] }, "valid": { "type": "boolean" } } }, "WatchDto": { "type": "object", "required": [ "id", "mode", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" }, "user": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserBriefDto" } ] } } }, "WatchMode": { "type": "string", "enum": [ "normal", "no_watch", "watch", "ignore" ] }, "WatchPath": { "type": "object", "required": [ "space_name", "board_id", "issue_id" ], "properties": { "board_id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "space_name": { "type": "string" } } }, "WatcherDto": { "type": "object", "required": [ "user_id", "username", "display_name", "avatar_url", "mode", "watching_since" ], "properties": { "avatar_url": { "type": "string" }, "display_name": { "type": "string" }, "mode": { "$ref": "#/components/schemas/WatchMode" }, "user_id": { "type": "string", "format": "uuid" }, "username": { "type": "string" }, "watching_since": { "type": "string", "format": "date-time" } } }, "WebhookDto": { "type": "object", "required": [ "id", "room_id", "name", "disabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "last_used_at": { "type": [ "string", "null" ], "format": "date-time" }, "name": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" } } }, "WebhookPostCmd": { "type": "object", "properties": { "content": { "type": "string" }, "nonce": { "type": [ "string", "null" ] } } }, "WebhookSecretDto": { "type": "object", "required": [ "id", "room_id", "name", "token", "disabled", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "disabled": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "room_id": { "type": "string", "format": "uuid" }, "token": { "type": "string" } } }, "WhitelistKind": { "type": "string", "enum": [ "Push", "Merge", "Approval" ] }, "WriteBlobBody": { "type": "object", "required": [ "data" ], "properties": { "data": { "type": "string" } } }, "WriteObjectResultDto": { "type": "object", "required": [ "id" ], "properties": { "id": { "type": "string" } } }, "WriteTreeBody": { "type": "object", "required": [ "files" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/FileEntryDto" } } } }, "WsTicketDto": { "type": "object", "required": [ "ticket", "ttl_secs" ], "properties": { "ticket": { "type": "string" }, "ttl_secs": { "type": "integer", "format": "int64", "minimum": 0 } } } } }, "tags": [ { "name": "issues", "description": "Issue management API" }, { "name": "space", "description": "Space management endpoints" } ] }