{ "openapi": "3.1.0", "info": { "title": "Untitled API", "description": "Unified HTTP API for the untitled platform", "license": { "name": "" }, "version": "1.94.0" }, "paths": { "/api/v1/auth/agreements": { "get": { "tags": [ "auth" ], "operationId": "handler", "responses": { "200": { "description": "List of agreement documents (terms, privacy).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_AgreementDoc" } } } } } } }, "/api/v1/auth/agreements/accept": { "post": { "tags": [ "auth" ], "operationId": "handler", "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" } } } }, "400": { "description": "Unknown agreement key or version mismatch.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "401": { "description": "Missing or invalid access token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "404": { "description": "User not found.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/auth/email/reclaim": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ReclaimCmd" } } }, "required": true }, "responses": { "200": { "description": "A Signup verification code was issued to the mailbox if the account is inactive; otherwise a constant-shaped no-op is returned.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReclaimResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/email/resend": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ResendCodeCmd" } } }, "required": true }, "responses": { "200": { "description": "New code issued (or silently no-op if the email is unknown).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ResendCodeResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/email/verify": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_VerifyCodeCmd" } } }, "required": true }, "responses": { "200": { "description": "Code verified; the verification-code row id is returned.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_VerifyCodeResult" } } } }, "400": { "description": "Invalid code, missing temp_key cookie, or expired.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "401": { "description": "Unauthorized.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/login": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_LoginCmd" } } }, "required": true }, "responses": { "200": { "description": "Authenticated. Returns access/refresh tokens and a public user view.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LoginResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "401": { "description": "Invalid credentials.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "403": { "description": "Account forbidden.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/logout": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_LogoutCmd" } } }, "required": true }, "responses": { "200": { "description": "Refresh token revoked.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LogoutResp" } } } }, "401": { "description": "Invalid or expired refresh token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/me": { "get": { "tags": [ "auth" ], "operationId": "handler", "responses": { "200": { "description": "Authenticated user profile (full view, including privileged fields).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserMe" } } } }, "401": { "description": "Missing or invalid access token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "404": { "description": "User not found.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/auth/oauth/authorize": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AuthorizeCmd" } } }, "required": true }, "responses": { "200": { "description": "Authorization URL. The state-cookie carries the OAuth state value for the callback.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AuthorizationUrlResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "404": { "description": "Unknown provider.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/oauth/callback": { "get": { "tags": [ "auth" ], "operationId": "handler", "parameters": [ { "name": "provider", "in": "query", "required": true, "schema": { "$ref": "#/components/schemas/OAuthProvider" } }, { "name": "code", "in": "query", "required": true, "schema": { "type": "string" } }, { "name": "state", "in": "query", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OAuth login completed. Returns token pair and the resolved user_id.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_OAuthLoginResp" } } } }, "400": { "description": "Missing state cookie or invalid state.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "401": { "description": "OAuth flow rejected.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/oauth/providers": { "get": { "tags": [ "auth" ], "operationId": "handler", "responses": { "200": { "description": "List of enabled OAuth providers.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_OAuthProviderInfo" } } } } } } }, "/api/v1/auth/password/forgot": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ForgotPasswordCmd" } } }, "required": true }, "responses": { "200": { "description": "Request accepted. The response shape is constant whether or not the email is known; the temp_key cookie carries the token for the subsequent reset.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ForgotPasswordResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/password/reset": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ResetPasswordCmd" } } }, "required": true }, "responses": { "200": { "description": "Password updated; all sessions revoked.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ResetPasswordResp" } } } }, "400": { "description": "Missing temp_key cookie, weak password, or invalid token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "401": { "description": "Unauthorized.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/pow/challenge": { "get": { "tags": [ "auth" ], "operationId": "handler", "responses": { "200": { "description": "A fresh PoW challenge bound to this client.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PowChallengeResp" } } } }, "400": { "description": "PoW not configured.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/refresh": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RefreshCmd" } } }, "required": true }, "responses": { "200": { "description": "Rotated token pair.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RefreshResp" } } } }, "401": { "description": "Invalid or expired refresh token.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/auth/register": { "post": { "tags": [ "auth" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RegisterCmd" } } }, "required": true }, "responses": { "200": { "description": "Account created (possibly pending email verification).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RegisterResp" } } } }, "400": { "description": "Validation / PoW failure.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "409": { "description": "Email or username already taken.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } }, "429": { "description": "Rate limited.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ErrorBody" } } } } } } }, "/api/v1/health/live": { "get": { "tags": [ "system" ], "operationId": "liveness", "responses": { "200": { "description": "Process is alive", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HealthStatus" } } } } } } }, "/api/v1/health/ready": { "get": { "tags": [ "system" ], "operationId": "readiness", "responses": { "200": { "description": "Service is ready", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HealthStatus" } } } } } } }, "/api/v1/issues": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "channel_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "List issue boards (collections)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_CollectionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateCollectionOption" } } }, "required": true }, "responses": { "201": { "description": "Create an issue board (collection)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CollectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Default issue board OR issue list (when query.state/q/author_id/milestone_id is set)" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateIssueOption" } } }, "required": true }, "responses": { "201": { "description": "Create an issue in this channel's board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Delete default issue board" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateCollectionOption" } } }, "required": true }, "responses": { "200": { "description": "Update default issue board", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CollectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/attachments/{owner_type}/{owner_id}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_type", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List attachments" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_type", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UploadAttachmentInput" } } }, "required": true }, "responses": { "201": { "description": "Upload attachment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AttachmentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/attachments/{owner_type}/{owner_id}/{att_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_type", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "owner_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "att_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete attachment" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/labels": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "is_archived", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List labels" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateLabelOption" } } }, "required": true }, "responses": { "201": { "description": "Create label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/labels/{label_id}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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_LabelView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete label" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateLabelOption" } } }, "required": true }, "responses": { "200": { "description": "Update label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/milestones": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "is_closed", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List milestones" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateMilestoneOption" } } }, "required": true }, "responses": { "201": { "description": "Create milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestoneView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/milestones/{milestone_id}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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_MilestoneView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "milestone_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete milestone" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "milestone_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateMilestoneOption" } } }, "required": true }, "responses": { "200": { "description": "Update milestone", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MilestoneView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/pins": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List pinned issues" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePinOption" } } }, "required": true }, "responses": { "201": { "description": "Pin issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PinView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/pins/{pin_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "pin_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Unpin issue" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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_IssueView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete issue" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateIssueOption" } } }, "required": true }, "responses": { "200": { "description": "Update issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/close": { "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CloseIssueOption" } } }, "required": true }, "responses": { "200": { "description": "Open/close issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/comments": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "parent_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List comments" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateCommentOption" } } }, "required": true }, "responses": { "201": { "description": "Create comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/comments/{comment_id}": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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_CommentView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Delete comment" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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/AppRequestData_UpdateCommentOption" } } }, "required": true }, "responses": { "200": { "description": "Update comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/comments/{comment_id}/reactions": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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/AppRequestData_CreateReactionOption" } } }, "required": true }, "responses": { "201": { "description": "React to comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReactionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/content_history": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "comment_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List content history" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/dependencies": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List dependencies" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateDependencyOption" } } }, "required": true }, "responses": { "201": { "description": "Create dependency", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DependencyView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/dependencies/{dep_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Delete dependency" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/events": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List issue events" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/labels": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List labels for issue" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/labels/{label_id}": { "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Bind label to issue" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Unbind label from issue" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/members": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "kind", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List members" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateMemberOption" } } }, "required": true }, "responses": { "201": { "description": "Create member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/members/{member_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Delete member" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/reactions": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List issue reactions" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateReactionOption" } } }, "required": true }, "responses": { "201": { "description": "React to issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReactionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/reactions/{reaction_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Delete reaction" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/reopen": { "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Reopen a closed issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/repo_relations": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List repo relations" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateRepoRelOption" } } }, "required": true }, "responses": { "201": { "description": "Link repo to issue", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoRelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/repo_relations/{rel_id}": { "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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": { "204": { "description": "Unlink repo from issue" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/stopwatch": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get my stopwatch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_StopwatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "201": { "description": "Start stopwatch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_StopwatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Stop stopwatch" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/tracked_time": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "user_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List tracked time" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/users": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List issue users" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/users/{uid}": { "patch": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "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/AppRequestData_UpdateIssueUserOption" } } }, "required": true }, "responses": { "200": { "description": "Update issue user", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueUserView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/issues/{space_name}/{issue_id}/watch": { "get": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get my watch state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpsertWatchOption" } } }, "required": true }, "responses": { "200": { "description": "Upsert watch state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_WatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "issues" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "issue_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete watch state" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Posts board view OR post list (when query.status/q/author_id is set)" } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePostOption" } } }, "required": true }, "responses": { "201": { "description": "Create a post (thread)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/boards": { "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePostBoardOption" } } }, "required": true }, "responses": { "201": { "description": "Create a posts board (collection)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostBoardView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/labels": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "is_archived", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List board labels", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostLabelPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePostLabelOption" } } }, "required": true }, "responses": { "201": { "description": "Create a board label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostLabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/labels/{label_id}": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a board label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostLabelView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Delete a board label" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdatePostLabelOption" } } }, "required": true }, "responses": { "200": { "description": "Update a board label", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostLabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Get a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Delete a post" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdatePostOption" } } }, "required": true }, "responses": { "200": { "description": "Update a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/archive": { "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Archive a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/close": { "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Close a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/labels": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List labels bound to a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PostLabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/labels/{label_id}": { "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Bind a label to a post" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Unbind a label from a post" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/mentions": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List mentions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PostMentionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateMentionOption" } } }, "required": true }, "responses": { "201": { "description": "Mention a user/role in a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostMentionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/reactions": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List reactions", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PostReactionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePostReactionOption" } } }, "required": true }, "responses": { "201": { "description": "React to a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostReactionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/reactions/{reaction_id}": { "delete": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "reaction_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Remove a reaction" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/reopen": { "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Reopen a post", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/replies": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List replies", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostReplyPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateReplyOption" } } }, "required": true }, "responses": { "201": { "description": "Create a reply", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostReplyView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/posts/{space_name}/{number}/watch": { "get": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Get my watch state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostWatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpsertPostWatchOption" } } }, "required": true }, "responses": { "200": { "description": "Upsert watch state", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PostWatchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "posts" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Delete my watch state" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List projects", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProjectPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateProjectCmd" } } }, "required": true }, "responses": { "201": { "description": "Create a project", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProjectView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a project", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProjectView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a project" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateProjectCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a project", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProjectView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/activities": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "verb", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "per_page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List activities", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ActivityPage" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/documents": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List documents", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DocumentPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateDocumentCmd" } } }, "required": true }, "responses": { "201": { "description": "Create a document", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DocumentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/documents/{doc_id}": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "doc_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a document", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DocumentView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "doc_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a document" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "doc_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateDocumentCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a document", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DocumentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/favorites": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List favorites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FavoritePage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddFavoriteCmd" } } }, "required": true }, "responses": { "201": { "description": "Add a favorite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FavoriteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/favorites/{favorite_id}": { "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "favorite_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Remove a favorite" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/links": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List links", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LinkPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddLinkCmd" } } }, "required": true }, "responses": { "201": { "description": "Add a link", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LinkView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/links/{link_id}": { "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "link_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Remove a link" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/members": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List members", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddMemberCmd" } } }, "required": true }, "responses": { "201": { "description": "Add a member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/members/{user_id}": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_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": "Get a member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Remove a member" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_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/AppRequestData_UpdateMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemberView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/views": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List views", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ViewPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateViewCmd" } } }, "required": true }, "responses": { "201": { "description": "Create a view", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ViewView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/projects/{space_name}/{project_id}/views/{view_id}": { "get": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "view_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a view", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ViewView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "view_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a view" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "project" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "project_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "view_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateViewCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a view", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ViewView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "channel_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "owner_user_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "is_private", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "is_archived", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "List repositories", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateRepoOption" } } }, "required": true }, "responses": { "201": { "description": "Create a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/search": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "topic", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "include_desc", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "uid", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "priority_owner_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "team_id", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64" } }, { "name": "starred_by", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "private", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "is_private", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "template", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "archived", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "mode", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "exclusive", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "sort", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "order", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "Search repositories", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SearchResults" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a repository" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateRepoOption" } } }, "required": true }, "responses": { "200": { "description": "Update a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/archive": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ArchiveRepoOption" } } }, "required": true }, "responses": { "200": { "description": "Archive / unarchive a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/archive/{archive_format}/{ref_name}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "format", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "ref_name", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "archive_format", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "ref_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Download an archive" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/assignees/{assignee}": { "get": { "tags": [ "repo" ], "operationId": "check_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "assignee", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "User is a valid assignee" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/avatar": { "post": { "tags": [ "repo" ], "operationId": "post_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateAvatarOption" } } }, "required": true }, "responses": { "204": { "description": "Update repo avatar" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "delete_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete repo avatar" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branch_protections": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List branch protections", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchProtectionPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateBranchProtectionOption" } } }, "required": true }, "responses": { "201": { "description": "Create a branch protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branch_protections/priority": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateBranchProtectionPriorities" } } }, "required": true }, "responses": { "204": { "description": "Update branch protection priorities" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branch_protections/{policy_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a branch protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a branch protection" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_EditBranchProtectionOption" } } }, "required": true }, "responses": { "200": { "description": "Edit a branch protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branches": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "keyword", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List branches", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateBranchOption" } } }, "required": true }, "responses": { "201": { "description": "Create a branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branches/{branch_name}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "branch_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "branch_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateBranchOption" } } }, "required": true }, "responses": { "200": { "description": "Update a branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "branch_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Delete a branch" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branches/{branch_name}/rename": { "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "branch_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RenameBranchOption" } } }, "required": true }, "responses": { "200": { "description": "Rename a branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BranchView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/branches/{branch_name}/set-default": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "branch_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Set repository default branch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/collaborators": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List collaborators", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CollaboratorPage" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/collaborators/{user_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "User is a collaborator" } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_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/AppRequestData_AddCollaboratorOption" } } }, "required": true }, "responses": { "204": { "description": "Add or update a collaborator" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "user_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Remove a collaborator" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/collaborators/{user_id}/permission": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_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": "Get collaborator permission", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoCollaboratorPermission" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/commits": { "get": { "tags": [ "repo" ], "operationId": "list_handler", "parameters": [ { "name": "sha", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "path", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "since", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "until", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "stat", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "verification", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "files", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "not", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List commits", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitsResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/commits/{ref}/status": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "ref", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get combined status by ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CombinedStatusView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/commits/{ref}/statuses": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "sort", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "state", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "ref", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List commit statuses by ref", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitStatusPage" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/compare/{base}...{head}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "base", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "head", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Compare two refs", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CompareView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/contents": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "ref", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List contents at root", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsListResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/contents-ext": { "get": { "tags": [ "repo" ], "operationId": "list_handler", "parameters": [ { "name": "ref", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List contents (ext form)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentsExtResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/contents-ext/{path}": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "ref", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get contents (ext form)", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ContentsExtResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/contents/change": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ChangeFilesOptions" } } }, "required": true }, "responses": { "200": { "description": "Multi-file change", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsListResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/contents/{path}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "ref", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a file or directory", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsResponse" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateFileOption" } } }, "required": true }, "responses": { "200": { "description": "Update a file", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsResponse" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateFileOption" } } }, "required": true }, "responses": { "201": { "description": "Create a file", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsResponse" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "path", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_DeleteFileOption" } } }, "required": true }, "responses": { "204": { "description": "Delete a file" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/diffpatch": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ApplyDiffPatchFileOptions" } } }, "required": true }, "responses": { "200": { "description": "Apply a diff patch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/editorconfig/{filename}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "filename", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get EditorConfig", "content": { "text/plain": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/features": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Read repository feature toggles", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoFeaturesView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "patch_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRepoFeaturesCmd" } } }, "required": true }, "responses": { "200": { "description": "Update repository feature toggles", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoFeaturesView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/file-contents": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Batch read files", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FilesResponse" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "post_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_Vec_String" } } }, "required": true }, "responses": { "200": { "description": "Batch read files", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_FileDeleteResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/forks": { "get": { "tags": [ "repo" ], "operationId": "list_handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List forks", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ForksResponse" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ForkRepoOption" } } }, "required": true }, "responses": { "201": { "description": "Fork a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/generate": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_GenerateRepoOption" } } }, "required": true }, "responses": { "201": { "description": "Generate a repository from template", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/blobs/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a blob", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_BlobView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/commits/diff/{sha}": { "get": { "tags": [ "repo" ], "operationId": "diff_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get commit diff or patch", "content": { "text/plain": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/commits/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a commit", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/commits/{sha}.{diff_type}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "diff_type", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get commit diff or patch", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CommitDiffPayload" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/notes/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a note", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NoteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/refs": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List git refs", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_GitRef" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/refs/{filter}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "filter", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Filter git refs", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_GitRef" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/tags/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get an annotated tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/git/trees/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "recursive", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a tree", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TreeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/issue_config": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get issue config", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueConfig" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/issue_config/validate": { "get": { "tags": [ "repo" ], "operationId": "validate_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Validate issue config", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_IssueConfigValidation" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/issue_templates": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List issue templates", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_IssueTemplate" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/keys": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "key_id", "in": "query", "required": false, "schema": { "type": "string", "format": "uuid" } }, { "name": "fingerprint", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List deploy keys", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeployKeyPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateDeployKeyOption" } } }, "required": true }, "responses": { "201": { "description": "Create a deploy key", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeployKeyView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/keys/{key_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "key_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a deploy key", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeployKeyView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "key_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a deploy key" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/languages": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get repo language stats", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LanguagesResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/licenses": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List detected licenses", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_LicensesResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/media/{filepath}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "filepath", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get media (raw or LFS pointer)", "content": { "application/octet-stream": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/merge-strategies": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Read repository merge strategy options", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoMergeStrategiesView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "patch_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UpdateRepoMergeStrategiesCmd" } } }, "required": true }, "responses": { "200": { "description": "Update repository merge strategy options", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoMergeStrategiesView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/merge-upstream": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_MergeUpstreamRequest" } } }, "required": true }, "responses": { "200": { "description": "Merge upstream", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MergeUpstreamResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/new_pin_allowed": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Whether new issue pins are allowed", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_NewPinAllowedResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "state", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "keyword", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List pull requests", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePullRequestOption" } } }, "required": true }, "responses": { "201": { "description": "Create a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Get a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdatePullRequestOption" } } }, "required": true }, "responses": { "200": { "description": "Update a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/close": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Close a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/comments": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request comments", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PullRequestCommentView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreatePullRequestCommentOption" } } }, "required": true }, "responses": { "201": { "description": "Create a pull request comment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestCommentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/commits": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request commits", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_CommitView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/events": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request events", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PullRequestEventView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/files": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request file changes", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ContentsExtResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/labels": { "get": { "tags": [ "repo" ], "operationId": "list_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request labels", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LabelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/labels/{label_id}": { "post": { "tags": [ "repo" ], "operationId": "add_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Attach a label to a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_LabelView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "remove_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } }, { "name": "label_id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Detach a label from a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Value" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/lock": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Lock a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/merge": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_MergePullRequestOption" } } }, "required": true }, "responses": { "200": { "description": "Merge a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MergeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/reopen": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Reopen a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/reviews": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "List pull request reviews", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PullRequestReviewView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SubmitPullRequestReviewOption" } } }, "required": true }, "responses": { "201": { "description": "Submit a pull request review", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestReviewView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/pulls/{number}/unlock": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "number", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "Unlock a pull request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PullRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/raw/{filepath}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "filepath", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get raw file content", "content": { "application/octet-stream": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/readme": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "ref_", "in": "query", "required": false, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Fetch repository README", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReadmeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "draft", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "prerelease", "in": "query", "required": false, "schema": { "type": "boolean" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List releases", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleasePage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateReleaseOption" } } }, "required": true }, "responses": { "201": { "description": "Create a release", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/latest": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get the latest release", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/tags/{tag}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "tag", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a release by tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "tag", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Delete a release by tag" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/{release_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a release", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a release" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_EditReleaseOption" } } }, "required": true }, "responses": { "200": { "description": "Edit a release", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/{release_id}/assets": { "get": { "tags": [ "repo" ], "operationId": "list_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List release attachments", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseAttachmentListResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/{release_id}/assets/upload": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "$ref": "#/components/schemas/UploadReleaseAssetForm" } } }, "required": true }, "responses": { "201": { "description": "Asset uploaded", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseAttachmentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/releases/{release_id}/assets/{attachment_id}": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "release_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "attachment_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a release attachment", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReleaseAttachmentView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/rename": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RenameRepoOption" } } }, "required": true }, "responses": { "200": { "description": "Rename a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/reviewers": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List reviewers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_UserMini" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/signing-key.gpg": { "get": { "tags": [ "repo" ], "operationId": "gpg_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "GPG signing key", "content": { "text/plain": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/signing-key.pub": { "get": { "tags": [ "repo" ], "operationId": "ssh_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "SSH signing key", "content": { "text/plain": {} } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/stargazers": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List stargazers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_UserMini" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/statuses/{sha}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "sort", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "state", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List commit statuses", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitStatusPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "sha", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateStatusOption" } } }, "required": true }, "responses": { "201": { "description": "Create a commit status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CommitStatusView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/subscribers": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List subscribers", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SubscriberPage" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/subscription": { "get": { "tags": [ "repo" ], "operationId": "get_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get current user's subscription", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Subscription" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "repo" ], "operationId": "put_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Watch the repo" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "delete_handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Unwatch the repo" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/sync": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get repo metadata sync status", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SyncStatus" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/sync/run": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Trigger a metadata sync", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SyncResult" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/tag_protections": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List tag protections", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagProtectionPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateTagProtectionOption" } } }, "required": true }, "responses": { "201": { "description": "Create a tag protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/tag_protections/{policy_id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a tag protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Delete a tag protection" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "policy_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_EditTagProtectionOption" } } }, "required": true }, "responses": { "200": { "description": "Edit a tag protection", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagProtectionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/tags": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List tags", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateTagOption" } } }, "required": true }, "responses": { "201": { "description": "Create a tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/tags/{tag_name}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "tag_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a tag", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TagView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "tag_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Delete a tag" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/topics": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List repo topics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TopicList" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RepoTopicOptions" } } }, "required": true }, "responses": { "204": { "description": "Replace repo topics" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/topics/{topic}": { "put": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "topic", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Add a topic" } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "topic", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "204": { "description": "Remove a topic" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/transfer": { "post": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_TransferRepoOption" } } }, "required": true }, "responses": { "200": { "description": "Transfer a repository", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repos/{space_name}/{repo_id}/tree": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "repo_id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "ref", "in": "query", "description": "Branch / tag / commit-ish. Defaults to the repo's default branch.", "required": false, "schema": { "type": "string" } }, { "name": "path", "in": "query", "description": "Directory path inside the tree. Defaults to root.", "required": false, "schema": { "type": "string" } }, { "name": "recursive", "in": "query", "description": "Recurse into subdirectories.", "required": false, "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Repository file tree at the requested ref/path", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ContentsListResponse" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/repositories/{id}": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a repository by id", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RepoSummary" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "List spaces owned by the caller", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpacePage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateSpaceCmd" } } }, "required": true }, "responses": { "200": { "description": "Create a new space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/invites/accept": { "post": { "tags": [ "space" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AcceptInviteCmd" } } }, "required": true }, "responses": { "200": { "description": "Accept an invite" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceView" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Delete a space" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateSpaceCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/bans": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List bans in a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceBanPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateBanCmd" } } }, "required": true }, "responses": { "200": { "description": "Ban a user from a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceBanView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/bans/{uid}": { "get": { "tags": [ "space" ], "operationId": "handler", "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 a ban", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceBanView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "space" ], "operationId": "handler", "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": "Unban a user from a space" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "space" ], "operationId": "handler", "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/AppRequestData_UpdateBanCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a ban", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceBanView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List channels in a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ChannelPage" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels/{cid}": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a channel", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ChannelView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels/{cid}/overwrites/roles": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List role overwrites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RoleOverwriteView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SetRoleOverwriteCmd" } } }, "required": true }, "responses": { "200": { "description": "Set a role overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoleOverwriteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels/{cid}/overwrites/roles/{rid}": { "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "rid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Remove a role overwrite" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels/{cid}/overwrites/users": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "List user overwrites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_UserOverwriteView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SetUserOverwriteCmd" } } }, "required": true }, "responses": { "200": { "description": "Set a user overwrite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserOverwriteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/channels/{cid}/overwrites/users/{uid}": { "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "cid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Remove a user overwrite" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/invites": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List invites", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceInvitePage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateInviteCmd" } } }, "required": true }, "responses": { "200": { "description": "Create an invite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceInviteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/invites/{iid}": { "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "iid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Revoke an invite", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceInviteView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/members": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List members of a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceMemberPage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "Add a member to a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceMemberView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/members/{uid}": { "get": { "tags": [ "space" ], "operationId": "handler", "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 a space member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceMemberView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "space" ], "operationId": "handler", "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": "Remove a member from a space" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "space" ], "operationId": "handler", "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/AppRequestData_UpdateMemberCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a space member", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SpaceMemberView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/members/{uid}/roles": { "post": { "tags": [ "space" ], "operationId": "handler", "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/AppRequestData_AssignRoleCmd" } } }, "required": true }, "responses": { "200": { "description": "Assign a role to a member" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/members/{uid}/roles/{rid}": { "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "uid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "rid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Unassign a role from a member" } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/roles": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "offset", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "List roles in a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RolePage" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateRoleCmd" } } }, "required": true }, "responses": { "200": { "description": "Create a role", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoleView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/roles/{rid}": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "rid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Get a role", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoleView" } } } } } }, "delete": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "rid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Delete a role" } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "rid", "in": "path", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateRoleCmd" } } }, "required": true }, "responses": { "200": { "description": "Update a role", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RoleView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/spaces/{space_name}/sidebar": { "get": { "tags": [ "space" ], "operationId": "handler", "parameters": [ { "name": "space_name", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "Get the sidebar tree for a space", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SidebarTreeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/topics/search": { "get": { "tags": [ "repo" ], "operationId": "handler", "parameters": [ { "name": "q", "in": "query", "required": false, "schema": { "type": "string" } }, { "name": "page", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } }, { "name": "limit", "in": "query", "required": false, "schema": { "type": "integer", "format": "int64", "minimum": 0 } } ], "responses": { "200": { "description": "Search topics", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_TopicSearchResult" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/deletions": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List pending and scheduled deletion requests.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DeletionRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/deletions/{id}/complete": { "post": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Deletion request id.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Deletion completed; sessions revoked." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/suspensions": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "include_revoked", "in": "query", "description": "Include revoked suspensions (default false).", "required": false, "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "All suspensions (admin view).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SuspensionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/suspensions/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Suspension id.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RevokeSuspensionCmd" } } }, "required": true }, "responses": { "204": { "description": "Suspension revoked." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/users/{uid}/profile": { "patch": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateProfileCmd" } } }, "required": true }, "responses": { "200": { "description": "Admin-updated profile.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserMe" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/admin/users/{uid}/suspensions": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "include_revoked", "in": "query", "description": "Include revoked suspensions (default false).", "required": false, "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "Suspensions for the given user.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SuspensionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SuspendCmd" } } }, "required": true }, "responses": { "200": { "description": "Suspension created (also sets users.is_restricted = true).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SuspensionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Authenticated user profile (privileged view).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserMe" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/access-keys": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List access keys for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_AccessKeyView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_CreateAccessKeyCmd" } } }, "required": true }, "responses": { "200": { "description": "Access key created (token returned only once).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_CreateAccessKeyResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/access-keys/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Access key identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Access key deleted." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/avatar": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Current avatar metadata (200 with empty body if none).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Option_AvatarView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "put": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UploadAvatarCmd" } } }, "required": true }, "responses": { "200": { "description": "Avatar uploaded and bound to caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AvatarView" } } } }, "400": { "description": "Invalid content_type or base64 payload." } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "user" ], "operationId": "handler", "responses": { "204": { "description": "Avatar removed." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/blocks": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } }, { "name": "cursor", "in": "query", "description": "Pagination cursor (id).", "required": false, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Page of blocked users.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_BlockedSummary" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/blocks/{uid}": { "post": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Block succeeded (idempotent; also unfollows both directions)." }, "404": { "description": "Target user not found." } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Unblock succeeded." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/deletion": { "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RequestDeletionCmd" } } }, "required": true }, "responses": { "200": { "description": "Deletion request created or returned (idempotent).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeletionRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "user" ], "operationId": "handler", "responses": { "204": { "description": "Active deletion request cancelled." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/deletion/confirm": { "post": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Deletion request scheduled.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeletionRequestView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/devices": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List devices registered to the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_DeviceView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/devices/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Device identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Device removed." } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Device identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateDeviceCmd" } } }, "required": true }, "responses": { "200": { "description": "Device updated.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_DeviceView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/email-change": { "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_RequestChangeBody" } } }, "required": true }, "responses": { "200": { "description": "Email change ticket created.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmailChangeTicketView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/email-change/confirm": { "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_ConfirmEmailChangeCmd" } } }, "required": true }, "responses": { "200": { "description": "Ticket status advanced.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_EmailChangeTicketView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/email-change/{ticket_id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "ticket_id", "in": "path", "description": "Ticket identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Ticket cancelled." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/emails": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List active emails for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_EmailView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddEmailCmd" } } }, "required": true }, "responses": { "200": { "description": "Email added (unverified).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_AddEmailResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/emails/{email_id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "email_id", "in": "path", "description": "Email identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Email soft-deleted." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/emails/{email_id}/primary": { "patch": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "email_id", "in": "path", "description": "Email identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Primary email changed.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SetPrimaryEmailResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/memes": { "get": { "tags": [ "user" ], "operationId": "list_handler", "parameters": [ { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } } ], "responses": { "200": { "description": "List the caller's favorite memes.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_MemeView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "create_handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpsertMemeCmd" } } }, "required": true }, "responses": { "200": { "description": "Meme created or updated.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MemeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/memes/{id}": { "delete": { "tags": [ "user" ], "operationId": "delete_handler", "parameters": [ { "name": "id", "in": "path", "description": "Meme identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Meme deleted." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/messages/saved": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Saved messages for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SavedMessageView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SaveMessageCmd" } } }, "required": true }, "responses": { "200": { "description": "Message saved (idempotent).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SavedMessageView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/messages/saved/{message_id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "message_id", "in": "path", "description": "Message identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Message removed from saved list." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/messages/scheduled": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Scheduled messages for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ScheduledMessageView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/messages/scheduled/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Scheduled message identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Scheduled message cancelled." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/notifications": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "unread_only", "in": "query", "description": "Only return unread notifications.", "required": false, "schema": { "type": "boolean" } }, { "name": "notification_type", "in": "query", "description": "Filter by notification type.", "required": false, "schema": { "type": "string" } }, { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } }, { "name": "cursor", "in": "query", "description": "Pagination cursor (id).", "required": false, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Notifications for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_NotificationView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_MarkReadCmd" } } }, "required": true }, "responses": { "200": { "description": "Notifications marked as read.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MarkReadResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/notifications/mark-all-read": { "post": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "All notifications marked as read.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_MarkAllReadResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/notifications/unread-count": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Number of unread notifications for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UnreadCountResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/preferences": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "User preferences (auto-created if missing).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserPreferences" } } } } }, "security": [ { "bearer_auth": [] } ] }, "patch": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdatePreferencesCmd" } } }, "required": true }, "responses": { "200": { "description": "Updated preferences.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserPreferences" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/profile": { "patch": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpdateProfileCmd" } } }, "required": true }, "responses": { "200": { "description": "Updated self profile.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserMe" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/push-subscriptions": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List push subscriptions for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_PushSubscriptionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_UpsertPushCmd" } } }, "required": true }, "responses": { "200": { "description": "Push subscription upserted (endpoint-keyed).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_PushSubscriptionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/push-subscriptions/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Push subscription id.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Push subscription deleted." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/recent-mentions": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } } ], "responses": { "200": { "description": "Recent mentions for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RecentMentionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/recovery-codes": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List recovery codes for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_RecoveryCodeView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/recovery-codes/regenerate": { "post": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Recovery codes regenerated (plaintext returned once).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RegenerateRecoveryResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/reports": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Reports submitted by the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_ReportView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/sessions": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "app_id", "in": "query", "description": "Filter by app id.", "required": false, "schema": { "type": "string" } }, { "name": "include_revoked", "in": "query", "description": "Include revoked sessions (default false).", "required": false, "schema": { "type": "boolean" } } ], "responses": { "200": { "description": "List active sessions for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SessionView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "All sessions revoked for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_RevokeAllResp" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/sessions/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "Session identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "Session revoked." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/spaces": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Spaces the authenticated user is an active member of, with their effective permissions.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_UserSpacePermissionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/ssh-keys": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "List SSH keys for the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SshKeyView" } } } } }, "security": [ { "bearer_auth": [] } ] }, "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_AddSshKeyCmd" } } }, "required": true }, "responses": { "200": { "description": "SSH key added.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_SshKeyView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/ssh-keys/{id}": { "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "id", "in": "path", "description": "SSH key identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "204": { "description": "SSH key deleted." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/me/suspensions": { "get": { "tags": [ "user" ], "operationId": "handler", "responses": { "200": { "description": "Active suspensions affecting the caller.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_SuspensionView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/reports": { "post": { "tags": [ "user" ], "operationId": "handler", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppRequestData_SubmitReportCmd" } } }, "required": true }, "responses": { "200": { "description": "Report submitted (status = Open).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ReportView" } } } } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/users/{uid}": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "User identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Public view of the user (visibility-filtered).", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_UserPublic" } } } }, "404": { "description": "User not found." } } } }, "/api/v1/user/users/{uid}/follow": { "post": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Follow succeeded (idempotent)." }, "404": { "description": "Target user not found." } }, "security": [ { "bearer_auth": [] } ] }, "delete": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Unfollow succeeded." } }, "security": [ { "bearer_auth": [] } ] } }, "/api/v1/user/users/{uid}/followers": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } }, { "name": "cursor", "in": "query", "description": "Pagination cursor (id).", "required": false, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Page of followers.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_FollowerSummary" } } } } } } }, "/api/v1/user/users/{uid}/following": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "Target user identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } }, { "name": "limit", "in": "query", "description": "Maximum items (default 20).", "required": false, "schema": { "type": "integer", "minimum": 0 } }, { "name": "cursor", "in": "query", "description": "Pagination cursor (id).", "required": false, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Page of accounts the user follows.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_Vec_FollowerSummary" } } } } } } }, "/api/v1/user/users/{uid}/profile-detail": { "get": { "tags": [ "user" ], "operationId": "handler", "parameters": [ { "name": "uid", "in": "path", "description": "User identifier.", "required": true, "schema": { "type": "string", "format": "uuid" } } ], "responses": { "200": { "description": "Extended profile record.", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/AppResponseData_ProfileView" } } } }, "404": { "description": "Profile not found." } } } } }, "components": { "schemas": { "AcceptAgreementCmd": { "type": "object", "required": [ "user_id", "agreement_key", "agreement_version" ], "properties": { "agreement_key": { "type": "string" }, "agreement_version": { "type": "string" }, "user_id": { "type": "string" } } }, "AcceptAgreementResp": { "type": "object", "required": [ "recorded" ], "properties": { "recorded": { "type": "boolean" } } }, "AcceptInviteCmd": { "type": "object", "required": [ "accept_code" ], "properties": { "accept_code": { "type": "string" } } }, "AccessKeyScope": { "type": "string", "enum": [ "read", "write", "repo", "admin", "all" ] }, "AccessKeyView": { "type": "object", "required": [ "id", "name", "token_last_eight", "scope", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" }, "token_last_eight": { "type": "string" }, "updated_at": { "type": "string" } } }, "ActivityPage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ActivityView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "ActivityView": { "type": "object", "required": [ "id", "project_id", "actor_id", "verb", "target_kind", "created_at" ], "properties": { "actor_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string", "format": "date-time" }, "id": { "type": "string", "format": "uuid" }, "payload": {}, "project_id": { "type": "string", "format": "uuid" }, "target_id": { "type": [ "string", "null" ], "format": "uuid" }, "target_kind": { "type": "string" }, "verb": { "type": "string" } } }, "AddCollaboratorOption": { "type": "object", "required": [ "permission" ], "properties": { "permission": { "type": "string" } } }, "AddEmailCmd": { "type": "object", "required": [ "email" ], "properties": { "email": { "type": "string" } } }, "AddEmailResp": { "type": "object", "required": [ "email_id" ], "properties": { "email_id": { "type": "string", "format": "uuid" } } }, "AddFavoriteCmd": { "type": "object", "properties": { "folder": { "type": [ "string", "null" ] } } }, "AddLinkCmd": { "type": "object", "required": [ "related_project_id", "kind" ], "properties": { "kind": { "$ref": "#/components/schemas/LinkKind" }, "related_project_id": { "type": "string", "format": "uuid" } } }, "AddMemberCmd": { "type": "object", "required": [ "user_id" ], "properties": { "role": { "$ref": "#/components/schemas/MemberRole" }, "user_id": { "type": "string", "format": "uuid" } } }, "AddSshKeyCmd": { "type": "object", "required": [ "name", "content" ], "properties": { "content": { "type": "string" }, "key_type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SshKeyType" } ] }, "name": { "type": "string" } } }, "AgreementDoc": { "type": "object", "required": [ "key", "version", "updated_at", "title", "content_md" ], "properties": { "content_md": { "type": "string" }, "key": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" }, "version": { "type": "string" } } }, "AppRequestData_AcceptAgreementCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "user_id", "agreement_key", "agreement_version" ], "properties": { "agreement_key": { "type": "string" }, "agreement_version": { "type": "string" }, "user_id": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AcceptInviteCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "accept_code" ], "properties": { "accept_code": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddCollaboratorOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "permission" ], "properties": { "permission": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddEmailCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email" ], "properties": { "email": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddFavoriteCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "folder": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddLinkCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "related_project_id", "kind" ], "properties": { "kind": { "$ref": "#/components/schemas/LinkKind" }, "related_project_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AddMemberCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "user_id" ], "properties": { "role": { "$ref": "#/components/schemas/MemberRole" }, "user_id": { "type": "string", "format": "uuid" } } }, "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" }, "key_type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SshKeyType" } ] }, "name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ApplyDiffPatchFileOptions": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "sha": { "type": [ "string", "null" ] } } } ] }, "request_id": { "type": "string" } } }, "AppRequestData_ArchiveRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "archived" ], "properties": { "archived": { "type": "boolean" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AssignRoleCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "role_id" ], "properties": { "role_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_AuthorizeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "provider", "code_verifier" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "code_verifier": { "type": "string" }, "provider": { "$ref": "#/components/schemas/OAuthProvider" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ChangeFilesOptions": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "files" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/ChangeFileEntry" } } } } ] }, "request_id": { "type": "string" } } }, "AppRequestData_CloseIssueOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "closed" ], "properties": { "closed": { "type": "boolean" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ConfirmEmailChangeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "ticket_id" ], "properties": { "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_CreateBanCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" ] }, "reason": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateBranchOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_branch_name" ], "properties": { "new_branch_name": { "type": "string" }, "old_branch_name": { "type": [ "string", "null" ] }, "old_ref_name": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateBranchProtectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "branch_name" ], "properties": { "approvals_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "block_admin_merge_override": { "type": [ "boolean", "null" ] }, "block_on_change_requested_reviews": { "type": [ "boolean", "null" ] }, "block_on_outdated_branch": { "type": [ "boolean", "null" ] }, "block_on_rejected_reviews": { "type": [ "boolean", "null" ] }, "branch_name": { "type": "string" }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "dismiss_stale_approvals": { "type": [ "boolean", "null" ] }, "enable_approvals_whitelist": { "type": [ "boolean", "null" ] }, "enable_bypass_allowlist": { "type": [ "boolean", "null" ] }, "enable_force_push": { "type": [ "boolean", "null" ] }, "enable_force_push_allowlist": { "type": [ "boolean", "null" ] }, "enable_merge_whitelist": { "type": [ "boolean", "null" ] }, "enable_push": { "type": [ "boolean", "null" ] }, "enable_push_whitelist": { "type": [ "boolean", "null" ] }, "force_push_allowlist_deploy_keys": { "type": [ "boolean", "null" ] }, "force_push_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "ignore_stale_approvals": { "type": [ "boolean", "null" ] }, "merge_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "priority": { "type": [ "integer", "null" ], "format": "int64" }, "protected_file_patterns": { "type": [ "string", "null" ] }, "push_whitelist_deploy_keys": { "type": [ "boolean", "null" ] }, "push_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "push_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "require_signed_commits": { "type": [ "boolean", "null" ] }, "required_approvals": { "type": [ "integer", "null" ], "format": "int32" }, "rule_name": { "type": [ "string", "null" ] }, "unprotected_file_patterns": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateCollectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "space_id", "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "space_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateCommentOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateDependencyOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "dependency_id" ], "properties": { "dependency_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateDeployKeyOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "title", "key" ], "properties": { "key": { "type": "string" }, "read_only": { "type": [ "boolean", "null" ] }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateDocumentCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "title", "slug" ], "properties": { "content": { "type": "string" }, "icon": { "type": [ "string", "null" ] }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "slug": { "type": "string" }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateFileOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } } ] }, "request_id": { "type": "string" } } }, "AppRequestData_CreateInviteCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "role_ids" ], "properties": { "email": { "type": [ "string", "null" ] }, "expires_at": { "type": [ "string", "null" ] }, "role_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateIssueOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "title", "body" ], "properties": { "body": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateLabelOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateMemberOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "user_id", "kind" ], "properties": { "kind": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateMentionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "is_everyone", "is_here" ], "properties": { "is_everyone": { "type": "boolean" }, "is_here": { "type": "boolean" }, "role_id": { "type": [ "string", "null" ], "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateMilestoneOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePinOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "issue_id", "pin_order" ], "properties": { "issue_id": { "type": "string", "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePostBoardOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePostLabelOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name", "color" ], "properties": { "color": { "type": "string" }, "name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePostOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "title", "body" ], "properties": { "body": { "type": "string" }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePostReactionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateProjectCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "space_id", "name" ], "properties": { "color": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "space_id": { "type": "string", "format": "uuid" }, "target_date": { "type": [ "string", "null" ], "format": "date" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePullRequestCommentOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "body" ], "properties": { "body": { "type": "string" }, "commit_sha": { "type": [ "string", "null" ] }, "line": { "type": [ "integer", "null" ], "format": "int32" }, "path": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreatePullRequestOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "title", "head", "base" ], "properties": { "base": { "type": "string" }, "body": { "type": [ "string", "null" ] }, "head": { "type": "string" }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateReactionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateReleaseOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "tag_name", "title" ], "properties": { "content": { "type": [ "string", "null" ] }, "is_draft": { "type": [ "boolean", "null" ] }, "is_prerelease": { "type": [ "boolean", "null" ] }, "tag_message": { "type": [ "string", "null" ] }, "tag_name": { "type": "string" }, "target": { "type": [ "string", "null" ] }, "title": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateReplyOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "body" ], "properties": { "body": { "type": "string" }, "parent_reply_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "space_id", "name" ], "properties": { "auto_init": { "type": [ "boolean", "null" ] }, "default_branch": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": [ "boolean", "null" ] }, "gitignores": { "type": [ "string", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "issue_labels": { "type": [ "string", "null" ] }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "object_format": { "type": [ "string", "null" ] }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "readme": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "template": { "type": [ "boolean", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateRepoRelOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "repo_id" ], "properties": { "repo_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateRoleCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name", "permissions" ], "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" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateSpaceCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name" ], "properties": { "allow_invite": { "type": "boolean" }, "allow_join": { "type": "boolean" }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceAllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "public": { "type": "boolean" }, "welcome_message": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateStatusOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "state", "context" ], "properties": { "context": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "state": { "type": "string" }, "target_url": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateTagOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "tag_name" ], "properties": { "message": { "type": [ "string", "null" ] }, "tag_name": { "type": "string" }, "target": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateTagProtectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name_pattern" ], "properties": { "name_pattern": { "type": "string" }, "whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string", "format": "uuid" } } } }, "request_id": { "type": "string" } } }, "AppRequestData_CreateViewCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "is_shared": { "type": "boolean" }, "layout": { "type": "string" }, "name": { "type": "string" }, "sort_by": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_DeleteFileOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "sha" ], "properties": { "sha": { "type": "string" } } } ] }, "request_id": { "type": "string" } } }, "AppRequestData_EditBranchProtectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "approvals_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "block_admin_merge_override": { "type": [ "boolean", "null" ] }, "block_on_change_requested_reviews": { "type": [ "boolean", "null" ] }, "block_on_outdated_branch": { "type": [ "boolean", "null" ] }, "block_on_rejected_reviews": { "type": [ "boolean", "null" ] }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "dismiss_stale_approvals": { "type": [ "boolean", "null" ] }, "enable_approvals_whitelist": { "type": [ "boolean", "null" ] }, "enable_bypass_allowlist": { "type": [ "boolean", "null" ] }, "enable_force_push": { "type": [ "boolean", "null" ] }, "enable_force_push_allowlist": { "type": [ "boolean", "null" ] }, "enable_merge_whitelist": { "type": [ "boolean", "null" ] }, "enable_push": { "type": [ "boolean", "null" ] }, "enable_push_whitelist": { "type": [ "boolean", "null" ] }, "force_push_allowlist_deploy_keys": { "type": [ "boolean", "null" ] }, "force_push_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "ignore_stale_approvals": { "type": [ "boolean", "null" ] }, "merge_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "priority": { "type": [ "integer", "null" ], "format": "int64" }, "protected_file_patterns": { "type": [ "string", "null" ] }, "push_whitelist_deploy_keys": { "type": [ "boolean", "null" ] }, "push_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "push_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "require_signed_commits": { "type": [ "boolean", "null" ] }, "required_approvals": { "type": [ "integer", "null" ], "format": "int32" }, "unprotected_file_patterns": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_EditReleaseOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "is_draft": { "type": [ "boolean", "null" ] }, "is_prerelease": { "type": [ "boolean", "null" ] }, "tag_name": { "type": [ "string", "null" ] }, "target": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_EditTagProtectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "name_pattern": { "type": [ "string", "null" ] }, "whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "whitelist_usernames": { "type": [ "array", "null" ], "items": { "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" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "request_id": { "type": "string" } } }, "AppRequestData_ForkRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "to_channel_id" ], "properties": { "description": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "to_channel_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_GenerateRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "to_channel_id", "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "name": { "type": "string" }, "to_channel_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_LoginCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "identifier", "password", "pow" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "identifier": { "type": "string" }, "password": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "request_id": { "type": "string" } } }, "AppRequestData_LogoutCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "refresh_token" ], "properties": { "refresh_token": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_MarkReadCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "notification_ids" ], "properties": { "notification_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "request_id": { "type": "string" } } }, "AppRequestData_MergePullRequestOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "style" ], "properties": { "commit_message": { "type": [ "string", "null" ] }, "commit_title": { "type": [ "string", "null" ] }, "delete_branch_after_merge": { "type": "boolean" }, "style": { "$ref": "#/components/schemas/MergeStyle" } } }, "request_id": { "type": "string" } } }, "AppRequestData_MergeUpstreamRequest": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "branch" ], "properties": { "branch": { "type": "string" }, "ff_only": { "type": [ "boolean", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_ReclaimCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "pow" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RefreshCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "refresh_token" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "refresh_token": { "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" ], "properties": { "accept_agreements": { "type": "array", "items": { "type": "string" } }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "email": { "type": "string" }, "password": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" }, "username": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_RenameBranchOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_name" ], "properties": { "new_name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RenameRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_name" ], "properties": { "new_name": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RepoTopicOptions": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "type": "string" } } } }, "request_id": { "type": "string" } } }, "AppRequestData_RequestChangeBody": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_email" ], "properties": { "new_email": { "type": "string" } } }, "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_ResendCodeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "pow", "purpose" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" }, "purpose": { "type": "string" } } }, "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_key_value" ], "properties": { "email": { "type": "string" }, "new_password": { "type": "string" }, "temp_key_value": { "type": "string" }, "token": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_RevokeSuspensionCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "reason": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_SaveMessageCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "channel_id", "message_id" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_SetRoleOverwriteCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "role_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "role_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_SetUserOverwriteCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "user_id": { "type": "string", "format": "uuid" } } }, "request_id": { "type": "string" } } }, "AppRequestData_SubmitPullRequestReviewOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "state" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/ReviewState" } } }, "request_id": { "type": "string" } } }, "AppRequestData_SubmitReportCmd": { "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_SuspendCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "suspension_type" ], "properties": { "ends_at": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" } } }, "request_id": { "type": "string" } } }, "AppRequestData_TransferRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_channel_id" ], "properties": { "new_channel_id": { "type": "string", "format": "uuid" }, "new_name": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateAvatarOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "image" ], "properties": { "image": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateBanCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" ] }, "reason": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateBranchOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "new_commit_id" ], "properties": { "force": { "type": [ "boolean", "null" ] }, "new_commit_id": { "type": "string" }, "old_commit_id": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateBranchProtectionPriorities": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "ids" ], "properties": { "ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateCollectionOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateCommentOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateDeviceCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "device_name": { "type": [ "string", "null" ] }, "is_trusted": { "type": [ "boolean", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateDocumentCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "slug": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateFileOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "from_path": { "type": [ "string", "null" ] }, "sha": { "type": [ "string", "null" ] } } } ] }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateIssueOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "body": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateIssueUserOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "is_mentioned": { "type": [ "boolean", "null" ] }, "is_read": { "type": [ "boolean", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateLabelOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateMemberCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "role" ], "properties": { "role": { "$ref": "#/components/schemas/MemberRole" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateMilestoneOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "is_closed": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdatePostLabelOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "is_archived": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdatePostOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "body": { "type": [ "string", "null" ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PostStatusView" } ] }, "title": { "type": [ "string", "null" ] } } }, "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" ] }, "push_flags": { "type": [ "integer", "null" ], "format": "int32" }, "show_online_status": { "type": [ "boolean", "null" ] }, "theme_mode": { "type": [ "string", "null" ] }, "theme_token": { "type": [ "string", "null" ] }, "theme_version": { "type": [ "integer", "null" ], "format": "int64" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateProfileCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "avatar": { "type": [ "string", "null" ] }, "display_name": { "type": [ "string", "null" ] }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "profile": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UpdateProfileFields" } ] }, "timezone": { "type": [ "string", "null" ] }, "visibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileVisibility" } ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateProjectCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "health": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProjectHealth" } ] }, "icon": { "type": [ "string", "null" ] }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": [ "string", "null" ] }, "sort_order": { "type": [ "integer", "null" ], "format": "int32" }, "state": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProjectState" } ] }, "target_date": { "type": [ "string", "null" ], "format": "date" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdatePullRequestOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "base": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "head": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateRepoOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "allow_fast_forward_only_merge": { "type": [ "boolean", "null" ] }, "allow_manual_merge": { "type": [ "boolean", "null" ] }, "allow_merge_commits": { "type": [ "boolean", "null" ] }, "allow_merge_update": { "type": [ "boolean", "null" ] }, "allow_rebase": { "type": [ "boolean", "null" ] }, "allow_rebase_explicit": { "type": [ "boolean", "null" ] }, "allow_rebase_update": { "type": [ "boolean", "null" ] }, "allow_squash_merge": { "type": [ "boolean", "null" ] }, "archived": { "type": [ "boolean", "null" ] }, "autodetect_manual_merge": { "type": [ "boolean", "null" ] }, "default_allow_maintainer_edit": { "type": [ "boolean", "null" ] }, "default_branch": { "type": [ "string", "null" ] }, "default_delete_branch_after_merge": { "type": [ "boolean", "null" ] }, "default_merge_style": { "type": [ "string", "null" ] }, "default_update_style": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": [ "boolean", "null" ] }, "external_tracker": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExternalTracker" } ] }, "external_wiki": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExternalWiki" } ] }, "has_actions": { "type": [ "boolean", "null" ] }, "has_code": { "type": [ "boolean", "null" ] }, "has_issues": { "type": [ "boolean", "null" ] }, "has_packages": { "type": [ "boolean", "null" ] }, "has_projects": { "type": [ "boolean", "null" ] }, "has_pull_requests": { "type": [ "boolean", "null" ] }, "has_releases": { "type": [ "boolean", "null" ] }, "has_wiki": { "type": [ "boolean", "null" ] }, "ignore_whitespace_conflicts": { "type": [ "boolean", "null" ] }, "internal_tracker": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/InternalTracker" } ] }, "is_private": { "type": [ "boolean", "null" ] }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "projects_mode": { "type": [ "string", "null" ] }, "template": { "type": [ "boolean", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateRoleCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateSpaceCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "allow_invite": { "type": [ "boolean", "null" ] }, "allow_join": { "type": [ "boolean", "null" ] }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceAllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "member_must_enable_2fa": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] }, "public": { "type": [ "boolean", "null" ] }, "welcome_message": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpdateViewCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "is_shared": { "type": [ "boolean", "null" ] }, "layout": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "sort_by": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UploadAttachmentInput": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "filename", "content_type", "data" ], "properties": { "content_type": { "type": "string" }, "data": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "filename": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UploadAvatarCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "content_type", "data_base64" ], "properties": { "content_type": { "type": "string" }, "data_base64": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpsertMemeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpsertPostWatchOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "mode" ], "properties": { "mode": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpsertPushCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "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/PushPlatform" }, "user_agent": { "type": [ "string", "null" ] } } }, "request_id": { "type": "string" } } }, "AppRequestData_UpsertWatchOption": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "mode" ], "properties": { "mode": { "type": "string" } } }, "request_id": { "type": "string" } } }, "AppRequestData_Vec_String": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "array", "items": { "type": "string" } }, "request_id": { "type": "string" } } }, "AppRequestData_VerifyCodeCmd": { "type": "object", "required": [ "request_id", "at" ], "properties": { "at": { "type": "string" }, "data": { "type": "object", "required": [ "email", "purpose", "code", "temp_key_value" ], "properties": { "code": { "type": "string" }, "email": { "type": "string" }, "purpose": { "type": "string" }, "temp_key_value": { "type": "string" }, "user_id": { "type": [ "string", "null" ] } } }, "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_ActivityPage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ActivityView" } }, "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_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": [ "email_id" ], "properties": { "email_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AttachmentView": { "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", "owner_type", "owner_id", "filename", "content_type", "size", "url", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string" }, "filename": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "owner_id": { "type": "string", "format": "uuid" }, "owner_type": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "uploaded_by": { "type": [ "string", "null" ], "format": "uuid" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AuthorizationUrlResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "url", "temp_key" ], "properties": { "temp_key": { "$ref": "#/components/schemas/TempKey" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_AvatarView": { "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" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BlobView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "size", "encoding", "content" ], "properties": { "content": { "type": "string" }, "encoding": { "type": "string" }, "sha": { "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_BranchPage": { "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/BranchView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BranchProtectionPage": { "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/BranchProtectionView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BranchProtectionView": { "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", "repo_id", "branch_name", "rule_name", "priority", "enable_push", "enable_push_whitelist", "push_whitelist_usernames", "push_whitelist_teams", "push_whitelist_deploy_keys", "enable_force_push", "enable_force_push_allowlist", "force_push_allowlist_usernames", "force_push_allowlist_teams", "force_push_allowlist_deploy_keys", "enable_merge_whitelist", "merge_whitelist_usernames", "merge_whitelist_teams", "enable_bypass_allowlist", "bypass_allowlist_usernames", "bypass_allowlist_teams", "enable_approvals_whitelist", "approvals_whitelist_usernames", "approvals_whitelist_teams", "required_approvals", "block_on_rejected_reviews", "block_on_change_requested_reviews", "block_on_outdated_branch", "dismiss_stale_approvals", "ignore_stale_approvals", "require_signed_commits", "block_admin_merge_override", "protected_file_patterns", "unprotected_file_patterns", "created_at", "updated_at" ], "properties": { "approvals_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "block_admin_merge_override": { "type": "boolean" }, "block_on_change_requested_reviews": { "type": "boolean" }, "block_on_outdated_branch": { "type": "boolean" }, "block_on_rejected_reviews": { "type": "boolean" }, "branch_name": { "type": "string" }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": "array", "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": "array", "items": { "type": "string" } }, "created_at": { "type": "string" }, "dismiss_stale_approvals": { "type": "boolean" }, "enable_approvals_whitelist": { "type": "boolean" }, "enable_bypass_allowlist": { "type": "boolean" }, "enable_force_push": { "type": "boolean" }, "enable_force_push_allowlist": { "type": "boolean" }, "enable_merge_whitelist": { "type": "boolean" }, "enable_push": { "type": "boolean" }, "enable_push_whitelist": { "type": "boolean" }, "force_push_allowlist_deploy_keys": { "type": "boolean" }, "force_push_allowlist_teams": { "type": "array", "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string", "format": "uuid" }, "ignore_stale_approvals": { "type": "boolean" }, "merge_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "priority": { "type": "integer", "format": "int64" }, "protected_file_patterns": { "type": "string" }, "push_whitelist_deploy_keys": { "type": "boolean" }, "push_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "push_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "repo_id": { "type": "string", "format": "uuid" }, "require_signed_commits": { "type": "boolean" }, "required_approvals": { "type": "integer", "format": "int32" }, "rule_name": { "type": "string" }, "unprotected_file_patterns": { "type": "string" }, "updated_at": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_BranchView": { "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", "repo_id", "name", "commit_sha", "is_protected", "protected", "required_approvals", "enable_status_check", "status_check_contexts", "user_can_push", "user_can_merge", "effective_branch_protection_name", "is_deleted", "created_at", "updated_at" ], "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitMeta" } ] }, "commit_sha": { "type": "string" }, "created_at": { "type": "string" }, "deleted_at": { "type": [ "string", "null" ] }, "effective_branch_protection_name": { "type": "string" }, "enable_status_check": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "is_deleted": { "type": "boolean" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" }, "protected": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "required_approvals": { "type": "integer", "format": "int64" }, "status_check_contexts": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" }, "user_can_merge": { "type": "boolean" }, "user_can_push": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ChannelPage": { "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/ChannelView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ChannelView": { "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" ], "properties": { "archived_at": { "type": [ "string", "null" ] }, "archived_by": { "type": [ "string", "null" ], "format": "uuid" }, "color": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "created_by": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "type": "string" }, "name": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int32" }, "purpose": { "type": [ "string", "null" ] }, "space_id": { "type": [ "string", "null" ], "format": "uuid" }, "topic": { "type": [ "string", "null" ] }, "updated_at": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CollaboratorPage": { "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/CollaboratorView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CollectionView": { "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", "name", "nums_open_issue", "nums_closed_issue", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CombinedStatusView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "state", "statuses", "total_count" ], "properties": { "sha": { "type": "string" }, "state": { "type": "string" }, "statuses": { "type": "array", "items": { "$ref": "#/components/schemas/CommitStatusView" } }, "total_count": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommentView": { "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", "poster_id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "poster_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitStatusPage": { "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/CommitStatusView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitStatusView": { "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", "repo_id", "sha", "state", "context", "url", "creator", "created_at" ], "properties": { "context": { "type": "string" }, "created_at": { "type": "string" }, "creator": { "$ref": "#/components/schemas/CommitUserSummary" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": "string" }, "state": { "type": "string" }, "target_url": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "message", "parent_shas", "tree_sha" ], "properties": { "author_email": { "type": [ "string", "null" ] }, "author_name": { "type": [ "string", "null" ] }, "authored_at": { "type": [ "string", "null" ] }, "committed_at": { "type": [ "string", "null" ] }, "committer_email": { "type": [ "string", "null" ] }, "committer_name": { "type": [ "string", "null" ] }, "message": { "type": "string" }, "parent_shas": { "type": "array", "items": { "type": "string" } }, "sha": { "type": "string" }, "tree_sha": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CommitsResponse": { "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/CommitSummary" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_CompareView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "base", "head", "total_commits", "ahead_by", "behind_by", "files" ], "properties": { "ahead_by": { "type": "integer", "format": "int64" }, "base": { "type": "string" }, "behind_by": { "type": "integer", "format": "int64" }, "files": { "type": "array", "items": { "$ref": "#/components/schemas/CompareFileDiff" } }, "head": { "type": "string" }, "merge_base": { "type": [ "string", "null" ] }, "total_commits": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ContentsListResponse": { "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/ContentsResponse" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ContentsResponse": { "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", "path", "sha", "type", "size" ], "properties": { "content": { "type": [ "string", "null" ] }, "download_url": { "type": [ "string", "null" ] }, "encoding": { "type": [ "string", "null" ] }, "git_url": { "type": [ "string", "null" ] }, "html_url": { "type": [ "string", "null" ] }, "last_author_date": { "type": [ "string", "null" ] }, "last_commit_message": { "type": [ "string", "null" ] }, "last_commit_sha": { "type": [ "string", "null" ] }, "last_committer_date": { "type": [ "string", "null" ] }, "lfs_oid": { "type": [ "string", "null" ] }, "lfs_size": { "type": [ "integer", "null" ], "format": "int64" }, "links": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/FileLinksResponse" } ] }, "name": { "type": "string" }, "path": { "type": "string" }, "sha": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "submodule_git_url": { "type": [ "string", "null" ] }, "target": { "type": [ "string", "null" ] }, "type": { "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_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/AccessKeyView" }, "token": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DeletionRequestView": { "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", "status", "created_at", "updated_at" ], "properties": { "cancelled_at": { "type": [ "string", "null" ] }, "completed_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/DeletionStatus" }, "updated_at": { "type": "string" }, "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_DependencyView": { "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" }, "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_DeployKeyPage": { "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/DeployKeyView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DeployKeyView": { "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", "key_id", "repo_id", "title", "key_type", "fingerprint", "content", "url", "read_only", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_id": { "type": "integer", "format": "int64" }, "key_type": { "type": "string" }, "last_used_at": { "type": [ "string", "null" ] }, "read_only": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "title": { "type": "string" }, "url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DeviceView": { "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", "is_trusted", "first_seen_at", "last_seen_at", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "device_name": { "type": [ "string", "null" ] }, "device_type": { "type": [ "string", "null" ] }, "first_seen_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_trusted": { "type": "boolean" }, "last_seen_at": { "type": "string" }, "os": { "type": [ "string", "null" ] }, "updated_at": { "type": "string" }, "user_agent": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_DocumentPage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/DocumentView" } }, "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_DocumentView": { "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", "project_id", "creator_id", "title", "slug", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "last_editor_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "project_id": { "type": "string", "format": "uuid" }, "slug": { "type": "string" }, "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_EmailChangeTicketView": { "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", "expires_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "expires_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "new_email": { "type": "string" }, "status": { "$ref": "#/components/schemas/EmailChangeTicketStatus" }, "used_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_FavoritePage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/FavoriteView" } }, "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_FavoriteView": { "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", "project_id", "user_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "folder": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "project_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_FileDeleteResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitSummary" } ] }, "content": {} } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_FilesResponse": { "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" ], "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitSummary" } ] }, "files": { "type": "array", "items": { "$ref": "#/components/schemas/ContentsResponse" } } } }, "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_ForksResponse": { "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/ForkView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueConfig": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "blank_issues_enabled" ], "properties": { "blank_issues_enabled": { "type": "boolean" }, "contact_links": {} } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_IssueConfigValidation": { "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": { "message": { "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_IssueUserView": { "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", "issue_id", "is_read", "is_mentioned", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_mentioned": { "type": "boolean" }, "is_read": { "type": "boolean" }, "issue_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_IssueView": { "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", "collection_id", "autoincrement_id", "author_id", "title", "body", "state", "created_at" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "autoincrement_id": { "type": "integer", "format": "int32" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ] }, "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "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" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LabelView": { "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", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LanguagesResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "languages" ], "properties": { "languages": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" }, "propertyNames": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LicensesResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "licenses" ], "properties": { "licenses": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_LinkPage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/LinkView" } }, "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_LinkView": { "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", "project_id", "related_project_id", "kind", "created_by", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/LinkKind" }, "project_id": { "type": "string", "format": "uuid" }, "related_project_id": { "type": "string", "format": "uuid" } } }, "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": [ "access_token", "refresh_token", "token_type", "expires_in", "user" ], "properties": { "access_token": { "type": "string" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" }, "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": [ "revoked" ], "properties": { "revoked": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MarkAllReadResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "marked" ], "properties": { "marked": { "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_MarkReadResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "marked" ], "properties": { "marked": { "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_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": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MemberView" } }, "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_MemberView": { "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", "user_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "kind": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "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_MemeView": { "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" }, "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_MergeUpstreamResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "merge_type" ], "properties": { "merge_type": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MergeView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "merged" ], "properties": { "merged": { "type": "boolean" }, "message": { "type": [ "string", "null" ] }, "sha": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_MilestoneView": { "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", "collection_id", "name", "is_closed", "num_issues", "num_closed_issues", "created_at" ], "properties": { "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_closed": { "type": "boolean" }, "name": { "type": "string" }, "num_closed_issues": { "type": "integer", "format": "int32" }, "num_issues": { "type": "integer", "format": "int32" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_NewPinAllowedResponse": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "allowed" ], "properties": { "allowed": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_NoteView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "message" ], "properties": { "message": { "type": "string" }, "sha": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_OAuthLoginResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "access_token", "refresh_token", "token_type", "expires_in", "user_id", "auto_registered", "birthday_required" ], "properties": { "access_token": { "type": "string" }, "auto_registered": { "type": "boolean" }, "birthday_required": { "type": "boolean" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" }, "user_id": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Option_AvatarView": { "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" }, "url": { "type": "string" } } } ] }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PinView": { "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", "collection_id", "pin_order", "created_at" ], "properties": { "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "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_PostBoardView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "description": "A post board (collection) hosting posts for a space.", "required": [ "id", "channel_id", "name", "nums_open_post", "nums_closed_post", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "nums_closed_post": { "type": "integer", "format": "int64" }, "nums_open_post": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostLabelPage": { "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/PostLabelView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostLabelView": { "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", "name", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostMentionView": { "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", "target", "target_id", "is_everyone", "is_here", "created_at" ], "properties": { "channel_id": { "type": [ "string", "null" ], "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_everyone": { "type": "boolean" }, "is_here": { "type": "boolean" }, "role_id": { "type": [ "string", "null" ], "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_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_PostReactionView": { "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", "target", "target_id", "user_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_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_PostReplyPage": { "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/PostReplyView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostReplyView": { "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", "post_id", "author_id", "body", "is_pinned", "created_at" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "created_at": { "type": "string" }, "deleted_at": { "type": [ "string", "null" ] }, "deleted_by": { "type": [ "string", "null" ], "format": "uuid" }, "edited_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_pinned": { "type": "boolean" }, "parent_reply_id": { "type": [ "string", "null" ], "format": "uuid" }, "post_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "description": "A single post (thread).", "required": [ "id", "collection_id", "number", "author_id", "title", "body", "status", "is_pinned", "reply_count", "created_at" ], "properties": { "archived_at": { "type": [ "string", "null" ] }, "author_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ] }, "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_pinned": { "type": "boolean" }, "last_reply_at": { "type": [ "string", "null" ] }, "last_reply_by": { "type": [ "string", "null" ], "format": "uuid" }, "number": { "type": "integer", "format": "int64" }, "reply_count": { "type": "integer", "format": "int32" }, "status": { "$ref": "#/components/schemas/PostStatusView" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PostWatchView": { "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", "post_id", "user_id", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "mode": { "type": "string" }, "post_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] }, "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_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": [ "challenge", "ttl_seconds" ], "properties": { "challenge": { "type": "string" }, "ttl_seconds": { "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_ProfileView": { "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", "show_email", "show_location", "show_real_name", "show_activity", "updated_at" ], "properties": { "accent_color": { "type": [ "string", "null" ] }, "banner_color": { "type": [ "integer", "null" ], "format": "int32" }, "banner_url": { "type": [ "string", "null" ] }, "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "pronouns_privacy": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileVisibility" } ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": "boolean" }, "show_email": { "type": "boolean" }, "show_location": { "type": "boolean" }, "show_real_name": { "type": "boolean" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" }, "website": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ProjectPage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectView" } }, "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_ProjectView": { "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", "creator_id", "name", "state", "health", "sort_order", "starred", "created_at" ], "properties": { "cancelled_at": { "type": [ "string", "null" ], "format": "date-time" }, "color": { "type": [ "string", "null" ] }, "completed_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "health": { "$ref": "#/components/schemas/ProjectHealth" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": "string" }, "sort_order": { "type": "integer", "format": "int32" }, "space_id": { "type": "string", "format": "uuid" }, "starred": { "type": "integer", "format": "int32" }, "started_at": { "type": [ "string", "null" ], "format": "date-time" }, "state": { "$ref": "#/components/schemas/ProjectState" }, "target_date": { "type": [ "string", "null" ], "format": "date" }, "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_PullRequestCommentView": { "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", "pull_request_id", "user_id", "body", "created_at" ], "properties": { "body": { "type": "string" }, "commit_sha": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "line": { "type": [ "integer", "null" ], "format": "int32" }, "path": { "type": [ "string", "null" ] }, "pull_request_id": { "type": "string", "format": "uuid" }, "review_id": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] }, "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_PullRequestPage": { "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/PullRequestView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PullRequestReviewView": { "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", "pull_request_id", "user_id", "official", "state", "created_at" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "official": { "type": "boolean" }, "pull_request_id": { "type": "string", "format": "uuid" }, "state": { "$ref": "#/components/schemas/ReviewState" }, "updated_at": { "type": [ "string", "null" ] }, "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_PullRequestView": { "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", "repo_id", "number", "title", "head_branch", "base_branch", "author_id", "state", "is_locked", "has_merged", "created_at", "comments_count", "reviews_count" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "base_branch": { "type": "string" }, "base_sha": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "closed_at": { "type": [ "string", "null" ] }, "comments_count": { "type": "integer", "format": "int64" }, "created_at": { "type": "string" }, "has_merged": { "type": "boolean" }, "head_branch": { "type": "string" }, "head_sha": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_locked": { "type": "boolean" }, "mergeable": { "type": [ "boolean", "null" ] }, "mergeable_state": { "type": [ "string", "null" ] }, "merged_at": { "type": [ "string", "null" ] }, "merged_commit_sha": { "type": [ "string", "null" ] }, "merger_id": { "type": [ "string", "null" ] }, "number": { "type": "integer", "format": "int64" }, "repo_id": { "type": "string", "format": "uuid" }, "reviews_count": { "type": "integer", "format": "int64" }, "state": { "$ref": "#/components/schemas/PrState" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_PushSubscriptionView": { "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", "platform", "endpoint", "created_at" ], "properties": { "created_at": { "type": "string" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushPlatform" }, "user_agent": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReactionView": { "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", "user_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "scope": { "$ref": "#/components/schemas/ReactionScope" }, "target_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_ReadmeView": { "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", "path", "content" ], "properties": { "content": { "type": "string" }, "path": { "type": "string" }, "ref_": { "type": [ "string", "null" ] }, "rendered_html": { "type": [ "string", "null" ] }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "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_RefreshResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "access_token", "refresh_token", "token_type", "expires_in" ], "properties": { "access_token": { "type": "string" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RegenerateRecoveryResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "codes" ], "properties": { "codes": { "type": "array", "items": { "type": "string" } } } }, "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", "temp_key", "purpose" ], "properties": { "pending": { "type": "boolean" }, "purpose": { "type": "string" }, "temp_key": { "$ref": "#/components/schemas/TempKey" }, "uid": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReleaseAttachmentListResponse": { "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/ReleaseAttachmentView" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReleaseAttachmentView": { "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", "size", "download_url", "created_at" ], "properties": { "created_at": { "type": "string" }, "download_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "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_ReleasePage": { "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/ReleaseView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReleaseView": { "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", "repo_id", "tag_name", "target", "title", "sha", "num_commits", "is_draft", "is_prerelease", "is_tag", "url", "html_url", "tarball_url", "zipball_url", "upload_url", "publisher", "attachments", "created_at", "updated_at" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseAttachment" } }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "html_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_draft": { "type": "boolean" }, "is_prerelease": { "type": "boolean" }, "is_tag": { "type": "boolean" }, "num_commits": { "type": "integer", "format": "int32" }, "publisher": { "$ref": "#/components/schemas/UserSummary" }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": "string" }, "tag_name": { "type": "string" }, "tarball_url": { "type": "string" }, "target": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" }, "upload_url": { "type": "string" }, "url": { "type": "string" }, "zipball_url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoCollaboratorPermission": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "permission", "role", "user" ], "properties": { "permission": { "type": "string" }, "role": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserSummary" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoFeaturesView": { "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", "has_issues", "has_pull_requests", "has_wiki", "has_projects", "has_packages", "has_releases", "has_discussions" ], "properties": { "has_actions": { "type": [ "boolean", "null" ] }, "has_discussions": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_packages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_pull_requests": { "type": "boolean" }, "has_releases": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "projects_mode": { "type": [ "string", "null" ] }, "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_RepoMergeStrategiesView": { "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", "allow_merge_commits", "allow_squash_merge", "allow_rebase", "allow_rebase_explicit", "allow_fast_forward_only_merge", "allow_manual_merge", "autodetect_manual_merge", "allow_rebase_update", "allow_merge_update", "default_allow_maintainer_edit", "ignore_whitespace_conflicts" ], "properties": { "allow_fast_forward_only_merge": { "type": "boolean" }, "allow_manual_merge": { "type": "boolean" }, "allow_merge_commits": { "type": "boolean" }, "allow_merge_update": { "type": "boolean" }, "allow_rebase": { "type": "boolean" }, "allow_rebase_explicit": { "type": "boolean" }, "allow_rebase_update": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "autodetect_manual_merge": { "type": "boolean" }, "default_allow_maintainer_edit": { "type": "boolean" }, "default_delete_branch_after_merge": { "type": [ "boolean", "null" ] }, "ignore_whitespace_conflicts": { "type": "boolean" }, "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_RepoPage": { "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/RepoView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoRelView": { "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" }, "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_RepoSummary": { "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", "full_name", "empty", "private", "fork", "template", "mirror", "size", "stars_count", "forks_count", "watchers_count", "open_issues_count" ], "properties": { "description": { "type": [ "string", "null" ] }, "empty": { "type": "boolean" }, "fork": { "type": "boolean" }, "forks_count": { "type": "integer", "format": "int32" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "mirror": { "type": "boolean" }, "name": { "type": "string" }, "open_issues_count": { "type": "integer", "format": "int32" }, "private": { "type": "boolean" }, "size": { "type": "integer", "format": "int64" }, "stars_count": { "type": "integer", "format": "int32" }, "template": { "type": "boolean" }, "watchers_count": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RepoView": { "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", "space_id", "name", "lower_name", "full_name", "default_branch", "enable_lfs", "is_private", "is_archived", "is_fork", "is_template", "is_mirror", "empty", "size", "git_size", "lfs_size", "nums_watch", "nums_star", "nums_pr", "nums_commits", "nums_branches", "nums_tags", "allow_rebase", "allow_rebase_explicit", "allow_squash_merge", "allow_merge_commits", "allow_fast_forward_only_merge", "allow_rebase_update", "allow_merge_update", "allow_manual_merge", "autodetect_manual_merge", "default_delete_branch_after_merge", "default_allow_maintainer_edit", "ignore_whitespace_conflicts", "object_format", "has_code", "has_issues", "has_wiki", "has_pull_requests", "has_projects", "has_releases", "has_packages", "has_actions", "projects_mode", "languages", "licenses", "topics", "html_url", "url", "link", "ssh_url", "clone_url", "created_at", "updated_at" ], "properties": { "allow_fast_forward_only_merge": { "type": "boolean" }, "allow_manual_merge": { "type": "boolean" }, "allow_merge_commits": { "type": "boolean" }, "allow_merge_update": { "type": "boolean" }, "allow_rebase": { "type": "boolean" }, "allow_rebase_explicit": { "type": "boolean" }, "allow_rebase_update": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archived_at": { "type": [ "string", "null" ] }, "autodetect_manual_merge": { "type": "boolean" }, "avatar_url": { "type": [ "string", "null" ] }, "channel": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ChannelSummary" } ] }, "channel_id": { "type": "string", "format": "uuid" }, "clone_url": { "type": "string" }, "created_at": { "type": "string" }, "default_allow_maintainer_edit": { "type": "boolean" }, "default_branch": { "type": "string" }, "default_delete_branch_after_merge": { "type": "boolean" }, "description": { "type": [ "string", "null" ] }, "empty": { "type": "boolean" }, "enable_lfs": { "type": "boolean" }, "full_name": { "type": "string" }, "git_size": { "type": "integer", "format": "int64" }, "has_actions": { "type": "boolean" }, "has_code": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_packages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_pull_requests": { "type": "boolean" }, "has_releases": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "html_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "ignore_whitespace_conflicts": { "type": "boolean" }, "is_archived": { "type": "boolean" }, "is_fork": { "type": "boolean" }, "is_mirror": { "type": "boolean" }, "is_private": { "type": "boolean" }, "is_template": { "type": "boolean" }, "languages": { "type": "array", "items": { "type": "string" } }, "last_pushed_at": { "type": [ "string", "null" ] }, "lfs_size": { "type": "integer", "format": "int64" }, "license_name": { "type": [ "string", "null" ] }, "licenses": { "type": "array", "items": { "type": "string" } }, "link": { "type": "string" }, "lower_name": { "type": "string" }, "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" }, "parent": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RepoView" } ] }, "primary_language": { "type": [ "string", "null" ] }, "projects_mode": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "space": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceSummary" } ] }, "space_id": { "type": "string", "format": "uuid" }, "ssh_url": { "type": "string" }, "storage_limit_size": { "type": [ "integer", "null" ], "format": "int64" }, "topics": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" }, "url": { "type": "string" }, "website": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ReportView": { "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", "updated_at" ], "properties": { "created_at": { "type": "string" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "reporter_uid": { "type": [ "string", "null" ], "format": "uuid" }, "resolution_note": { "type": [ "string", "null" ] }, "resolver_uid": { "type": [ "string", "null" ], "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReportStatus" }, "updated_at": { "type": "string" } } }, "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_ResetPasswordResp": { "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" ], "properties": { "ok": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RevokeAllResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "revoked" ], "properties": { "revoked": { "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_RoleOverwriteView": { "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", "channel_id", "role_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "role_id": { "type": "string", "format": "uuid" }, "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_RolePage": { "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/RoleView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_RoleView": { "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", "created_by", "permissions" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string" }, "created_by": { "type": "string", "format": "uuid" }, "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" ] }, "version": { "type": "integer", "format": "int32" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SavedMessageView": { "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" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SearchResults": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "data", "ok" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/RepoSummary" } }, "ok": { "type": "boolean" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SetPrimaryEmailResp": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "email" ], "properties": { "email": { "$ref": "#/components/schemas/EmailView" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SidebarTreeView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "description": "空间侧边栏树:顶层为分组节点(频道/仓库/私信),children 经 parent_id 邻接表引用", "required": [ "tree" ], "properties": { "tree": { "type": "array", "items": { "$ref": "#/components/schemas/SidebarNode" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceBanPage": { "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/SpaceBanView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceBanView": { "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", "user_id", "banned_by", "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": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string" }, "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_SpaceInvitePage": { "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/SpaceInviteView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceInviteView": { "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", "role_ids", "created_at" ], "properties": { "accepted_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "email": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "revoked_at": { "type": [ "string", "null" ] }, "role_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "space_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_SpaceMemberPage": { "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/SpaceMemberView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceMemberView": { "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", "user_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" }, "hide_muted_channels": { "type": "boolean" }, "invited_at": { "type": [ "string", "null" ] }, "invited_by": { "type": [ "string", "null" ], "format": "uuid" }, "joined_at": { "type": "string" }, "last_active_at": { "type": [ "string", "null" ] }, "left_at": { "type": [ "string", "null" ] }, "message_notifications": { "$ref": "#/components/schemas/MessageNotifications" }, "mobile_push": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ] }, "muted": { "type": "boolean" }, "space_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/SpaceMemberStatus" }, "suppress_everyone": { "type": "boolean" }, "suppress_roles": { "type": "boolean" }, "updated_at": { "type": [ "string", "null" ] }, "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_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/SpaceView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SpaceView": { "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", "owner_id", "public", "is_active", "allow_join", "allow_invite", "member_count", "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/SpaceAllowJoinLevel" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_active": { "type": "boolean" }, "member_count": { "type": "integer", "format": "int64" }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "owner_id": { "type": "string", "format": "uuid" }, "public": { "type": "boolean" }, "updated_at": { "type": "string" }, "welcome_message": { "type": [ "string", "null" ] } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SshKeyView": { "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" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "last_used_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_StopwatchView": { "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", "user_id", "started_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "started_at": { "type": "string" }, "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_SubscriberPage": { "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/SubscriberView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Subscription": { "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" ], "properties": { "created_at": { "type": "string" }, "mode": { "type": "string" }, "repo_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_SuspensionView": { "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", "suspension_type", "starts_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "ends_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "revoked_at": { "type": [ "string", "null" ] }, "revoked_by": { "type": [ "string", "null" ], "format": "uuid" }, "starts_at": { "type": "string" }, "suspended_by": { "type": [ "string", "null" ], "format": "uuid" }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" }, "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_SyncResult": { "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", "branches_added", "tags_added", "commits_added", "size_bytes" ], "properties": { "branches_added": { "type": "integer", "format": "int64" }, "commits_added": { "type": "integer", "format": "int64" }, "repo_id": { "type": "string", "format": "uuid" }, "size_bytes": { "type": "integer", "format": "int64" }, "tags_added": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_SyncStatus": { "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", "branches_total", "tags_total", "commits_total", "size", "synced_at" ], "properties": { "branches_total": { "type": "integer", "format": "int64" }, "commits_total": { "type": "integer", "format": "int64" }, "last_pushed_at": { "type": [ "string", "null" ] }, "primary_language": { "type": [ "string", "null" ] }, "repo_id": { "type": "string", "format": "uuid" }, "size": { "type": "integer", "format": "int64" }, "synced_at": { "type": "string" }, "tags_total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagPage": { "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/TagView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagProtectionPage": { "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/TagProtectionView" } }, "total": { "type": "integer", "format": "int64" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagProtectionView": { "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", "repo_id", "name_pattern", "whitelist_usernames", "whitelist_teams", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name_pattern": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string" }, "whitelist_teams": { "type": "array", "items": { "type": "string" } }, "whitelist_usernames": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TagView": { "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", "repo_id", "name", "tag_type", "commit_sha", "commit", "message", "zipball_url", "tarball_url", "created_at" ], "properties": { "commit": { "$ref": "#/components/schemas/CommitMeta" }, "commit_sha": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "message": { "type": "string" }, "name": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "tag_type": { "type": "string" }, "tarball_url": { "type": "string" }, "zipball_url": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TopicList": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TopicSearchResult": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "$ref": "#/components/schemas/TopicView" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_TreeView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "sha", "entries" ], "properties": { "entries": { "type": "array", "items": { "$ref": "#/components/schemas/TreeEntryView" } }, "sha": { "type": "string" } } }, "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" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UserMe": { "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", "is_active", "is_admin", "is_restricted" ], "properties": { "avatar": { "type": "string" }, "display_name": { "type": "string" }, "is_active": { "type": "boolean" }, "is_admin": { "type": "boolean" }, "is_restricted": { "type": "boolean" }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "timezone": { "type": [ "string", "null" ] }, "uid": { "type": "string" }, "username": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_UserOverwriteView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "channel_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "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_UserPreferences": { "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", "theme_mode", "in_app_flags", "email_flags", "push_flags", "email_digest", "allow_dms_from", "allow_mentions_from", "show_online_status", "created_at", "updated_at" ], "properties": { "allow_dms_from": { "$ref": "#/components/schemas/Audience" }, "allow_mentions_from": { "$ref": "#/components/schemas/Audience" }, "created_at": { "type": "string" }, "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" ] }, "push_flags": { "type": "integer", "format": "int32" }, "show_online_status": { "type": "boolean" }, "theme_mode": { "type": "string" }, "theme_token": { "type": [ "string", "null" ] }, "theme_version": { "type": [ "integer", "null" ], "format": "int64" }, "updated_at": { "type": "string" }, "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_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", "visibility", "bot", "system", "created_at" ], "properties": { "avatar": { "type": "string" }, "bot": { "type": "boolean" }, "common_spaces": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceView" } }, "created_at": { "type": "string" }, "display_name": { "type": "string" }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "system": { "type": "boolean" }, "timezone": { "type": [ "string", "null" ] }, "uid": { "type": "string", "format": "uuid" }, "username": { "type": "string" }, "visibility": { "$ref": "#/components/schemas/ProfileVisibility" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Value": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": {}, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_AccessKeyView": { "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", "token_last_eight", "scope", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "scope": { "$ref": "#/components/schemas/AccessKeyScope" }, "token_last_eight": { "type": "string" }, "updated_at": { "type": "string" } } } }, "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", "updated_at", "title", "content_md" ], "properties": { "content_md": { "type": "string" }, "key": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "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_BlockedSummary": { "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", "since" ], "properties": { "since": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserPublic" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_CollectionView": { "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", "name", "nums_open_issue", "nums_closed_issue", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_CommitView": { "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": [ "sha", "message", "parent_shas", "tree_sha" ], "properties": { "author_email": { "type": [ "string", "null" ] }, "author_name": { "type": [ "string", "null" ] }, "authored_at": { "type": [ "string", "null" ] }, "committed_at": { "type": [ "string", "null" ] }, "committer_email": { "type": [ "string", "null" ] }, "committer_name": { "type": [ "string", "null" ] }, "message": { "type": "string" }, "parent_shas": { "type": "array", "items": { "type": "string" } }, "sha": { "type": "string" }, "tree_sha": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ContentsExtResponse": { "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_contents" ], "properties": { "dir_contents": { "type": "array", "items": { "$ref": "#/components/schemas/ContentsResponse" } }, "file_contents": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ContentsResponse" } ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_DeletionRequestView": { "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", "user_id", "status", "created_at", "updated_at" ], "properties": { "cancelled_at": { "type": [ "string", "null" ] }, "completed_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/DeletionStatus" }, "updated_at": { "type": "string" }, "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_DeviceView": { "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", "is_trusted", "first_seen_at", "last_seen_at", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "device_name": { "type": [ "string", "null" ] }, "device_type": { "type": [ "string", "null" ] }, "first_seen_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_trusted": { "type": "boolean" }, "last_seen_at": { "type": "string" }, "os": { "type": [ "string", "null" ] }, "updated_at": { "type": "string" }, "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_EmailView": { "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", "updated_at" ], "properties": { "activated_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "email": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_activated": { "type": "boolean" }, "is_primary": { "type": "boolean" }, "updated_at": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_FollowerSummary": { "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", "since" ], "properties": { "since": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserPublic" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_GitRef": { "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", "sha", "type_" ], "properties": { "name": { "type": "string" }, "sha": { "type": "string" }, "type_": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_IssueTemplate": { "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", "title", "content", "fields" ], "properties": { "content": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/IssueTemplateField" } }, "name": { "type": "string" }, "title": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_LabelView": { "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", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_MemeView": { "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" }, "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_NotificationView": { "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" }, "id": { "type": "string", "format": "uuid" }, "notification_type": { "$ref": "#/components/schemas/NotificationType" }, "read_at": { "type": [ "string", "null" ] }, "title": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_OAuthProviderInfo": { "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", "authorize_url" ], "properties": { "authorize_url": { "type": "string" }, "display_name": { "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_PostLabelView": { "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", "name", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_PostMentionView": { "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", "target_id", "is_everyone", "is_here", "created_at" ], "properties": { "channel_id": { "type": [ "string", "null" ], "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_everyone": { "type": "boolean" }, "is_here": { "type": "boolean" }, "role_id": { "type": [ "string", "null" ], "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_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_PostReactionView": { "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", "target_id", "user_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_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_PullRequestCommentView": { "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", "pull_request_id", "user_id", "body", "created_at" ], "properties": { "body": { "type": "string" }, "commit_sha": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "line": { "type": [ "integer", "null" ], "format": "int32" }, "path": { "type": [ "string", "null" ] }, "pull_request_id": { "type": "string", "format": "uuid" }, "review_id": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] }, "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_PullRequestEventView": { "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", "pull_request_id", "user_id", "event_type", "created_at" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "event_type": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "pull_request_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_PullRequestReviewView": { "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", "pull_request_id", "user_id", "official", "state", "created_at" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "official": { "type": "boolean" }, "pull_request_id": { "type": "string", "format": "uuid" }, "state": { "$ref": "#/components/schemas/ReviewState" }, "updated_at": { "type": [ "string", "null" ] }, "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_PushSubscriptionView": { "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", "platform", "endpoint", "created_at" ], "properties": { "created_at": { "type": "string" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushPlatform" }, "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_RecentMentionView": { "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" }, "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_RecoveryCodeView": { "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", "created_at" ], "properties": { "created_at": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "used_at": { "type": [ "string", "null" ] } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ReportView": { "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" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "reporter_uid": { "type": [ "string", "null" ], "format": "uuid" }, "resolution_note": { "type": [ "string", "null" ] }, "resolver_uid": { "type": [ "string", "null" ], "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReportStatus" }, "updated_at": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_RoleOverwriteView": { "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", "channel_id", "role_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "role_id": { "type": "string", "format": "uuid" }, "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_SavedMessageView": { "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" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_ScheduledMessageView": { "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" }, "id": { "type": "string", "format": "uuid" }, "payload": { "type": "string" }, "scheduled_at": { "type": "string" }, "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_SessionView": { "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", "is_revoked", "created_at", "expires_at" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "client_ip_hash": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "expires_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_revoked": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/SessionKind" }, "replaced_at": { "type": [ "string", "null" ] }, "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_SshKeyView": { "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" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "last_used_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_SuspensionView": { "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", "user_id", "suspension_type", "starts_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "ends_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "revoked_at": { "type": [ "string", "null" ] }, "revoked_by": { "type": [ "string", "null" ], "format": "uuid" }, "starts_at": { "type": "string" }, "suspended_by": { "type": [ "string", "null" ], "format": "uuid" }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" }, "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_UserMini": { "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", "login" ], "properties": { "avatar_url": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "full_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "login": { "type": "string" } } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_Vec_UserOverwriteView": { "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": [ "channel_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "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_UserSpacePermissionView": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "array", "items": { "allOf": [ { "$ref": "#/components/schemas/SpaceView" }, { "type": "object", "required": [ "permissions" ], "properties": { "permissions": { "type": "array", "items": { "type": "string" } } } } ] } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_VerifyCodeResult": { "type": "object", "required": [ "code", "message", "duration", "request_id", "at", "log_id" ], "properties": { "at": { "type": "string" }, "code": { "type": "integer", "format": "int32" }, "data": { "type": "object", "required": [ "code_row_id" ], "properties": { "code_row_id": { "type": "string" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "AppResponseData_ViewPage": { "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", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ViewView" } }, "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_ViewView": { "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", "project_id", "creator_id", "name", "filter", "sort_by", "layout", "is_shared", "sort_order", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_shared": { "type": "boolean" }, "layout": { "type": "string" }, "name": { "type": "string" }, "project_id": { "type": "string", "format": "uuid" }, "sort_by": { "type": "string" }, "sort_order": { "type": "integer", "format": "int32" }, "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_WatchView": { "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", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "mode": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "duration": { "type": "string" }, "error": { "type": [ "string", "null" ] }, "log_id": { "type": "string" }, "message": { "type": "string" }, "request_id": { "type": "string" } } }, "ApplyDiffPatchFileOptions": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "sha": { "type": [ "string", "null" ] } } } ] }, "ArchiveFormatQuery": { "type": "object", "properties": { "format": { "type": [ "string", "null" ] }, "ref_name": { "type": [ "string", "null" ] } } }, "ArchiveRepoOption": { "type": "object", "required": [ "archived" ], "properties": { "archived": { "type": "boolean" } } }, "AssignRoleCmd": { "type": "object", "required": [ "role_id" ], "properties": { "role_id": { "type": "string", "format": "uuid" } } }, "AttachmentPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/AttachmentView" } }, "total": { "type": "integer", "format": "int64" } } }, "AttachmentView": { "type": "object", "required": [ "id", "owner_type", "owner_id", "filename", "content_type", "size", "url", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string" }, "filename": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "owner_id": { "type": "string", "format": "uuid" }, "owner_type": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "uploaded_by": { "type": [ "string", "null" ], "format": "uuid" }, "url": { "type": "string" } } }, "Audience": { "type": "string", "enum": [ "everyone", "following_only", "nobody" ] }, "AuthorizationUrlResp": { "type": "object", "required": [ "url", "temp_key" ], "properties": { "temp_key": { "$ref": "#/components/schemas/TempKey" }, "url": { "type": "string" } } }, "AuthorizeCmd": { "type": "object", "required": [ "provider", "code_verifier" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "code_verifier": { "type": "string" }, "provider": { "$ref": "#/components/schemas/OAuthProvider" } } }, "AvatarFormat": { "type": "string", "enum": [ "jpg", "png", "webp", "gif" ] }, "AvatarView": { "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" }, "url": { "type": "string" } } }, "BlobView": { "type": "object", "required": [ "sha", "size", "encoding", "content" ], "properties": { "content": { "type": "string" }, "encoding": { "type": "string" }, "sha": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "BlockedSummary": { "type": "object", "required": [ "user", "since" ], "properties": { "since": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserPublic" } } }, "BranchPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BranchView" } }, "total": { "type": "integer", "format": "int64" } } }, "BranchProtectionPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/BranchProtectionView" } }, "total": { "type": "integer", "format": "int64" } } }, "BranchProtectionView": { "type": "object", "required": [ "id", "repo_id", "branch_name", "rule_name", "priority", "enable_push", "enable_push_whitelist", "push_whitelist_usernames", "push_whitelist_teams", "push_whitelist_deploy_keys", "enable_force_push", "enable_force_push_allowlist", "force_push_allowlist_usernames", "force_push_allowlist_teams", "force_push_allowlist_deploy_keys", "enable_merge_whitelist", "merge_whitelist_usernames", "merge_whitelist_teams", "enable_bypass_allowlist", "bypass_allowlist_usernames", "bypass_allowlist_teams", "enable_approvals_whitelist", "approvals_whitelist_usernames", "approvals_whitelist_teams", "required_approvals", "block_on_rejected_reviews", "block_on_change_requested_reviews", "block_on_outdated_branch", "dismiss_stale_approvals", "ignore_stale_approvals", "require_signed_commits", "block_admin_merge_override", "protected_file_patterns", "unprotected_file_patterns", "created_at", "updated_at" ], "properties": { "approvals_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "block_admin_merge_override": { "type": "boolean" }, "block_on_change_requested_reviews": { "type": "boolean" }, "block_on_outdated_branch": { "type": "boolean" }, "block_on_rejected_reviews": { "type": "boolean" }, "branch_name": { "type": "string" }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": "array", "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": "array", "items": { "type": "string" } }, "created_at": { "type": "string" }, "dismiss_stale_approvals": { "type": "boolean" }, "enable_approvals_whitelist": { "type": "boolean" }, "enable_bypass_allowlist": { "type": "boolean" }, "enable_force_push": { "type": "boolean" }, "enable_force_push_allowlist": { "type": "boolean" }, "enable_merge_whitelist": { "type": "boolean" }, "enable_push": { "type": "boolean" }, "enable_push_whitelist": { "type": "boolean" }, "force_push_allowlist_deploy_keys": { "type": "boolean" }, "force_push_allowlist_teams": { "type": "array", "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string", "format": "uuid" }, "ignore_stale_approvals": { "type": "boolean" }, "merge_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "priority": { "type": "integer", "format": "int64" }, "protected_file_patterns": { "type": "string" }, "push_whitelist_deploy_keys": { "type": "boolean" }, "push_whitelist_teams": { "type": "array", "items": { "type": "string" } }, "push_whitelist_usernames": { "type": "array", "items": { "type": "string" } }, "repo_id": { "type": "string", "format": "uuid" }, "require_signed_commits": { "type": "boolean" }, "required_approvals": { "type": "integer", "format": "int32" }, "rule_name": { "type": "string" }, "unprotected_file_patterns": { "type": "string" }, "updated_at": { "type": "string" } } }, "BranchView": { "type": "object", "required": [ "id", "repo_id", "name", "commit_sha", "is_protected", "protected", "required_approvals", "enable_status_check", "status_check_contexts", "user_can_push", "user_can_merge", "effective_branch_protection_name", "is_deleted", "created_at", "updated_at" ], "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitMeta" } ] }, "commit_sha": { "type": "string" }, "created_at": { "type": "string" }, "deleted_at": { "type": [ "string", "null" ] }, "effective_branch_protection_name": { "type": "string" }, "enable_status_check": { "type": "boolean" }, "id": { "type": "string", "format": "uuid" }, "is_deleted": { "type": "boolean" }, "is_protected": { "type": "boolean" }, "name": { "type": "string" }, "protected": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "required_approvals": { "type": "integer", "format": "int64" }, "status_check_contexts": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" }, "user_can_merge": { "type": "boolean" }, "user_can_push": { "type": "boolean" } } }, "CallbackCmd": { "type": "object", "required": [ "provider", "code", "state", "temp_key_value" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "code": { "type": "string" }, "provider": { "$ref": "#/components/schemas/OAuthProvider" }, "state": { "type": "string" }, "temp_key_value": { "type": "string" } } }, "ChangeFileEntry": { "type": "object", "required": [ "operation", "path" ], "properties": { "content": { "type": [ "string", "null" ] }, "from_path": { "type": [ "string", "null" ] }, "operation": { "type": "string" }, "path": { "type": "string" }, "sha": { "type": [ "string", "null" ] } } }, "ChangeFilesOptions": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "files" ], "properties": { "files": { "type": "array", "items": { "$ref": "#/components/schemas/ChangeFileEntry" } } } } ] }, "ChannelPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ChannelView" } }, "total": { "type": "integer", "format": "int64" } } }, "ChannelSummary": { "type": "object", "required": [ "id", "space_id", "name" ], "properties": { "display_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "space_id": { "type": "string", "format": "uuid" } } }, "ChannelView": { "type": "object", "required": [ "id", "name", "kind", "position", "is_archived", "created_at", "updated_at", "created_by" ], "properties": { "archived_at": { "type": [ "string", "null" ] }, "archived_by": { "type": [ "string", "null" ], "format": "uuid" }, "color": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "created_by": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "type": "string" }, "name": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int32" }, "purpose": { "type": [ "string", "null" ] }, "space_id": { "type": [ "string", "null" ], "format": "uuid" }, "topic": { "type": [ "string", "null" ] }, "updated_at": { "type": "string" } } }, "CloseIssueOption": { "type": "object", "required": [ "closed" ], "properties": { "closed": { "type": "boolean" } } }, "CollaboratorPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CollaboratorView" } }, "total": { "type": "integer", "format": "int64" } } }, "CollaboratorView": { "type": "object", "required": [ "id", "repo_id", "user_id", "mode", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "mode": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "CollectionPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CollectionView" } }, "total": { "type": "integer", "format": "int64" } } }, "CollectionView": { "type": "object", "required": [ "id", "channel_id", "name", "nums_open_issue", "nums_closed_issue", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } }, "CombinedStatusView": { "type": "object", "required": [ "sha", "state", "statuses", "total_count" ], "properties": { "sha": { "type": "string" }, "state": { "type": "string" }, "statuses": { "type": "array", "items": { "$ref": "#/components/schemas/CommitStatusView" } }, "total_count": { "type": "integer", "format": "int64" } } }, "CommentPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CommentView" } }, "total": { "type": "integer", "format": "int64" } } }, "CommentView": { "type": "object", "required": [ "id", "poster_id", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "poster_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] } } }, "CommitDateOptions": { "type": "object", "properties": { "author": { "type": [ "string", "null" ] }, "committer": { "type": [ "string", "null" ] } } }, "CommitDiffPayload": { "type": "object", "required": [ "sha", "format", "content" ], "properties": { "content": { "type": "string" }, "format": { "type": "string" }, "sha": { "type": "string" } } }, "CommitMeta": { "type": "object", "required": [ "sha", "message" ], "properties": { "author_email": { "type": [ "string", "null" ] }, "author_name": { "type": [ "string", "null" ] }, "authored_at": { "type": [ "string", "null" ] }, "committed_at": { "type": [ "string", "null" ] }, "committer_email": { "type": [ "string", "null" ] }, "committer_name": { "type": [ "string", "null" ] }, "message": { "type": "string" }, "sha": { "type": "string" }, "tree_sha": { "type": [ "string", "null" ] } } }, "CommitStatusPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CommitStatusView" } }, "total": { "type": "integer", "format": "int64" } } }, "CommitStatusView": { "type": "object", "required": [ "id", "repo_id", "sha", "state", "context", "url", "creator", "created_at" ], "properties": { "context": { "type": "string" }, "created_at": { "type": "string" }, "creator": { "$ref": "#/components/schemas/CommitUserSummary" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": "string" }, "state": { "type": "string" }, "target_url": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] }, "url": { "type": "string" } } }, "CommitSummary": { "type": "object", "required": [ "sha", "message", "parent_shas", "tree_sha" ], "properties": { "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserMini" } ] }, "authored_at": { "type": [ "string", "null" ] }, "committed_at": { "type": [ "string", "null" ] }, "committer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UserMini" } ] }, "message": { "type": "string" }, "parent_shas": { "type": "array", "items": { "type": "string" } }, "sha": { "type": "string" }, "tree_sha": { "type": "string" } } }, "CommitUserSummary": { "type": "object", "required": [ "id", "login" ], "properties": { "avatar_url": { "type": [ "string", "null" ] }, "full_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "login": { "type": "string" } } }, "CommitView": { "type": "object", "required": [ "sha", "message", "parent_shas", "tree_sha" ], "properties": { "author_email": { "type": [ "string", "null" ] }, "author_name": { "type": [ "string", "null" ] }, "authored_at": { "type": [ "string", "null" ] }, "committed_at": { "type": [ "string", "null" ] }, "committer_email": { "type": [ "string", "null" ] }, "committer_name": { "type": [ "string", "null" ] }, "message": { "type": "string" }, "parent_shas": { "type": "array", "items": { "type": "string" } }, "sha": { "type": "string" }, "tree_sha": { "type": "string" } } }, "CommitsResponse": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/CommitSummary" } }, "total": { "type": "integer", "format": "int64" } } }, "CompareFileDiff": { "type": "object", "required": [ "path", "additions", "deletions", "status" ], "properties": { "additions": { "type": "integer", "format": "int64" }, "deletions": { "type": "integer", "format": "int64" }, "path": { "type": "string" }, "status": { "type": "string" } } }, "CompareView": { "type": "object", "required": [ "base", "head", "total_commits", "ahead_by", "behind_by", "files" ], "properties": { "ahead_by": { "type": "integer", "format": "int64" }, "base": { "type": "string" }, "behind_by": { "type": "integer", "format": "int64" }, "files": { "type": "array", "items": { "$ref": "#/components/schemas/CompareFileDiff" } }, "head": { "type": "string" }, "merge_base": { "type": [ "string", "null" ] }, "total_commits": { "type": "integer", "format": "int64" } } }, "ConfirmEmailChangeCmd": { "type": "object", "required": [ "ticket_id" ], "properties": { "ticket_id": { "type": "string", "format": "uuid" } } }, "ContentHistoryPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ContentHistoryView" } }, "total": { "type": "integer", "format": "int64" } } }, "ContentHistoryView": { "type": "object", "required": [ "id", "issue_id", "poster_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" }, "edited_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "poster_id": { "type": "string", "format": "uuid" } } }, "ContentsExtResponse": { "type": "object", "required": [ "dir_contents" ], "properties": { "dir_contents": { "type": "array", "items": { "$ref": "#/components/schemas/ContentsResponse" } }, "file_contents": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ContentsResponse" } ] } } }, "ContentsListResponse": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ContentsResponse" } } } }, "ContentsQuery": { "type": "object", "properties": { "ref": { "type": [ "string", "null" ] } } }, "ContentsResponse": { "type": "object", "required": [ "name", "path", "sha", "type", "size" ], "properties": { "content": { "type": [ "string", "null" ] }, "download_url": { "type": [ "string", "null" ] }, "encoding": { "type": [ "string", "null" ] }, "git_url": { "type": [ "string", "null" ] }, "html_url": { "type": [ "string", "null" ] }, "last_author_date": { "type": [ "string", "null" ] }, "last_commit_message": { "type": [ "string", "null" ] }, "last_commit_sha": { "type": [ "string", "null" ] }, "last_committer_date": { "type": [ "string", "null" ] }, "lfs_oid": { "type": [ "string", "null" ] }, "lfs_size": { "type": [ "integer", "null" ], "format": "int64" }, "links": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/FileLinksResponse" } ] }, "name": { "type": "string" }, "path": { "type": "string" }, "sha": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "submodule_git_url": { "type": [ "string", "null" ] }, "target": { "type": [ "string", "null" ] }, "type": { "type": "string" }, "url": { "type": [ "string", "null" ] } } }, "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/AccessKeyView" }, "token": { "type": "string" } } }, "CreateBanCmd": { "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" ] }, "reason": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "CreateBranchOption": { "type": "object", "required": [ "new_branch_name" ], "properties": { "new_branch_name": { "type": "string" }, "old_branch_name": { "type": [ "string", "null" ] }, "old_ref_name": { "type": [ "string", "null" ] } } }, "CreateBranchProtectionOption": { "type": "object", "required": [ "branch_name" ], "properties": { "approvals_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "block_admin_merge_override": { "type": [ "boolean", "null" ] }, "block_on_change_requested_reviews": { "type": [ "boolean", "null" ] }, "block_on_outdated_branch": { "type": [ "boolean", "null" ] }, "block_on_rejected_reviews": { "type": [ "boolean", "null" ] }, "branch_name": { "type": "string" }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "dismiss_stale_approvals": { "type": [ "boolean", "null" ] }, "enable_approvals_whitelist": { "type": [ "boolean", "null" ] }, "enable_bypass_allowlist": { "type": [ "boolean", "null" ] }, "enable_force_push": { "type": [ "boolean", "null" ] }, "enable_force_push_allowlist": { "type": [ "boolean", "null" ] }, "enable_merge_whitelist": { "type": [ "boolean", "null" ] }, "enable_push": { "type": [ "boolean", "null" ] }, "enable_push_whitelist": { "type": [ "boolean", "null" ] }, "force_push_allowlist_deploy_keys": { "type": [ "boolean", "null" ] }, "force_push_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "ignore_stale_approvals": { "type": [ "boolean", "null" ] }, "merge_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "priority": { "type": [ "integer", "null" ], "format": "int64" }, "protected_file_patterns": { "type": [ "string", "null" ] }, "push_whitelist_deploy_keys": { "type": [ "boolean", "null" ] }, "push_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "push_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "require_signed_commits": { "type": [ "boolean", "null" ] }, "required_approvals": { "type": [ "integer", "null" ], "format": "int32" }, "rule_name": { "type": [ "string", "null" ] }, "unprotected_file_patterns": { "type": [ "string", "null" ] } } }, "CreateCollectionOption": { "type": "object", "required": [ "space_id", "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "space_id": { "type": "string", "format": "uuid" } } }, "CreateCommentOption": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateDependencyOption": { "type": "object", "required": [ "dependency_id" ], "properties": { "dependency_id": { "type": "string", "format": "uuid" } } }, "CreateDeployKeyOption": { "type": "object", "required": [ "title", "key" ], "properties": { "key": { "type": "string" }, "read_only": { "type": [ "boolean", "null" ] }, "title": { "type": "string" } } }, "CreateDocumentCmd": { "type": "object", "required": [ "title", "slug" ], "properties": { "content": { "type": "string" }, "icon": { "type": [ "string", "null" ] }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "slug": { "type": "string" }, "title": { "type": "string" } } }, "CreateFileOption": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } } ] }, "CreateInviteCmd": { "type": "object", "required": [ "role_ids" ], "properties": { "email": { "type": [ "string", "null" ] }, "expires_at": { "type": [ "string", "null" ] }, "role_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateIssueOption": { "type": "object", "required": [ "title", "body" ], "properties": { "body": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": "string" } } }, "CreateLabelOption": { "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" } } }, "CreateMemberOption": { "type": "object", "required": [ "user_id", "kind" ], "properties": { "kind": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "CreateMentionOption": { "type": "object", "required": [ "is_everyone", "is_here" ], "properties": { "is_everyone": { "type": "boolean" }, "is_here": { "type": "boolean" }, "role_id": { "type": [ "string", "null" ], "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateMilestoneOption": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } }, "CreatePinOption": { "type": "object", "required": [ "issue_id", "pin_order" ], "properties": { "issue_id": { "type": "string", "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "CreatePostBoardOption": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreatePostLabelOption": { "type": "object", "required": [ "name", "color" ], "properties": { "color": { "type": "string" }, "name": { "type": "string" } } }, "CreatePostOption": { "type": "object", "required": [ "title", "body" ], "properties": { "body": { "type": "string" }, "title": { "type": "string" } } }, "CreatePostReactionOption": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "CreateProjectCmd": { "type": "object", "required": [ "space_id", "name" ], "properties": { "color": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": "string" }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "space_id": { "type": "string", "format": "uuid" }, "target_date": { "type": [ "string", "null" ], "format": "date" } } }, "CreatePullRequestCommentOption": { "type": "object", "required": [ "body" ], "properties": { "body": { "type": "string" }, "commit_sha": { "type": [ "string", "null" ] }, "line": { "type": [ "integer", "null" ], "format": "int32" }, "path": { "type": [ "string", "null" ] } } }, "CreatePullRequestOption": { "type": "object", "required": [ "title", "head", "base" ], "properties": { "base": { "type": "string" }, "body": { "type": [ "string", "null" ] }, "head": { "type": "string" }, "title": { "type": "string" } } }, "CreateReactionOption": { "type": "object", "required": [ "emoji" ], "properties": { "emoji": { "type": "string" } } }, "CreateReleaseOption": { "type": "object", "required": [ "tag_name", "title" ], "properties": { "content": { "type": [ "string", "null" ] }, "is_draft": { "type": [ "boolean", "null" ] }, "is_prerelease": { "type": [ "boolean", "null" ] }, "tag_message": { "type": [ "string", "null" ] }, "tag_name": { "type": "string" }, "target": { "type": [ "string", "null" ] }, "title": { "type": "string" } } }, "CreateReplyOption": { "type": "object", "required": [ "body" ], "properties": { "body": { "type": "string" }, "parent_reply_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "CreateRepoOption": { "type": "object", "required": [ "space_id", "name" ], "properties": { "auto_init": { "type": [ "boolean", "null" ] }, "default_branch": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": [ "boolean", "null" ] }, "gitignores": { "type": [ "string", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "issue_labels": { "type": [ "string", "null" ] }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": "string" }, "object_format": { "type": [ "string", "null" ] }, "parent_dir": { "type": [ "string", "null" ], "format": "uuid" }, "readme": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "template": { "type": [ "boolean", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "CreateRepoRelOption": { "type": "object", "required": [ "repo_id" ], "properties": { "repo_id": { "type": "string", "format": "uuid" } } }, "CreateRoleCmd": { "type": "object", "required": [ "name", "permissions" ], "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" ] } } }, "CreateSpaceCmd": { "type": "object", "required": [ "name" ], "properties": { "allow_invite": { "type": "boolean" }, "allow_join": { "type": "boolean" }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceAllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "public": { "type": "boolean" }, "welcome_message": { "type": [ "string", "null" ] } } }, "CreateStatusOption": { "type": "object", "required": [ "state", "context" ], "properties": { "context": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "state": { "type": "string" }, "target_url": { "type": [ "string", "null" ] } } }, "CreateTagOption": { "type": "object", "required": [ "tag_name" ], "properties": { "message": { "type": [ "string", "null" ] }, "tag_name": { "type": "string" }, "target": { "type": [ "string", "null" ] } } }, "CreateTagProtectionOption": { "type": "object", "required": [ "name_pattern" ], "properties": { "name_pattern": { "type": "string" }, "whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string", "format": "uuid" } } } }, "CreateViewCmd": { "type": "object", "required": [ "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "is_shared": { "type": "boolean" }, "layout": { "type": "string" }, "name": { "type": "string" }, "sort_by": { "type": "string" } } }, "DeleteFileOption": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "sha" ], "properties": { "sha": { "type": "string" } } } ] }, "DeletionRequestView": { "type": "object", "required": [ "id", "user_id", "status", "created_at", "updated_at" ], "properties": { "cancelled_at": { "type": [ "string", "null" ] }, "completed_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "scheduled_for": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/DeletionStatus" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "DeletionStatus": { "type": "string", "enum": [ "pending", "scheduled", "completed", "cancelled" ] }, "DependencyView": { "type": "object", "required": [ "id", "issue_id", "dependency_id", "created_at" ], "properties": { "created_at": { "type": "string" }, "dependency_id": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" } } }, "DeployKeyPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/DeployKeyView" } }, "total": { "type": "integer", "format": "int64" } } }, "DeployKeyView": { "type": "object", "required": [ "id", "key_id", "repo_id", "title", "key_type", "fingerprint", "content", "url", "read_only", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_id": { "type": "integer", "format": "int64" }, "key_type": { "type": "string" }, "last_used_at": { "type": [ "string", "null" ] }, "read_only": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" }, "title": { "type": "string" }, "url": { "type": "string" } } }, "DeviceView": { "type": "object", "required": [ "id", "is_trusted", "first_seen_at", "last_seen_at", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "device_name": { "type": [ "string", "null" ] }, "device_type": { "type": [ "string", "null" ] }, "first_seen_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_trusted": { "type": "boolean" }, "last_seen_at": { "type": "string" }, "os": { "type": [ "string", "null" ] }, "updated_at": { "type": "string" }, "user_agent": { "type": [ "string", "null" ] } } }, "DocumentPage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/DocumentView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "DocumentView": { "type": "object", "required": [ "id", "project_id", "creator_id", "title", "slug", "content", "created_at" ], "properties": { "content": { "type": "string" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "last_editor_id": { "type": [ "string", "null" ], "format": "uuid" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "project_id": { "type": "string", "format": "uuid" }, "slug": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "EditBranchProtectionOption": { "type": "object", "properties": { "approvals_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "approvals_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "block_admin_merge_override": { "type": [ "boolean", "null" ] }, "block_on_change_requested_reviews": { "type": [ "boolean", "null" ] }, "block_on_outdated_branch": { "type": [ "boolean", "null" ] }, "block_on_rejected_reviews": { "type": [ "boolean", "null" ] }, "branch_pattern": { "type": [ "string", "null" ] }, "bypass_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "bypass_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "dismiss_stale_approvals": { "type": [ "boolean", "null" ] }, "enable_approvals_whitelist": { "type": [ "boolean", "null" ] }, "enable_bypass_allowlist": { "type": [ "boolean", "null" ] }, "enable_force_push": { "type": [ "boolean", "null" ] }, "enable_force_push_allowlist": { "type": [ "boolean", "null" ] }, "enable_merge_whitelist": { "type": [ "boolean", "null" ] }, "enable_push": { "type": [ "boolean", "null" ] }, "enable_push_whitelist": { "type": [ "boolean", "null" ] }, "force_push_allowlist_deploy_keys": { "type": [ "boolean", "null" ] }, "force_push_allowlist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "force_push_allowlist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "ignore_stale_approvals": { "type": [ "boolean", "null" ] }, "merge_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "merge_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "priority": { "type": [ "integer", "null" ], "format": "int64" }, "protected_file_patterns": { "type": [ "string", "null" ] }, "push_whitelist_deploy_keys": { "type": [ "boolean", "null" ] }, "push_whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "push_whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string" } }, "require_signed_commits": { "type": [ "boolean", "null" ] }, "required_approvals": { "type": [ "integer", "null" ], "format": "int32" }, "unprotected_file_patterns": { "type": [ "string", "null" ] } } }, "EditReleaseOption": { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "is_draft": { "type": [ "boolean", "null" ] }, "is_prerelease": { "type": [ "boolean", "null" ] }, "tag_name": { "type": [ "string", "null" ] }, "target": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "EditTagProtectionOption": { "type": "object", "properties": { "name_pattern": { "type": [ "string", "null" ] }, "whitelist_teams": { "type": [ "array", "null" ], "items": { "type": "string" } }, "whitelist_usernames": { "type": [ "array", "null" ], "items": { "type": "string", "format": "uuid" } } } }, "EmailChangeTicketStatus": { "type": "string", "enum": [ "pending", "verified", "completed", "cancelled" ] }, "EmailChangeTicketView": { "type": "object", "required": [ "id", "new_email", "status", "expires_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "expires_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "new_email": { "type": "string" }, "status": { "$ref": "#/components/schemas/EmailChangeTicketStatus" }, "used_at": { "type": [ "string", "null" ] } } }, "EmailView": { "type": "object", "required": [ "id", "email", "is_activated", "is_primary", "created_at", "updated_at" ], "properties": { "activated_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "email": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_activated": { "type": "boolean" }, "is_primary": { "type": "boolean" }, "updated_at": { "type": "string" } } }, "ErrorBody": { "type": "object", "required": [ "error" ], "properties": { "error": { "type": "string" } } }, "EventPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/EventView" } }, "total": { "type": "integer", "format": "int64" } } }, "EventView": { "type": "object", "required": [ "id", "user_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" }, "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_id": { "type": "string", "format": "uuid" } } }, "ExternalTracker": { "type": "object", "required": [ "external_tracker_url", "external_tracker_format", "external_tracker_style" ], "properties": { "external_tracker_format": { "type": "string" }, "external_tracker_style": { "type": "string" }, "external_tracker_url": { "type": "string" } } }, "ExternalWiki": { "type": "object", "required": [ "external_wiki_url" ], "properties": { "external_wiki_url": { "type": "string" } } }, "FavoritePage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/FavoriteView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "FavoriteView": { "type": "object", "required": [ "id", "project_id", "user_id", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "folder": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "project_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "FileDeleteResponse": { "type": "object", "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitSummary" } ] }, "content": {} } }, "FileLinksResponse": { "type": "object", "properties": { "git": { "type": [ "string", "null" ] }, "html": { "type": [ "string", "null" ] }, "self": { "type": [ "string", "null" ] } } }, "FileOptions": { "type": "object", "properties": { "author": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/GitIdentity" } ] }, "branch": { "type": [ "string", "null" ] }, "committer": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/GitIdentity" } ] }, "dates": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitDateOptions" } ] }, "force_push": { "type": [ "boolean", "null" ] }, "message": { "type": [ "string", "null" ] }, "new_branch": { "type": [ "string", "null" ] }, "signoff": { "type": [ "boolean", "null" ] } } }, "FilesResponse": { "type": "object", "required": [ "files" ], "properties": { "commit": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/CommitSummary" } ] }, "files": { "type": "array", "items": { "$ref": "#/components/schemas/ContentsResponse" } } } }, "FollowerSummary": { "type": "object", "required": [ "user", "since" ], "properties": { "since": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserPublic" } } }, "ForgotPasswordCmd": { "type": "object", "required": [ "email", "pow" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "ForgotPasswordResp": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "ForkRepoOption": { "type": "object", "required": [ "to_channel_id" ], "properties": { "description": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "to_channel_id": { "type": "string", "format": "uuid" } } }, "ForkView": { "type": "object", "required": [ "id", "name", "full_name", "owner", "private", "fork", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "fork": { "type": "boolean" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "owner": { "$ref": "#/components/schemas/UserMini" }, "private": { "type": "boolean" }, "updated_at": { "type": "string" } } }, "ForksResponse": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ForkView" } }, "total": { "type": "integer", "format": "int64" } } }, "GenerateRepoOption": { "type": "object", "required": [ "to_channel_id", "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "name": { "type": "string" }, "to_channel_id": { "type": "string", "format": "uuid" } } }, "GitIdentity": { "type": "object", "required": [ "name", "email" ], "properties": { "date": { "type": [ "string", "null" ] }, "email": { "type": "string" }, "name": { "type": "string" } } }, "GitRef": { "type": "object", "required": [ "name", "sha", "type_" ], "properties": { "name": { "type": "string" }, "sha": { "type": "string" }, "type_": { "type": "string" } } }, "HealthStatus": { "type": "object", "required": [ "status", "service" ], "properties": { "service": { "type": "string" }, "status": { "type": "string" } } }, "InternalTracker": { "type": "object", "required": [ "enable_time_tracker", "allow_only_contributors_to_track_time", "enable_issue_dependencies" ], "properties": { "allow_only_contributors_to_track_time": { "type": "boolean" }, "enable_issue_dependencies": { "type": "boolean" }, "enable_time_tracker": { "type": "boolean" } } }, "IssueConfig": { "type": "object", "required": [ "blank_issues_enabled" ], "properties": { "blank_issues_enabled": { "type": "boolean" }, "contact_links": {} } }, "IssueConfigValidation": { "type": "object", "required": [ "valid" ], "properties": { "message": { "type": [ "string", "null" ] }, "valid": { "type": "boolean" } } }, "IssuePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/IssueView" } }, "total": { "type": "integer", "format": "int64" } } }, "IssueState": { "type": "string", "enum": [ "open", "closed" ] }, "IssueTemplate": { "type": "object", "required": [ "name", "title", "content", "fields" ], "properties": { "content": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "fields": { "type": "array", "items": { "$ref": "#/components/schemas/IssueTemplateField" } }, "name": { "type": "string" }, "title": { "type": "string" } } }, "IssueTemplateField": { "type": "object", "required": [ "type_", "id", "name" ], "properties": { "description": { "type": [ "string", "null" ] }, "id": { "type": "string" }, "name": { "type": "string" }, "required": { "type": [ "boolean", "null" ] }, "type_": { "type": "string" }, "validations": {} } }, "IssueUserView": { "type": "object", "required": [ "id", "user_id", "issue_id", "is_read", "is_mentioned", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_mentioned": { "type": "boolean" }, "is_read": { "type": "boolean" }, "issue_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "IssueView": { "type": "object", "required": [ "id", "collection_id", "autoincrement_id", "author_id", "title", "body", "state", "created_at" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "autoincrement_id": { "type": "integer", "format": "int32" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ] }, "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "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" ] } } }, "LabelPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/LabelView" } }, "total": { "type": "integer", "format": "int64" } } }, "LabelView": { "type": "object", "required": [ "id", "channel_id", "name", "exclusive", "exclusive_order", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "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" ] } } }, "LanguagesResponse": { "type": "object", "required": [ "languages" ], "properties": { "languages": { "type": "object", "additionalProperties": { "type": "integer", "format": "int64" }, "propertyNames": { "type": "string" } } } }, "LicensesResponse": { "type": "object", "required": [ "licenses" ], "properties": { "licenses": { "type": "array", "items": { "type": "string" } } } }, "LinkKind": { "type": "string", "enum": [ "related", "duplicate", "blocks", "blocked_by" ] }, "LinkPage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/LinkView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "LinkView": { "type": "object", "required": [ "id", "project_id", "related_project_id", "kind", "created_by", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "created_by": { "type": "string", "format": "uuid" }, "id": { "type": "string", "format": "uuid" }, "kind": { "$ref": "#/components/schemas/LinkKind" }, "project_id": { "type": "string", "format": "uuid" }, "related_project_id": { "type": "string", "format": "uuid" } } }, "ListActivityQuery": { "type": "object", "properties": { "page": { "type": "integer", "format": "int64", "minimum": 0 }, "per_page": { "type": "integer", "format": "int64", "minimum": 0 }, "verb": { "type": [ "string", "null" ] } } }, "ListAttachmentQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListBlocksQuery": { "type": "object", "properties": { "cursor": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": "integer", "minimum": 0 } } }, "ListBranchProtectionQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListBranchQuery": { "type": "object", "properties": { "keyword": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListCollaboratorQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListCollectionQuery": { "type": "object", "properties": { "channel_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 } } }, "ListDeployKeyQuery": { "type": "object", "properties": { "fingerprint": { "type": [ "string", "null" ] }, "key_id": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "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 } } }, "ListFollowersQuery": { "type": "object", "required": [ "target_uid" ], "properties": { "cursor": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": "integer", "minimum": 0 }, "target_uid": { "type": "string", "format": "uuid" } } }, "ListFollowingQuery": { "type": "object", "required": [ "user_uid" ], "properties": { "cursor": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": "integer", "minimum": 0 }, "user_uid": { "type": "string", "format": "uuid" } } }, "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" } ] } } }, "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" ] } } }, "ListMemberQuery": { "type": "object", "properties": { "kind": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "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" ] } } }, "ListNotificationsQuery": { "type": "object", "properties": { "cursor": { "type": [ "string", "null" ], "format": "uuid" }, "limit": { "type": "integer", "minimum": 0 }, "notification_type": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/NotificationType" } ] }, "unread_only": { "type": [ "boolean", "null" ] } } }, "ListPostQuery": { "type": "object", "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", "null" ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PostStatusView" } ] } } }, "ListProjectQuery": { "type": "object", "required": [ "space_id" ], "properties": { "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "page": { "type": "integer", "format": "int64", "minimum": 0 }, "per_page": { "type": "integer", "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "starred_only": { "type": [ "boolean", "null" ] }, "state": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProjectState" } ] } } }, "ListPullRequestQuery": { "type": "object", "properties": { "keyword": { "type": [ "string", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "state": { "type": [ "string", "null" ] } } }, "ListReactionQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListReleaseQuery": { "type": "object", "properties": { "draft": { "type": [ "boolean", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "prerelease": { "type": [ "boolean", "null" ] } } }, "ListRepoQuery": { "type": "object", "properties": { "channel_id": { "type": [ "string", "null" ], "format": "uuid" }, "is_archived": { "type": [ "boolean", "null" ] }, "is_private": { "type": [ "boolean", "null" ] }, "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "offset": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "owner_user_id": { "type": [ "string", "null" ], "format": "uuid" }, "q": { "type": [ "string", "null" ] } } }, "ListSessionsQuery": { "type": "object", "properties": { "app_id": { "type": [ "string", "null" ] }, "include_revoked": { "type": "boolean" } } }, "ListStatusQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "sort": { "type": [ "string", "null" ] }, "state": { "type": [ "string", "null" ] } } }, "ListSubscriberQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListTagProtectionQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 } } }, "ListTagQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "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" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "identifier": { "type": "string" }, "password": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "LoginResp": { "type": "object", "required": [ "access_token", "refresh_token", "token_type", "expires_in", "user" ], "properties": { "access_token": { "type": "string" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserPublic" } } }, "LogoutCmd": { "type": "object", "required": [ "refresh_token" ], "properties": { "refresh_token": { "type": "string" } } }, "LogoutResp": { "type": "object", "required": [ "revoked" ], "properties": { "revoked": { "type": "boolean" } } }, "MarkAllReadResp": { "type": "object", "required": [ "marked" ], "properties": { "marked": { "type": "integer", "format": "int64", "minimum": 0 } } }, "MarkReadCmd": { "type": "object", "required": [ "notification_ids" ], "properties": { "notification_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "MarkReadResp": { "type": "object", "required": [ "marked" ], "properties": { "marked": { "type": "integer", "format": "int64", "minimum": 0 } } }, "MemberPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MemberView" } }, "total": { "type": "integer", "format": "int64" } } }, "MemberRole": { "type": "string", "enum": [ "owner", "lead", "contributor", "viewer" ] }, "MemberView": { "type": "object", "required": [ "id", "issue_id", "user_id", "kind", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "kind": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "MemeView": { "type": "object", "required": [ "id", "name", "content_type", "url", "size", "created_at" ], "properties": { "content_type": { "type": "string" }, "created_at": { "type": "string" }, "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" } } }, "MergePullRequestOption": { "type": "object", "required": [ "style" ], "properties": { "commit_message": { "type": [ "string", "null" ] }, "commit_title": { "type": [ "string", "null" ] }, "delete_branch_after_merge": { "type": "boolean" }, "style": { "$ref": "#/components/schemas/MergeStyle" } } }, "MergeStyle": { "type": "string", "enum": [ "fast_forward", "rebase", "rebase_merge", "squash", "merge", "manually_merged" ] }, "MergeUpstreamRequest": { "type": "object", "required": [ "branch" ], "properties": { "branch": { "type": "string" }, "ff_only": { "type": [ "boolean", "null" ] } } }, "MergeUpstreamResponse": { "type": "object", "required": [ "merge_type" ], "properties": { "merge_type": { "type": "string" } } }, "MergeView": { "type": "object", "required": [ "sha", "merged" ], "properties": { "merged": { "type": "boolean" }, "message": { "type": [ "string", "null" ] }, "sha": { "type": "string" } } }, "MessageNotifications": { "type": "string", "enum": [ "all", "mentions", "nothing" ] }, "MilestonePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/MilestoneView" } }, "total": { "type": "integer", "format": "int64" } } }, "MilestoneView": { "type": "object", "required": [ "id", "collection_id", "name", "is_closed", "num_issues", "num_closed_issues", "created_at" ], "properties": { "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_closed": { "type": "boolean" }, "name": { "type": "string" }, "num_closed_issues": { "type": "integer", "format": "int32" }, "num_issues": { "type": "integer", "format": "int32" }, "updated_at": { "type": [ "string", "null" ] } } }, "NewPinAllowedResponse": { "type": "object", "required": [ "allowed" ], "properties": { "allowed": { "type": "boolean" } } }, "NoteView": { "type": "object", "required": [ "sha", "message" ], "properties": { "message": { "type": "string" }, "sha": { "type": "string" } } }, "NotificationType": { "type": "string", "enum": [ "mention", "reply", "follow", "invite", "assignment", "system" ] }, "NotificationView": { "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" }, "id": { "type": "string", "format": "uuid" }, "notification_type": { "$ref": "#/components/schemas/NotificationType" }, "read_at": { "type": [ "string", "null" ] }, "title": { "type": "string" } } }, "OAuthLoginResp": { "type": "object", "required": [ "access_token", "refresh_token", "token_type", "expires_in", "user_id", "auto_registered", "birthday_required" ], "properties": { "access_token": { "type": "string" }, "auto_registered": { "type": "boolean" }, "birthday_required": { "type": "boolean" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" }, "user_id": { "type": "string" } } }, "OAuthProvider": { "type": "string", "enum": [ "google", "github", "apple" ] }, "OAuthProviderInfo": { "type": "object", "required": [ "name", "display_name", "authorize_url" ], "properties": { "authorize_url": { "type": "string" }, "display_name": { "type": "string" }, "name": { "type": "string" } } }, "Permission": { "type": "object", "required": [ "admin", "push", "pull" ], "properties": { "admin": { "type": "boolean" }, "pull": { "type": "boolean" }, "push": { "type": "boolean" } } }, "PinView": { "type": "object", "required": [ "id", "collection_id", "pin_order", "created_at" ], "properties": { "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "pin_order": { "type": "integer", "format": "int32" } } }, "PostBoardPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PostBoardView" } }, "total": { "type": "integer", "format": "int64" } } }, "PostBoardView": { "type": "object", "description": "A post board (collection) hosting posts for a space.", "required": [ "id", "channel_id", "name", "nums_open_post", "nums_closed_post", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "nums_closed_post": { "type": "integer", "format": "int64" }, "nums_open_post": { "type": "integer", "format": "int64" }, "updated_at": { "type": [ "string", "null" ] } } }, "PostLabelPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PostLabelView" } }, "total": { "type": "integer", "format": "int64" } } }, "PostLabelView": { "type": "object", "required": [ "id", "channel_id", "name", "color", "is_archived", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "color": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "name": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "PostMentionView": { "type": "object", "required": [ "id", "target", "target_id", "is_everyone", "is_here", "created_at" ], "properties": { "channel_id": { "type": [ "string", "null" ], "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_everyone": { "type": "boolean" }, "is_here": { "type": "boolean" }, "role_id": { "type": [ "string", "null" ], "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_id": { "type": "string", "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "PostPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PostView" } }, "total": { "type": "integer", "format": "int64" } } }, "PostReactionView": { "type": "object", "required": [ "id", "target", "target_id", "user_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "target": { "$ref": "#/components/schemas/PostTargetView" }, "target_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "PostReplyPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PostReplyView" } }, "total": { "type": "integer", "format": "int64" } } }, "PostReplyView": { "type": "object", "required": [ "id", "post_id", "author_id", "body", "is_pinned", "created_at" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "created_at": { "type": "string" }, "deleted_at": { "type": [ "string", "null" ] }, "deleted_by": { "type": [ "string", "null" ], "format": "uuid" }, "edited_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_pinned": { "type": "boolean" }, "parent_reply_id": { "type": [ "string", "null" ], "format": "uuid" }, "post_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] } } }, "PostStatusView": { "type": "string", "enum": [ "open", "closed", "archived", "locked" ] }, "PostTargetView": { "type": "string", "enum": [ "post", "reply" ] }, "PostView": { "type": "object", "description": "A single post (thread).", "required": [ "id", "collection_id", "number", "author_id", "title", "body", "status", "is_pinned", "reply_count", "created_at" ], "properties": { "archived_at": { "type": [ "string", "null" ] }, "author_id": { "type": "string", "format": "uuid" }, "body": { "type": "string" }, "closed_at": { "type": [ "string", "null" ] }, "collection_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_pinned": { "type": "boolean" }, "last_reply_at": { "type": [ "string", "null" ] }, "last_reply_by": { "type": [ "string", "null" ], "format": "uuid" }, "number": { "type": "integer", "format": "int64" }, "reply_count": { "type": "integer", "format": "int32" }, "status": { "$ref": "#/components/schemas/PostStatusView" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "PostWatchView": { "type": "object", "required": [ "id", "post_id", "user_id", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "mode": { "type": "string" }, "post_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "PowChallengeResp": { "type": "object", "required": [ "challenge", "ttl_seconds" ], "properties": { "challenge": { "type": "string" }, "ttl_seconds": { "type": "integer", "format": "int64", "minimum": 0 } } }, "PowProof": { "type": "object", "required": [ "challenge", "solution" ], "properties": { "challenge": { "type": "string" }, "solution": { "type": "string" } } }, "PrState": { "type": "string", "enum": [ "open", "closed", "merged" ] }, "ProfileView": { "type": "object", "required": [ "user_id", "show_email", "show_location", "show_real_name", "show_activity", "updated_at" ], "properties": { "accent_color": { "type": [ "string", "null" ] }, "banner_color": { "type": [ "integer", "null" ], "format": "int32" }, "banner_url": { "type": [ "string", "null" ] }, "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "pronouns_privacy": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileVisibility" } ] }, "real_name": { "type": [ "string", "null" ] }, "show_activity": { "type": "boolean" }, "show_email": { "type": "boolean" }, "show_location": { "type": "boolean" }, "show_real_name": { "type": "boolean" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" }, "website": { "type": [ "string", "null" ] } } }, "ProfileVisibility": { "type": "string", "enum": [ "public", "registered_only", "members_only", "private" ] }, "ProjectHealth": { "type": "string", "enum": [ "on_track", "at_risk", "off_track", "none" ] }, "ProjectPage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ProjectView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "ProjectState": { "type": "string", "enum": [ "backlog", "planned", "in_progress", "paused", "completed", "cancelled" ] }, "ProjectView": { "type": "object", "required": [ "id", "space_id", "creator_id", "name", "state", "health", "sort_order", "starred", "created_at" ], "properties": { "cancelled_at": { "type": [ "string", "null" ], "format": "date-time" }, "color": { "type": [ "string", "null" ] }, "completed_at": { "type": [ "string", "null" ], "format": "date-time" }, "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "health": { "$ref": "#/components/schemas/ProjectHealth" }, "icon": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": "string" }, "sort_order": { "type": "integer", "format": "int32" }, "space_id": { "type": "string", "format": "uuid" }, "starred": { "type": "integer", "format": "int32" }, "started_at": { "type": [ "string", "null" ], "format": "date-time" }, "state": { "$ref": "#/components/schemas/ProjectState" }, "target_date": { "type": [ "string", "null" ], "format": "date" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "PublisherSummary": { "type": "object", "required": [ "id", "name", "login" ], "properties": { "avatar_url": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "login": { "type": "string" }, "name": { "type": "string" } } }, "PullRequestCommentView": { "type": "object", "required": [ "id", "pull_request_id", "user_id", "body", "created_at" ], "properties": { "body": { "type": "string" }, "commit_sha": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "line": { "type": [ "integer", "null" ], "format": "int32" }, "path": { "type": [ "string", "null" ] }, "pull_request_id": { "type": "string", "format": "uuid" }, "review_id": { "type": [ "string", "null" ] }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "PullRequestEventView": { "type": "object", "required": [ "id", "pull_request_id", "user_id", "event_type", "created_at" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "event_type": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "pull_request_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "PullRequestPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/PullRequestView" } }, "total": { "type": "integer", "format": "int64" } } }, "PullRequestReviewView": { "type": "object", "required": [ "id", "pull_request_id", "user_id", "official", "state", "created_at" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "official": { "type": "boolean" }, "pull_request_id": { "type": "string", "format": "uuid" }, "state": { "$ref": "#/components/schemas/ReviewState" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "PullRequestView": { "type": "object", "required": [ "id", "repo_id", "number", "title", "head_branch", "base_branch", "author_id", "state", "is_locked", "has_merged", "created_at", "comments_count", "reviews_count" ], "properties": { "author_id": { "type": "string", "format": "uuid" }, "base_branch": { "type": "string" }, "base_sha": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "closed_at": { "type": [ "string", "null" ] }, "comments_count": { "type": "integer", "format": "int64" }, "created_at": { "type": "string" }, "has_merged": { "type": "boolean" }, "head_branch": { "type": "string" }, "head_sha": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_locked": { "type": "boolean" }, "mergeable": { "type": [ "boolean", "null" ] }, "mergeable_state": { "type": [ "string", "null" ] }, "merged_at": { "type": [ "string", "null" ] }, "merged_commit_sha": { "type": [ "string", "null" ] }, "merger_id": { "type": [ "string", "null" ] }, "number": { "type": "integer", "format": "int64" }, "repo_id": { "type": "string", "format": "uuid" }, "reviews_count": { "type": "integer", "format": "int64" }, "state": { "$ref": "#/components/schemas/PrState" }, "title": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] } } }, "PushPlatform": { "type": "string", "enum": [ "web_push", "android_fcm", "ios_apns" ] }, "PushSubscriptionView": { "type": "object", "required": [ "id", "platform", "endpoint", "created_at" ], "properties": { "created_at": { "type": "string" }, "endpoint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "platform": { "$ref": "#/components/schemas/PushPlatform" }, "user_agent": { "type": [ "string", "null" ] } } }, "ReactionAggView": { "type": "object", "required": [ "emoji", "count", "user_ids" ], "properties": { "count": { "type": "integer", "format": "int64" }, "emoji": { "type": "string" }, "user_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "ReactionScope": { "type": "string", "enum": [ "issue", "comment" ] }, "ReactionView": { "type": "object", "required": [ "id", "scope", "target_id", "user_id", "emoji", "created_at" ], "properties": { "created_at": { "type": "string" }, "emoji": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "scope": { "$ref": "#/components/schemas/ReactionScope" }, "target_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "ReadmeView": { "type": "object", "required": [ "repo_id", "path", "content" ], "properties": { "content": { "type": "string" }, "path": { "type": "string" }, "ref_": { "type": [ "string", "null" ] }, "rendered_html": { "type": [ "string", "null" ] }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": [ "string", "null" ] }, "size": { "type": [ "integer", "null" ], "format": "int64" } } }, "RecentMentionView": { "type": "object", "required": [ "id", "channel_id", "message_id", "created_at" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "ReclaimCmd": { "type": "object", "required": [ "email", "pow" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" } } }, "ReclaimResp": { "type": "object", "required": [ "sent", "temp_key" ], "properties": { "sent": { "type": "boolean" }, "temp_key": { "$ref": "#/components/schemas/TempKey" } } }, "RecoveryCodeView": { "type": "object", "required": [ "id", "created_at" ], "properties": { "created_at": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "used_at": { "type": [ "string", "null" ] } } }, "RefreshCmd": { "type": "object", "required": [ "refresh_token" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "refresh_token": { "type": "string" } } }, "RefreshResp": { "type": "object", "required": [ "access_token", "refresh_token", "token_type", "expires_in" ], "properties": { "access_token": { "type": "string" }, "expires_in": { "type": "integer", "format": "int64" }, "refresh_token": { "type": "string" }, "token_type": { "type": "string" } } }, "RegenerateRecoveryResp": { "type": "object", "required": [ "codes" ], "properties": { "codes": { "type": "array", "items": { "type": "string" } } } }, "RegisterCmd": { "type": "object", "required": [ "email", "password", "pow" ], "properties": { "accept_agreements": { "type": "array", "items": { "type": "string" } }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "email": { "type": "string" }, "password": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" }, "username": { "type": [ "string", "null" ] } } }, "RegisterResp": { "type": "object", "required": [ "uid", "pending", "temp_key", "purpose" ], "properties": { "pending": { "type": "boolean" }, "purpose": { "type": "string" }, "temp_key": { "$ref": "#/components/schemas/TempKey" }, "uid": { "type": "string" } } }, "ReleaseAttachment": { "type": "object", "required": [ "id", "name", "size", "download_url", "created_at" ], "properties": { "created_at": { "type": "string" }, "download_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "ReleaseAttachmentListResponse": { "type": "object", "required": [ "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseAttachmentView" } } } }, "ReleaseAttachmentView": { "type": "object", "required": [ "id", "name", "size", "download_url", "created_at" ], "properties": { "created_at": { "type": "string" }, "download_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "size": { "type": "integer", "format": "int64" } } }, "ReleasePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseView" } }, "total": { "type": "integer", "format": "int64" } } }, "ReleaseView": { "type": "object", "required": [ "id", "repo_id", "tag_name", "target", "title", "sha", "num_commits", "is_draft", "is_prerelease", "is_tag", "url", "html_url", "tarball_url", "zipball_url", "upload_url", "publisher", "attachments", "created_at", "updated_at" ], "properties": { "attachments": { "type": "array", "items": { "$ref": "#/components/schemas/ReleaseAttachment" } }, "content": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "html_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_draft": { "type": "boolean" }, "is_prerelease": { "type": "boolean" }, "is_tag": { "type": "boolean" }, "num_commits": { "type": "integer", "format": "int32" }, "publisher": { "$ref": "#/components/schemas/UserSummary" }, "repo_id": { "type": "string", "format": "uuid" }, "sha": { "type": "string" }, "tag_name": { "type": "string" }, "tarball_url": { "type": "string" }, "target": { "type": "string" }, "title": { "type": "string" }, "updated_at": { "type": "string" }, "upload_url": { "type": "string" }, "url": { "type": "string" }, "zipball_url": { "type": "string" } } }, "RenameBranchOption": { "type": "object", "required": [ "new_name" ], "properties": { "new_name": { "type": "string" } } }, "RenameRepoOption": { "type": "object", "required": [ "new_name" ], "properties": { "new_name": { "type": "string" } } }, "RepoCollaboratorPermission": { "type": "object", "required": [ "permission", "role", "user" ], "properties": { "permission": { "type": "string" }, "role": { "type": "string" }, "user": { "$ref": "#/components/schemas/UserSummary" } } }, "RepoFeaturesView": { "type": "object", "required": [ "repo_id", "has_issues", "has_pull_requests", "has_wiki", "has_projects", "has_packages", "has_releases", "has_discussions" ], "properties": { "has_actions": { "type": [ "boolean", "null" ] }, "has_discussions": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_packages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_pull_requests": { "type": "boolean" }, "has_releases": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "projects_mode": { "type": [ "string", "null" ] }, "repo_id": { "type": "string", "format": "uuid" } } }, "RepoMergeStrategiesView": { "type": "object", "required": [ "repo_id", "allow_merge_commits", "allow_squash_merge", "allow_rebase", "allow_rebase_explicit", "allow_fast_forward_only_merge", "allow_manual_merge", "autodetect_manual_merge", "allow_rebase_update", "allow_merge_update", "default_allow_maintainer_edit", "ignore_whitespace_conflicts" ], "properties": { "allow_fast_forward_only_merge": { "type": "boolean" }, "allow_manual_merge": { "type": "boolean" }, "allow_merge_commits": { "type": "boolean" }, "allow_merge_update": { "type": "boolean" }, "allow_rebase": { "type": "boolean" }, "allow_rebase_explicit": { "type": "boolean" }, "allow_rebase_update": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "autodetect_manual_merge": { "type": "boolean" }, "default_allow_maintainer_edit": { "type": "boolean" }, "default_delete_branch_after_merge": { "type": [ "boolean", "null" ] }, "ignore_whitespace_conflicts": { "type": "boolean" }, "repo_id": { "type": "string", "format": "uuid" } } }, "RepoPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/RepoView" } }, "total": { "type": "integer", "format": "int64" } } }, "RepoRelView": { "type": "object", "required": [ "id", "issue_id", "repo_id", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "repo_id": { "type": "string", "format": "uuid" } } }, "RepoSummary": { "type": "object", "required": [ "id", "name", "full_name", "empty", "private", "fork", "template", "mirror", "size", "stars_count", "forks_count", "watchers_count", "open_issues_count" ], "properties": { "description": { "type": [ "string", "null" ] }, "empty": { "type": "boolean" }, "fork": { "type": "boolean" }, "forks_count": { "type": "integer", "format": "int32" }, "full_name": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "mirror": { "type": "boolean" }, "name": { "type": "string" }, "open_issues_count": { "type": "integer", "format": "int32" }, "private": { "type": "boolean" }, "size": { "type": "integer", "format": "int64" }, "stars_count": { "type": "integer", "format": "int32" }, "template": { "type": "boolean" }, "watchers_count": { "type": "integer", "format": "int32" } } }, "RepoTopicOptions": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "type": "string" } } } }, "RepoView": { "type": "object", "required": [ "id", "channel_id", "space_id", "name", "lower_name", "full_name", "default_branch", "enable_lfs", "is_private", "is_archived", "is_fork", "is_template", "is_mirror", "empty", "size", "git_size", "lfs_size", "nums_watch", "nums_star", "nums_pr", "nums_commits", "nums_branches", "nums_tags", "allow_rebase", "allow_rebase_explicit", "allow_squash_merge", "allow_merge_commits", "allow_fast_forward_only_merge", "allow_rebase_update", "allow_merge_update", "allow_manual_merge", "autodetect_manual_merge", "default_delete_branch_after_merge", "default_allow_maintainer_edit", "ignore_whitespace_conflicts", "object_format", "has_code", "has_issues", "has_wiki", "has_pull_requests", "has_projects", "has_releases", "has_packages", "has_actions", "projects_mode", "languages", "licenses", "topics", "html_url", "url", "link", "ssh_url", "clone_url", "created_at", "updated_at" ], "properties": { "allow_fast_forward_only_merge": { "type": "boolean" }, "allow_manual_merge": { "type": "boolean" }, "allow_merge_commits": { "type": "boolean" }, "allow_merge_update": { "type": "boolean" }, "allow_rebase": { "type": "boolean" }, "allow_rebase_explicit": { "type": "boolean" }, "allow_rebase_update": { "type": "boolean" }, "allow_squash_merge": { "type": "boolean" }, "archived_at": { "type": [ "string", "null" ] }, "autodetect_manual_merge": { "type": "boolean" }, "avatar_url": { "type": [ "string", "null" ] }, "channel": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ChannelSummary" } ] }, "channel_id": { "type": "string", "format": "uuid" }, "clone_url": { "type": "string" }, "created_at": { "type": "string" }, "default_allow_maintainer_edit": { "type": "boolean" }, "default_branch": { "type": "string" }, "default_delete_branch_after_merge": { "type": "boolean" }, "description": { "type": [ "string", "null" ] }, "empty": { "type": "boolean" }, "enable_lfs": { "type": "boolean" }, "full_name": { "type": "string" }, "git_size": { "type": "integer", "format": "int64" }, "has_actions": { "type": "boolean" }, "has_code": { "type": "boolean" }, "has_issues": { "type": "boolean" }, "has_packages": { "type": "boolean" }, "has_projects": { "type": "boolean" }, "has_pull_requests": { "type": "boolean" }, "has_releases": { "type": "boolean" }, "has_wiki": { "type": "boolean" }, "html_url": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "ignore_whitespace_conflicts": { "type": "boolean" }, "is_archived": { "type": "boolean" }, "is_fork": { "type": "boolean" }, "is_mirror": { "type": "boolean" }, "is_private": { "type": "boolean" }, "is_template": { "type": "boolean" }, "languages": { "type": "array", "items": { "type": "string" } }, "last_pushed_at": { "type": [ "string", "null" ] }, "lfs_size": { "type": "integer", "format": "int64" }, "license_name": { "type": [ "string", "null" ] }, "licenses": { "type": "array", "items": { "type": "string" } }, "link": { "type": "string" }, "lower_name": { "type": "string" }, "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" }, "parent": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/RepoView" } ] }, "primary_language": { "type": [ "string", "null" ] }, "projects_mode": { "type": "string" }, "size": { "type": "integer", "format": "int64" }, "space": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceSummary" } ] }, "space_id": { "type": "string", "format": "uuid" }, "ssh_url": { "type": "string" }, "storage_limit_size": { "type": [ "integer", "null" ], "format": "int64" }, "topics": { "type": "array", "items": { "type": "string" } }, "updated_at": { "type": "string" }, "url": { "type": "string" }, "website": { "type": [ "string", "null" ] } } }, "ReportStatus": { "type": "string", "enum": [ "open", "under_review", "resolved", "dismissed" ] }, "ReportView": { "type": "object", "required": [ "id", "reported_uid", "reason", "status", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "evidence": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" }, "reporter_uid": { "type": [ "string", "null" ], "format": "uuid" }, "resolution_note": { "type": [ "string", "null" ] }, "resolver_uid": { "type": [ "string", "null" ], "format": "uuid" }, "status": { "$ref": "#/components/schemas/ReportStatus" }, "updated_at": { "type": "string" } } }, "RequestChangeBody": { "type": "object", "required": [ "new_email" ], "properties": { "new_email": { "type": "string" } } }, "RequestDeletionCmd": { "type": "object", "properties": { "reason": { "type": [ "string", "null" ] } } }, "ResendCodeCmd": { "type": "object", "required": [ "email", "pow", "purpose" ], "properties": { "email": { "type": "string" }, "pow": { "$ref": "#/components/schemas/PowProof" }, "purpose": { "type": "string" } } }, "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_key_value" ], "properties": { "email": { "type": "string" }, "new_password": { "type": "string" }, "temp_key_value": { "type": "string" }, "token": { "type": "string" } } }, "ResetPasswordResp": { "type": "object", "required": [ "ok" ], "properties": { "ok": { "type": "boolean" } } }, "ReviewState": { "type": "string", "enum": [ "approved", "changes_requested", "commented" ] }, "RevokeAllResp": { "type": "object", "required": [ "revoked" ], "properties": { "revoked": { "type": "integer", "format": "int64", "minimum": 0 } } }, "RevokeSuspensionCmd": { "type": "object", "properties": { "reason": { "type": [ "string", "null" ] } } }, "RoleOverwriteView": { "type": "object", "required": [ "id", "space_id", "channel_id", "role_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "id": { "type": "string", "format": "uuid" }, "role_id": { "type": "string", "format": "uuid" }, "space_id": { "type": "string", "format": "uuid" } } }, "RolePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/RoleView" } }, "total": { "type": "integer", "format": "int64" } } }, "RoleView": { "type": "object", "required": [ "id", "space_id", "name", "position", "color", "version", "created_at", "created_by", "permissions" ], "properties": { "color": { "type": "string" }, "created_at": { "type": "string" }, "created_by": { "type": "string", "format": "uuid" }, "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" ] }, "version": { "type": "integer", "format": "int32" } } }, "SaveMessageCmd": { "type": "object", "required": [ "channel_id", "message_id" ], "properties": { "channel_id": { "type": "string", "format": "uuid" }, "message_id": { "type": "string", "format": "uuid" } } }, "SavedMessageView": { "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" } } }, "ScheduledMessageStatus": { "type": "string", "enum": [ "pending", "sent", "cancelled" ] }, "ScheduledMessageView": { "type": "object", "required": [ "id", "target_channel_id", "payload", "scheduled_at", "status", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "payload": { "type": "string" }, "scheduled_at": { "type": "string" }, "status": { "$ref": "#/components/schemas/ScheduledMessageStatus" }, "target_channel_id": { "type": "string", "format": "uuid" } } }, "SearchResults": { "type": "object", "required": [ "data", "ok" ], "properties": { "data": { "type": "array", "items": { "$ref": "#/components/schemas/RepoSummary" } }, "ok": { "type": "boolean" } } }, "SessionKind": { "type": "string", "enum": [ "web_login", "bearer_access" ] }, "SessionView": { "type": "object", "required": [ "id", "kind", "is_revoked", "created_at", "expires_at" ], "properties": { "app_id": { "type": [ "string", "null" ] }, "client_ip_hash": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "expires_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "is_revoked": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/SessionKind" }, "replaced_at": { "type": [ "string", "null" ] }, "user_agent_hash": { "type": [ "string", "null" ] } } }, "SetPrimaryEmailResp": { "type": "object", "required": [ "email" ], "properties": { "email": { "$ref": "#/components/schemas/EmailView" } } }, "SetRoleOverwriteCmd": { "type": "object", "required": [ "role_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "role_id": { "type": "string", "format": "uuid" } } }, "SetUserOverwriteCmd": { "type": "object", "required": [ "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "deny_mask": { "type": "integer", "format": "int64" }, "user_id": { "type": "string", "format": "uuid" } } }, "SidebarNode": { "type": "object", "description": "侧边栏树节点(邻接表:parent_id 引用父节点,前端据此组树)", "required": [ "id", "kind", "name", "position", "is_archived" ], "properties": { "color": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_archived": { "type": "boolean" }, "kind": { "$ref": "#/components/schemas/SidebarNodeKind" }, "name": { "type": "string" }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "position": { "type": "integer", "format": "int32" } } }, "SidebarNodeKind": { "type": "string", "description": "侧边栏树节点类型:分组 / 目录 / 频道 / 仓库 / 成员", "enum": [ "group", "directory", "channel", "repo", "member" ] }, "SidebarTreeView": { "type": "object", "description": "空间侧边栏树:顶层为分组节点(频道/仓库/私信),children 经 parent_id 邻接表引用", "required": [ "tree" ], "properties": { "tree": { "type": "array", "items": { "$ref": "#/components/schemas/SidebarNode" } } } }, "SpaceAllowJoinLevel": { "type": "string", "enum": [ "none", "need_mail_active", "need_mail_active_and_last_one_mid", "need_mail_active_and_last_one_hours", "need_mail_active_and_phone_active" ] }, "SpaceBanPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceBanView" } }, "total": { "type": "integer", "format": "int64" } } }, "SpaceBanView": { "type": "object", "required": [ "space_id", "user_id", "banned_by", "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": { "type": "string", "format": "uuid" }, "created_at": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "space_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "SpaceInvitePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceInviteView" } }, "total": { "type": "integer", "format": "int64" } } }, "SpaceInviteView": { "type": "object", "required": [ "id", "space_id", "email", "role_ids", "created_at" ], "properties": { "accepted_at": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "email": { "type": "string" }, "expires_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "revoked_at": { "type": [ "string", "null" ] }, "role_ids": { "type": "array", "items": { "type": "string", "format": "uuid" } }, "space_id": { "type": "string", "format": "uuid" }, "user_id": { "type": [ "string", "null" ], "format": "uuid" } } }, "SpaceMemberPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceMemberView" } }, "total": { "type": "integer", "format": "int64" } } }, "SpaceMemberStatus": { "type": "string", "enum": [ "active", "inactive", "left", "removed" ] }, "SpaceMemberView": { "type": "object", "required": [ "space_id", "user_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" }, "hide_muted_channels": { "type": "boolean" }, "invited_at": { "type": [ "string", "null" ] }, "invited_by": { "type": [ "string", "null" ], "format": "uuid" }, "joined_at": { "type": "string" }, "last_active_at": { "type": [ "string", "null" ] }, "left_at": { "type": [ "string", "null" ] }, "message_notifications": { "$ref": "#/components/schemas/MessageNotifications" }, "mobile_push": { "type": "boolean" }, "mute_until": { "type": [ "string", "null" ] }, "muted": { "type": "boolean" }, "space_id": { "type": "string", "format": "uuid" }, "status": { "$ref": "#/components/schemas/SpaceMemberStatus" }, "suppress_everyone": { "type": "boolean" }, "suppress_roles": { "type": "boolean" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } }, "SpacePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SpaceView" } }, "total": { "type": "integer", "format": "int64" } } }, "SpaceSummary": { "type": "object", "required": [ "id", "name" ], "properties": { "display_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" } } }, "SpaceView": { "type": "object", "required": [ "id", "name", "owner_id", "public", "is_active", "allow_join", "allow_invite", "member_count", "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/SpaceAllowJoinLevel" }, "avatar_url": { "type": [ "string", "null" ] }, "created_at": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_active": { "type": "boolean" }, "member_count": { "type": "integer", "format": "int64" }, "member_must_enable_2fa": { "type": "boolean" }, "name": { "type": "string" }, "owner_id": { "type": "string", "format": "uuid" }, "public": { "type": "boolean" }, "updated_at": { "type": "string" }, "welcome_message": { "type": [ "string", "null" ] } } }, "SshKeyType": { "type": "string", "enum": [ "ssh_rsa", "ssh_ed25519", "ecdsa_sha2_nistp256" ] }, "SshKeyView": { "type": "object", "required": [ "id", "name", "key_type", "fingerprint", "created_at" ], "properties": { "created_at": { "type": "string" }, "fingerprint": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "key_type": { "$ref": "#/components/schemas/SshKeyType" }, "last_used_at": { "type": [ "string", "null" ] }, "name": { "type": "string" } } }, "StopwatchView": { "type": "object", "required": [ "id", "issue_id", "user_id", "started_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "started_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "SubmitPullRequestReviewOption": { "type": "object", "required": [ "state" ], "properties": { "commit_sha": { "type": [ "string", "null" ] }, "content": { "type": [ "string", "null" ] }, "state": { "$ref": "#/components/schemas/ReviewState" } } }, "SubmitReportCmd": { "type": "object", "required": [ "reported_uid", "reason" ], "properties": { "evidence": { "type": [ "string", "null" ] }, "reason": { "type": "string" }, "reported_uid": { "type": "string", "format": "uuid" } } }, "SubscriberPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/SubscriberView" } }, "total": { "type": "integer", "format": "int64" } } }, "SubscriberView": { "type": "object", "required": [ "user_id", "repo_id", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "mode": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "Subscription": { "type": "object", "required": [ "user_id", "repo_id", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "mode": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "user_id": { "type": "string", "format": "uuid" } } }, "SuspendCmd": { "type": "object", "required": [ "suspension_type" ], "properties": { "ends_at": { "type": [ "string", "null" ] }, "reason": { "type": [ "string", "null" ] }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" } } }, "SuspensionType": { "type": "string", "enum": [ "temporary", "permanent" ] }, "SuspensionView": { "type": "object", "required": [ "id", "user_id", "suspension_type", "starts_at", "created_at" ], "properties": { "created_at": { "type": "string" }, "ends_at": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "reason": { "type": [ "string", "null" ] }, "revoked_at": { "type": [ "string", "null" ] }, "revoked_by": { "type": [ "string", "null" ], "format": "uuid" }, "starts_at": { "type": "string" }, "suspended_by": { "type": [ "string", "null" ], "format": "uuid" }, "suspension_type": { "$ref": "#/components/schemas/SuspensionType" }, "user_id": { "type": "string", "format": "uuid" } } }, "SyncResult": { "type": "object", "required": [ "repo_id", "branches_added", "tags_added", "commits_added", "size_bytes" ], "properties": { "branches_added": { "type": "integer", "format": "int64" }, "commits_added": { "type": "integer", "format": "int64" }, "repo_id": { "type": "string", "format": "uuid" }, "size_bytes": { "type": "integer", "format": "int64" }, "tags_added": { "type": "integer", "format": "int64" } } }, "SyncStatus": { "type": "object", "required": [ "repo_id", "branches_total", "tags_total", "commits_total", "size", "synced_at" ], "properties": { "branches_total": { "type": "integer", "format": "int64" }, "commits_total": { "type": "integer", "format": "int64" }, "last_pushed_at": { "type": [ "string", "null" ] }, "primary_language": { "type": [ "string", "null" ] }, "repo_id": { "type": "string", "format": "uuid" }, "size": { "type": "integer", "format": "int64" }, "synced_at": { "type": "string" }, "tags_total": { "type": "integer", "format": "int64" } } }, "TagPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TagView" } }, "total": { "type": "integer", "format": "int64" } } }, "TagProtectionPage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TagProtectionView" } }, "total": { "type": "integer", "format": "int64" } } }, "TagProtectionView": { "type": "object", "required": [ "id", "repo_id", "name_pattern", "whitelist_usernames", "whitelist_teams", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name_pattern": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "updated_at": { "type": "string" }, "whitelist_teams": { "type": "array", "items": { "type": "string" } }, "whitelist_usernames": { "type": "array", "items": { "type": "string" } } } }, "TagView": { "type": "object", "required": [ "id", "repo_id", "name", "tag_type", "commit_sha", "commit", "message", "zipball_url", "tarball_url", "created_at" ], "properties": { "commit": { "$ref": "#/components/schemas/CommitMeta" }, "commit_sha": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "message": { "type": "string" }, "name": { "type": "string" }, "repo_id": { "type": "string", "format": "uuid" }, "tag_type": { "type": "string" }, "tarball_url": { "type": "string" }, "zipball_url": { "type": "string" } } }, "TempKey": { "type": "object", "required": [ "name", "value", "ttl_seconds", "secure", "http_only", "same_site" ], "properties": { "domain": { "type": [ "string", "null" ] }, "http_only": { "type": "boolean" }, "name": { "type": "string" }, "path": { "type": [ "string", "null" ] }, "same_site": { "type": "string" }, "secure": { "type": "boolean" }, "ttl_seconds": { "type": "integer", "format": "int64", "minimum": 0 }, "value": { "type": "string" } } }, "TopicList": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "type": "string" } } } }, "TopicSearchQuery": { "type": "object", "properties": { "limit": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "page": { "type": [ "integer", "null" ], "format": "int64", "minimum": 0 }, "q": { "type": [ "string", "null" ] } } }, "TopicSearchResult": { "type": "object", "required": [ "topics" ], "properties": { "topics": { "type": "array", "items": { "$ref": "#/components/schemas/TopicView" } } } }, "TopicView": { "type": "object", "required": [ "id", "name", "repo_count", "created_at", "updated_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "name": { "type": "string" }, "repo_count": { "type": "integer", "format": "int32" }, "updated_at": { "type": "string" } } }, "TrackedTimePage": { "type": "object", "required": [ "items", "total" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/TrackedTimeView" } }, "total": { "type": "integer", "format": "int64" } } }, "TrackedTimeView": { "type": "object", "required": [ "id", "issue_id", "user_id", "seconds", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": "string", "format": "uuid" }, "seconds": { "type": "integer", "format": "int64" }, "user_id": { "type": "string", "format": "uuid" } } }, "TransferRepoOption": { "type": "object", "required": [ "new_channel_id" ], "properties": { "new_channel_id": { "type": "string", "format": "uuid" }, "new_name": { "type": [ "string", "null" ] } } }, "TreeEntryView": { "type": "object", "required": [ "path", "mode", "type_", "sha" ], "properties": { "mode": { "type": "string" }, "path": { "type": "string" }, "sha": { "type": "string" }, "size": { "type": [ "integer", "null" ], "format": "int64" }, "type_": { "type": "string" } } }, "TreeView": { "type": "object", "required": [ "sha", "entries" ], "properties": { "entries": { "type": "array", "items": { "$ref": "#/components/schemas/TreeEntryView" } }, "sha": { "type": "string" } } }, "UnassignRoleCmd": { "type": "object", "required": [ "role_id" ], "properties": { "role_id": { "type": "string", "format": "uuid" } } }, "UnreadCountResp": { "type": "object", "required": [ "count" ], "properties": { "count": { "type": "integer", "format": "int64" } } }, "UpdateAvatarOption": { "type": "object", "required": [ "image" ], "properties": { "image": { "type": "string" } } }, "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" ] }, "reason": { "type": [ "string", "null" ] } } }, "UpdateBranchOption": { "type": "object", "required": [ "new_commit_id" ], "properties": { "force": { "type": [ "boolean", "null" ] }, "new_commit_id": { "type": "string" }, "old_commit_id": { "type": [ "string", "null" ] } } }, "UpdateBranchProtectionPriorities": { "type": "object", "required": [ "ids" ], "properties": { "ids": { "type": "array", "items": { "type": "string", "format": "uuid" } } } }, "UpdateCollectionOption": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdateCommentOption": { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" } } }, "UpdateDeviceCmd": { "type": "object", "properties": { "device_name": { "type": [ "string", "null" ] }, "is_trusted": { "type": [ "boolean", "null" ] } } }, "UpdateDocumentCmd": { "type": "object", "properties": { "content": { "type": [ "string", "null" ] }, "icon": { "type": [ "string", "null" ] }, "parent_id": { "type": [ "string", "null" ], "format": "uuid" }, "slug": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "UpdateFileOption": { "allOf": [ { "$ref": "#/components/schemas/FileOptions" }, { "type": "object", "required": [ "content" ], "properties": { "content": { "type": "string" }, "from_path": { "type": [ "string", "null" ] }, "sha": { "type": [ "string", "null" ] } } } ] }, "UpdateIssueOption": { "type": "object", "properties": { "body": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "milestone_id": { "type": [ "string", "null" ], "format": "uuid" }, "title": { "type": [ "string", "null" ] } } }, "UpdateIssueUserOption": { "type": "object", "properties": { "is_mentioned": { "type": [ "boolean", "null" ] }, "is_read": { "type": [ "boolean", "null" ] } } }, "UpdateLabelOption": { "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", "required": [ "role" ], "properties": { "role": { "$ref": "#/components/schemas/MemberRole" } } }, "UpdateMilestoneOption": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "due_at": { "type": [ "string", "null" ] }, "is_closed": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdatePostLabelOption": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "is_archived": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] } } }, "UpdatePostOption": { "type": "object", "properties": { "body": { "type": [ "string", "null" ] }, "status": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/PostStatusView" } ] }, "title": { "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" ] }, "push_flags": { "type": [ "integer", "null" ], "format": "int32" }, "show_online_status": { "type": [ "boolean", "null" ] }, "theme_mode": { "type": [ "string", "null" ] }, "theme_token": { "type": [ "string", "null" ] }, "theme_version": { "type": [ "integer", "null" ], "format": "int64" } } }, "UpdateProfileCmd": { "type": "object", "properties": { "avatar": { "type": [ "string", "null" ] }, "display_name": { "type": [ "string", "null" ] }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "profile": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/UpdateProfileFields" } ] }, "timezone": { "type": [ "string", "null" ] }, "visibility": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileVisibility" } ] } } }, "UpdateProfileFields": { "type": "object", "properties": { "accent_color": { "type": [ "string", "null" ] }, "banner_color": { "type": [ "integer", "null" ], "format": "int32" }, "banner_url": { "type": [ "string", "null" ] }, "bio": { "type": [ "string", "null" ] }, "company": { "type": [ "string", "null" ] }, "date_of_birth": { "type": [ "string", "null" ], "format": "date" }, "location": { "type": [ "string", "null" ] }, "pronouns": { "type": [ "string", "null" ] }, "pronouns_privacy": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProfileVisibility" } ] }, "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" ] }, "website": { "type": [ "string", "null" ] } } }, "UpdateProjectCmd": { "type": "object", "properties": { "color": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "health": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProjectHealth" } ] }, "icon": { "type": [ "string", "null" ] }, "lead_id": { "type": [ "string", "null" ], "format": "uuid" }, "name": { "type": [ "string", "null" ] }, "sort_order": { "type": [ "integer", "null" ], "format": "int32" }, "state": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ProjectState" } ] }, "target_date": { "type": [ "string", "null" ], "format": "date" } } }, "UpdatePullRequestOption": { "type": "object", "properties": { "base": { "type": [ "string", "null" ] }, "body": { "type": [ "string", "null" ] }, "head": { "type": [ "string", "null" ] }, "title": { "type": [ "string", "null" ] } } }, "UpdateRepoFeaturesCmd": { "type": "object", "properties": { "has_discussions": { "type": [ "boolean", "null" ] }, "has_issues": { "type": [ "boolean", "null" ] }, "has_packages": { "type": [ "boolean", "null" ] }, "has_projects": { "type": [ "boolean", "null" ] }, "has_pull_requests": { "type": [ "boolean", "null" ] }, "has_releases": { "type": [ "boolean", "null" ] }, "has_wiki": { "type": [ "boolean", "null" ] }, "projects_mode": { "type": [ "string", "null" ] } } }, "UpdateRepoMergeStrategiesCmd": { "type": "object", "properties": { "allow_fast_forward_only_merge": { "type": [ "boolean", "null" ] }, "allow_manual_merge": { "type": [ "boolean", "null" ] }, "allow_merge_commits": { "type": [ "boolean", "null" ] }, "allow_merge_update": { "type": [ "boolean", "null" ] }, "allow_rebase": { "type": [ "boolean", "null" ] }, "allow_rebase_explicit": { "type": [ "boolean", "null" ] }, "allow_rebase_update": { "type": [ "boolean", "null" ] }, "allow_squash_merge": { "type": [ "boolean", "null" ] }, "autodetect_manual_merge": { "type": [ "boolean", "null" ] }, "default_allow_maintainer_edit": { "type": [ "boolean", "null" ] }, "default_delete_branch_after_merge": { "type": [ "boolean", "null" ] }, "ignore_whitespace_conflicts": { "type": [ "boolean", "null" ] } } }, "UpdateRepoOption": { "type": "object", "properties": { "allow_fast_forward_only_merge": { "type": [ "boolean", "null" ] }, "allow_manual_merge": { "type": [ "boolean", "null" ] }, "allow_merge_commits": { "type": [ "boolean", "null" ] }, "allow_merge_update": { "type": [ "boolean", "null" ] }, "allow_rebase": { "type": [ "boolean", "null" ] }, "allow_rebase_explicit": { "type": [ "boolean", "null" ] }, "allow_rebase_update": { "type": [ "boolean", "null" ] }, "allow_squash_merge": { "type": [ "boolean", "null" ] }, "archived": { "type": [ "boolean", "null" ] }, "autodetect_manual_merge": { "type": [ "boolean", "null" ] }, "default_allow_maintainer_edit": { "type": [ "boolean", "null" ] }, "default_branch": { "type": [ "string", "null" ] }, "default_delete_branch_after_merge": { "type": [ "boolean", "null" ] }, "default_merge_style": { "type": [ "string", "null" ] }, "default_update_style": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "enable_lfs": { "type": [ "boolean", "null" ] }, "external_tracker": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExternalTracker" } ] }, "external_wiki": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/ExternalWiki" } ] }, "has_actions": { "type": [ "boolean", "null" ] }, "has_code": { "type": [ "boolean", "null" ] }, "has_issues": { "type": [ "boolean", "null" ] }, "has_packages": { "type": [ "boolean", "null" ] }, "has_projects": { "type": [ "boolean", "null" ] }, "has_pull_requests": { "type": [ "boolean", "null" ] }, "has_releases": { "type": [ "boolean", "null" ] }, "has_wiki": { "type": [ "boolean", "null" ] }, "ignore_whitespace_conflicts": { "type": [ "boolean", "null" ] }, "internal_tracker": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/InternalTracker" } ] }, "is_private": { "type": [ "boolean", "null" ] }, "license_name": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "projects_mode": { "type": [ "string", "null" ] }, "template": { "type": [ "boolean", "null" ] }, "website": { "type": [ "string", "null" ] } } }, "UpdateReportCmd": { "type": "object", "required": [ "status" ], "properties": { "resolution_note": { "type": [ "string", "null" ] }, "status": { "$ref": "#/components/schemas/ReportStatus" } } }, "UpdateRoleCmd": { "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" ] } } }, "UpdateSpaceCmd": { "type": "object", "properties": { "allow_invite": { "type": [ "boolean", "null" ] }, "allow_join": { "type": [ "boolean", "null" ] }, "allow_join_level": { "oneOf": [ { "type": "null" }, { "$ref": "#/components/schemas/SpaceAllowJoinLevel" } ] }, "avatar_url": { "type": [ "string", "null" ] }, "description": { "type": [ "string", "null" ] }, "member_must_enable_2fa": { "type": [ "boolean", "null" ] }, "name": { "type": [ "string", "null" ] }, "public": { "type": [ "boolean", "null" ] }, "welcome_message": { "type": [ "string", "null" ] } } }, "UpdateViewCmd": { "type": "object", "properties": { "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "is_shared": { "type": [ "boolean", "null" ] }, "layout": { "type": [ "string", "null" ] }, "name": { "type": [ "string", "null" ] }, "sort_by": { "type": [ "string", "null" ] } } }, "UploadAttachmentInput": { "type": "object", "required": [ "filename", "content_type", "data" ], "properties": { "content_type": { "type": "string" }, "data": { "type": "array", "items": { "type": "integer", "format": "int32", "minimum": 0 } }, "filename": { "type": "string" } } }, "UploadAvatarCmd": { "type": "object", "required": [ "content_type", "data_base64" ], "properties": { "content_type": { "type": "string" }, "data_base64": { "type": "string" } } }, "UploadReleaseAssetForm": { "type": "object", "required": [ "file" ], "properties": { "file": { "type": "string", "description": "Binary file content (multipart \"file\" part)." }, "name": { "type": [ "string", "null" ], "description": "Optional human-readable asset name. Defaults to the upload filename." } } }, "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" } } }, "UpsertPostWatchOption": { "type": "object", "required": [ "mode" ], "properties": { "mode": { "type": "string" } } }, "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/PushPlatform" }, "user_agent": { "type": [ "string", "null" ] } } }, "UpsertWatchOption": { "type": "object", "required": [ "mode" ], "properties": { "mode": { "type": "string" } } }, "UserMe": { "type": "object", "required": [ "uid", "username", "display_name", "avatar", "is_active", "is_admin", "is_restricted" ], "properties": { "avatar": { "type": "string" }, "display_name": { "type": "string" }, "is_active": { "type": "boolean" }, "is_admin": { "type": "boolean" }, "is_restricted": { "type": "boolean" }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "timezone": { "type": [ "string", "null" ] }, "uid": { "type": "string" }, "username": { "type": "string" } } }, "UserMini": { "type": "object", "required": [ "id", "login" ], "properties": { "avatar_url": { "type": [ "string", "null" ] }, "email": { "type": [ "string", "null" ] }, "full_name": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "login": { "type": "string" } } }, "UserOverwriteView": { "type": "object", "required": [ "channel_id", "user_id", "allow_mask", "deny_mask" ], "properties": { "allow_mask": { "type": "integer", "format": "int64" }, "channel_id": { "type": "string", "format": "uuid" }, "deny_mask": { "type": "integer", "format": "int64" }, "user_id": { "type": "string", "format": "uuid" } } }, "UserPreferences": { "type": "object", "required": [ "user_id", "theme_mode", "in_app_flags", "email_flags", "push_flags", "email_digest", "allow_dms_from", "allow_mentions_from", "show_online_status", "created_at", "updated_at" ], "properties": { "allow_dms_from": { "$ref": "#/components/schemas/Audience" }, "allow_mentions_from": { "$ref": "#/components/schemas/Audience" }, "created_at": { "type": "string" }, "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" ] }, "push_flags": { "type": "integer", "format": "int32" }, "show_online_status": { "type": "boolean" }, "theme_mode": { "type": "string" }, "theme_token": { "type": [ "string", "null" ] }, "theme_version": { "type": [ "integer", "null" ], "format": "int64" }, "updated_at": { "type": "string" }, "user_id": { "type": "string", "format": "uuid" } } }, "UserPublic": { "type": "object", "required": [ "uid", "username", "display_name", "avatar" ], "properties": { "avatar": { "type": "string" }, "display_name": { "type": "string" }, "language": { "type": [ "string", "null" ] }, "locale": { "type": [ "string", "null" ] }, "timezone": { "type": [ "string", "null" ] }, "uid": { "type": "string" }, "username": { "type": "string" } } }, "UserSpacePermissionView": { "allOf": [ { "$ref": "#/components/schemas/SpaceView" }, { "type": "object", "required": [ "permissions" ], "properties": { "permissions": { "type": "array", "items": { "type": "string" } } } } ] }, "UserSummary": { "type": "object", "required": [ "id", "name", "login" ], "properties": { "email": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "login": { "type": "string" }, "name": { "type": "string" } } }, "VerifyCodeCmd": { "type": "object", "required": [ "email", "purpose", "code", "temp_key_value" ], "properties": { "code": { "type": "string" }, "email": { "type": "string" }, "purpose": { "type": "string" }, "temp_key_value": { "type": "string" }, "user_id": { "type": [ "string", "null" ] } } }, "VerifyCodeResult": { "type": "object", "required": [ "code_row_id" ], "properties": { "code_row_id": { "type": "string" } } }, "ViewPage": { "type": "object", "required": [ "total", "items" ], "properties": { "items": { "type": "array", "items": { "$ref": "#/components/schemas/ViewView" } }, "total": { "type": "integer", "format": "int64", "minimum": 0 } } }, "ViewView": { "type": "object", "required": [ "id", "project_id", "creator_id", "name", "filter", "sort_by", "layout", "is_shared", "sort_order", "created_at" ], "properties": { "created_at": { "type": "string", "format": "date-time" }, "creator_id": { "type": "string", "format": "uuid" }, "description": { "type": [ "string", "null" ] }, "filter": {}, "group_by": { "type": [ "string", "null" ] }, "id": { "type": "string", "format": "uuid" }, "is_shared": { "type": "boolean" }, "layout": { "type": "string" }, "name": { "type": "string" }, "project_id": { "type": "string", "format": "uuid" }, "sort_by": { "type": "string" }, "sort_order": { "type": "integer", "format": "int32" }, "updated_at": { "type": [ "string", "null" ], "format": "date-time" } } }, "WatchView": { "type": "object", "required": [ "id", "user_id", "mode", "created_at" ], "properties": { "created_at": { "type": "string" }, "id": { "type": "string", "format": "uuid" }, "issue_id": { "type": [ "string", "null" ], "format": "uuid" }, "mode": { "type": "string" }, "updated_at": { "type": [ "string", "null" ] }, "user_id": { "type": "string", "format": "uuid" } } } } }, "tags": [ { "name": "auth", "description": "Authentication endpoints" }, { "name": "issues", "description": "Issue tracking (lib/issues)" }, { "name": "posts", "description": "Post discussion (lib/post)" }, { "name": "project", "description": "Project lifecycle, members, views, documents, links, favorites, activities." }, { "name": "repo", "description": "Repository service (lib/repo)" }, { "name": "space", "description": "Space, membership, roles, invites, bans, channels, channel members and overwrite endpoints." }, { "name": "user", "description": "User profile, account, sessions and notifications endpoints." } ] }