{"components":{"schemas":{"DirectUpload":{"properties":{"confirm_url":{"format":"uri","type":"string"},"expires_at":{"description":"\u06cc\u0648\u0646\u06cc\u06a9\u0633\u200c\u062a\u0627\u06cc\u0645 \u0627\u0646\u0642\u0636\u0627\u06cc \u062a\u0648\u06a9\u0646","type":"integer"},"fallback":{"description":"\u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0646\u0644 (\u0628\u0631\u0627\u06cc \u0648\u0642\u062a\u06cc \u0645\u0633\u06cc\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a)","type":"object"},"filename":{"type":"string"},"ok":{"type":"boolean"},"purpose":{"enum":["files","sync","backup"],"type":"string"},"token":{"description":"\u062a\u0648\u06a9\u0646 \u0627\u0645\u0636\u0627\u0634\u062f\u0647\u200c\u06cc \u06a9\u0648\u062a\u0627\u0647\u200c\u0645\u062f\u062a (\u0645\u062f\u062a\u0634 \u0645\u062a\u0646\u0627\u0633\u0628 \u0628\u0627 \u062d\u062c\u0645)","type":"string"},"unchanged":{"description":"sync: \u0645\u062d\u062a\u0648\u0627 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u0646\u06a9\u0631\u062f\u0647 \u2014 \u0622\u067e\u0644\u0648\u062f \u0644\u0627\u0632\u0645 \u0646\u06cc\u0633\u062a","type":"boolean"},"upload":{"properties":{"form_field":{"const":"file","type":"string"},"headers":{"description":"\u062f\u0642\u06cc\u0642\u0627\u064b \u0647\u0645\u06cc\u0646 \u0647\u062f\u0631\u0647\u0627 \u0631\u0627 \u0628\u0641\u0631\u0633\u062a\u06cc\u062f (X-Upload-Token)","type":"object"},"method":{"const":"POST","type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"upload_id":{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0622\u067e\u0644\u0648\u062f \u2014 \u062f\u0631 confirm \u0628\u0641\u0631\u0633\u062a\u06cc\u062f","type":"string"}},"type":"object"},"Error":{"properties":{"code":{"description":"\u06a9\u062f \u0645\u0627\u0634\u06cc\u0646\u06cc\u0650 \u067e\u0627\u06cc\u062f\u0627\u0631 (\u062f\u0631 endpoint\u0647\u0627\u06cc \u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f)","type":"string"},"msg":{"description":"\u067e\u06cc\u0627\u0645 \u062e\u0637\u0627 (\u0641\u0627\u0631\u0633\u06cc\u060c \u0642\u0627\u0628\u0644 \u0646\u0645\u0627\u06cc\u0634 \u0628\u0647 \u06a9\u0627\u0631\u0628\u0631)","type":"string"},"ok":{"const":false,"type":"boolean"}},"required":["ok","msg"],"type":"object"},"File":{"properties":{"direct_link_url":{"description":"\u06af\u0631\u0641\u062a\u0646 \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645","format":"uri","type":"string"},"download_url":{"format":"uri","type":"string"},"id":{"type":"integer"},"mime_type":{"type":"string"},"name":{"type":"string"},"sha256":{"type":["string","null"]},"size":{"description":"\u0628\u0627\u06cc\u062a","type":"integer"},"size_human":{"type":"string"},"stored_name":{"type":"string"},"type":{"enum":["image","video","audio","archive","document","other"],"type":"string"},"type_label":{"type":"string"},"uploaded_at":{"format":"date-time","type":"string"}},"type":"object"},"Job":{"properties":{"cancel_requested":{"type":"boolean"},"charged_toman":{"description":"\u0645\u0628\u0644\u063a \u06a9\u0633\u0631\u0634\u062f\u0647 \u2014 \u0628\u0639\u062f \u0627\u0632 \u0628\u0627\u0632\u06af\u0634\u062a \u0648\u062c\u0647 \u0635\u0641\u0631 \u0627\u0633\u062a","type":"integer"},"created_at":{"format":"date-time","type":"string"},"error":{"type":["string","null"]},"file_id":{"type":["integer","null"]},"file_name":{"type":["string","null"]},"finished_at":{"format":"date-time","type":["string","null"]},"id":{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0639\u0645\u0648\u0645\u06cc \u067e\u0631\u062f\u0627\u0632\u0634","type":"string"},"operation":{"type":"string"},"operation_title":{"type":"string"},"outputs":{"items":{"properties":{"download_url":{"format":"uri","type":"string"},"file_id":{"type":"integer"},"mime_type":{"type":"string"},"name":{"type":"string"},"size":{"type":"integer"}},"type":"object"},"type":"array"},"params":{"type":"object"},"price_toman":{"description":"\u0642\u06cc\u0645\u062a \u062f\u0642\u06cc\u0642 (\u0628\u0639\u062f \u0627\u0632 \u0628\u0631\u0631\u0633\u06cc \u0648\u0631\u0648\u062f\u06cc \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u0634\u0648\u062f)","type":"integer"},"progress":{"maximum":100,"minimum":0,"type":"integer"},"result":{"description":"\u0646\u062a\u06cc\u062c\u0647\u200c\u06cc \u0645\u062a\u0646\u06cc/\u0633\u0627\u062e\u062a\u0627\u0631\u06cc\u061b \u0628\u0633\u062a\u0647 \u0628\u0647 \u0639\u0645\u0644\u06cc\u0627\u062a","type":["object","null"]},"source":{"enum":["web","api"],"type":"string"},"stage":{"description":"\u0645\u0631\u062d\u0644\u0647\u200c\u06cc \u0641\u0639\u0644\u06cc (\u0641\u0627\u0631\u0633\u06cc)","type":["string","null"]},"started_at":{"format":"date-time","type":["string","null"]},"status":{"enum":["queued","running","succeeded","failed","canceled"],"type":"string"},"status_label":{"type":"string"}},"type":"object"},"Link":{"properties":{"created_at":{"format":"date-time","type":"string"},"download_count":{"type":"integer"},"expires_at":{"format":"date-time","type":["string","null"]},"file_count":{"type":"integer"},"id":{"type":"integer"},"is_expired":{"type":"boolean"},"link_type":{"enum":["short","encrypted","custom"],"type":"string"},"name":{"type":["string","null"]},"slug":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"Operation":{"properties":{"description":{"type":"string"},"engine":{"description":"ai = \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc (\u067e\u0648\u0644\u06cc)\u060c local = \u0627\u0628\u0632\u0627\u0631 \u0645\u062d\u0644\u06cc","enum":["ai","local"],"type":"string"},"file_kinds":{"items":{"enum":["image","audio","video","document"],"type":"string"},"type":"array"},"id":{"type":"string"},"outputs":{"type":"string"},"params":{"items":{"type":"object"},"type":"array"},"pricing":{"properties":{"base_toman":{"type":"integer"},"free":{"type":"boolean"},"min_price_toman":{"type":"integer"},"unit":{"enum":["flat","minute","kchar"],"type":"string"},"unit_label":{"type":"string"},"unit_price_toman":{"type":"integer"}},"type":"object"},"title":{"type":"string"}},"type":"object"},"Page":{"properties":{"allowed_phones":{"type":"string"},"audience":{"enum":["public","specific"],"type":"string"},"bio":{"type":"string"},"blocks_count":{"type":"integer"},"contact_email":{"type":["string","null"]},"contact_phone":{"type":["string","null"]},"created_at":{"format":"date-time","type":"string"},"id":{"type":"integer"},"is_public":{"type":"boolean"},"logo_url":{"type":["string","null"]},"slug":{"type":"string"},"theme":{"type":"string"},"title":{"type":["string","null"]},"url":{"format":"uri","type":"string"}},"type":"object"},"Pagination":{"properties":{"has_next":{"type":"boolean"},"has_prev":{"type":"boolean"},"page":{"type":"integer"},"pages":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"}},"type":"object"},"WalletTransaction":{"properties":{"amount_toman":{"description":"\u0645\u0646\u0641\u06cc = \u06a9\u0633\u0631\u060c \u0645\u062b\u0628\u062a = \u0628\u0627\u0632\u06af\u0634\u062a/\u0634\u0627\u0631\u0698","type":"integer"},"balance_after":{"type":"integer"},"created_at":{"format":"date-time","type":"string"},"job_id":{"type":["string","null"]},"kind":{"enum":["job_charge","job_refund","topup","ai_usage"],"type":"string"},"note":{"type":["string","null"]}},"type":"object"}},"securitySchemes":{"BackupToken":{"description":"\u062a\u0648\u06a9\u0646 \u0628\u06a9\u0627\u067e \u062e\u0648\u062f\u06a9\u0627\u0631 \u2014 \u067e\u0646\u0644 \u2192 \u0628\u06a9\u0627\u067e\u200c\u06af\u06cc\u0631\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 (\u0628\u062f\u0648\u0646 \u0627\u0646\u0642\u0636\u0627)","scheme":"bearer","type":"http"},"BearerJWT":{"bearerFormat":"JWT","description":"\u062a\u0648\u06a9\u0646 JWT \u0627\u067e \u2014 \u0627\u0632 \u00ab\u0648\u0631\u0648\u062f \u0628\u0627 \u06a9\u062f \u06cc\u06a9\u200c\u0628\u0627\u0631\u0645\u0635\u0631\u0641\u00bb (\u06f3\u06f0 \u0631\u0648\u0632 \u0627\u0639\u062a\u0628\u0627\u0631)","scheme":"bearer","type":"http"},"SyncToken":{"description":"\u062a\u0648\u06a9\u0646 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u2014 \u067e\u0646\u0644 \u2192 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e (\u0628\u062f\u0648\u0646 \u0627\u0646\u0642\u0636\u0627)","scheme":"bearer","type":"http"}}},"info":{"contact":{"name":"\u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0646\u0627\u0628\u063a\u0647 \u0641\u0627\u06cc\u0644","url":"https://www.nabeghefile.ir/panel/tickets"},"description":"REST API \u0641\u0636\u0627\u06cc \u0627\u0628\u0631\u06cc \u0646\u0627\u0628\u063a\u0647 \u0641\u0627\u06cc\u0644: \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u060c \u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f\u060c \u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc\u060c \u062e\u0631\u06cc\u062f \u0641\u0636\u0627\u060c \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc\u060c \u0628\u06a9\u0627\u067e \u0648 \u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0628\u0627 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc. \u0647\u0645\u0647\u200c\u06cc \u067e\u0627\u0633\u062e\u200c\u0647\u0627 JSON \u0628\u0627 \u0641\u06cc\u0644\u062f ok \u0647\u0633\u062a\u0646\u062f\u061b \u062f\u0631 \u062e\u0637\u0627 msg \u067e\u06cc\u0627\u0645 \u0641\u0627\u0631\u0633\u06cc \u0642\u0627\u0628\u0644 \u0646\u0645\u0627\u06cc\u0634 \u0627\u0633\u062a.","title":"NabegheFile API \u2014 \u0646\u0627\u0628\u063a\u0647 \u0641\u0627\u06cc\u0644","version":"1.5.0"},"openapi":"3.1.0","paths":{"/panel/api/v1/ai/wallet":{"get":{"description":"\u0645\u0648\u062c\u0648\u062f\u06cc (\u062a\u0648\u0645\u0627\u0646) \u0648 \u0622\u062e\u0631\u06cc\u0646 \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627: \u06a9\u0633\u0631 \u0628\u0627\u0628\u062a \u067e\u0631\u062f\u0627\u0632\u0634\u060c \u0628\u0627\u0632\u06af\u0634\u062a \u0648\u062c\u0647\u060c \u0634\u0627\u0631\u0698 \u0648 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u062d\u0644\u06cc\u0644/\u067e\u0631\u0633\u0634.","operationId":"get_ai_wallet","parameters":[{"description":"\u062a\u0639\u062f\u0627\u062f \u062a\u0631\u0627\u06a9\u0646\u0634 (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f2\u06f0\u060c \u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0\u06f0)","in":"query","name":"limit","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"balance_toman":{"type":"integer"},"ok":{"const":true,"type":"boolean"},"transactions":{"items":{"$ref":"#/components/schemas/WalletTransaction"},"type":"array"}},"type":"object"}}},"description":"\u06a9\u06cc\u0641\u200c\u067e\u0648\u0644"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u06a9\u06cc\u0641\u200c\u067e\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc","tags":["\u06a9\u06cc\u0641\u200c\u067e\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc"]}},"/panel/api/v1/auth/otp/request":{"post":{"description":"\u06cc\u06a9 \u06a9\u062f \u06f6 \u0631\u0642\u0645\u06cc \u0628\u0647 \u0645\u0648\u0628\u0627\u06cc\u0644 (\u067e\u06cc\u0627\u0645\u06a9) \u06cc\u0627 \u0627\u06cc\u0645\u06cc\u0644 \u0645\u06cc\u200c\u0641\u0631\u0633\u062a\u062f. \u06a9\u062f \u06f2 \u062f\u0642\u06cc\u0642\u0647 \u0627\u0639\u062a\u0628\u0627\u0631 \u062f\u0627\u0631\u062f \u0648 \u0628\u06cc\u0646 \u062f\u0648 \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u0634\u0645\u0627\u0631\u0647 \u062d\u062f\u0627\u0642\u0644 \u06f6\u06f0 \u062b\u0627\u0646\u06cc\u0647 \u0641\u0627\u0635\u0644\u0647 \u0644\u0627\u0632\u0645 \u0627\u0633\u062a.","operationId":"post_auth_otp_request","requestBody":{"content":{"application/json":{"example":{"phone":"09121234567"},"schema":{"properties":{"email":{"format":"email","type":"string"},"phone":{"example":"09121234567","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u06a9\u062f \u0627\u0631\u0633\u0627\u0644 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0645\u0639\u062a\u0628\u0631 \u06cc\u0627 \u0627\u0631\u0633\u0627\u0644 \u067e\u06cc\u0627\u067e\u06cc (\u0641\u06cc\u0644\u062f wait = \u062b\u0627\u0646\u06cc\u0647\u200c\u06cc \u0628\u0627\u0642\u06cc\u200c\u0645\u0627\u0646\u062f\u0647)"}},"security":[],"summary":"\u062f\u0631\u062e\u0648\u0627\u0633\u062a \u06a9\u062f \u0648\u0631\u0648\u062f","tags":["\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a"]}},"/panel/api/v1/auth/otp/verify":{"post":{"description":"\u0627\u06af\u0631 \u06a9\u062f \u062f\u0631\u0633\u062a \u0628\u0627\u0634\u062f \u06cc\u06a9 \u062a\u0648\u06a9\u0646 JWT \u0628\u0627 \u0627\u0639\u062a\u0628\u0627\u0631 \u06f3\u06f0 \u0631\u0648\u0632 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f\u061b \u0627\u0648\u0644\u06cc\u0646 \u0648\u0631\u0648\u062f \u0645\u0648\u0641\u0642\u060c \u062d\u0633\u0627\u0628 \u0631\u0627 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0645\u06cc\u200c\u0633\u0627\u0632\u062f. \u062a\u0648\u06a9\u0646 \u0631\u0627 \u062f\u0631 \u0647\u062f\u0631 Authorization: Bearer \u0628\u0641\u0631\u0633\u062a\u06cc\u062f.","operationId":"post_auth_otp_verify","requestBody":{"content":{"application/json":{"example":{"code":"123456","phone":"09121234567"},"schema":{"properties":{"code":{"example":"123456","type":"string"},"email":{"type":"string"},"phone":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"token":{"type":"string"},"user":{"properties":{"email":{"type":["string","null"]},"id":{"type":"integer"},"phone":{"type":"string"},"storage_limit_gb":{"type":"integer"},"storage_used_gb":{"type":"integer"}},"type":"object"}},"type":"object"}}},"description":"\u0648\u0631\u0648\u062f \u0645\u0648\u0641\u0642"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u06a9\u062f \u0627\u0634\u062a\u0628\u0627\u0647/\u0645\u0646\u0642\u0636\u06cc \u06cc\u0627 \u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0642\u0635"}},"security":[],"summary":"\u062a\u0623\u06cc\u06cc\u062f \u06a9\u062f \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u062a\u0648\u06a9\u0646","tags":["\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a"]}},"/panel/api/v1/backup/upload":{"post":{"description":"\u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 (\u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0\u06f0 \u0645\u06af\u0627\u0628\u0627\u06cc\u062a) \u0628\u0631\u0627\u06cc \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0632\u0645\u0627\u0646\u200c\u0628\u0646\u062f\u06cc\u200c\u0634\u062f\u0647\u200c\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627 (multipart\u060c \u0641\u06cc\u0644\u062f file). \u0642\u062f\u06cc\u0645\u06cc\u200c\u062a\u0631\u0647\u0627 \u0637\u0628\u0642 \u062a\u0639\u062f\u0627\u062f \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062e\u0648\u062f\u06a9\u0627\u0631 \u067e\u0627\u06a9 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f. \u0627\u0648\u0644\u0648\u06cc\u062a \u0627\u0648\u0644: /uploads/authorize \u0628\u0627 \u062a\u0648\u06a9\u0646 \u0628\u06a9\u0627\u067e (\u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0622\u0645\u0627\u062f\u0647\u200c\u06cc \u067e\u0646\u0644 \u062e\u0648\u062f\u0634 \u0647\u0645\u06cc\u0646 \u06a9\u0627\u0631 \u0631\u0627 \u0645\u06cc\u200c\u06a9\u0646\u062f).","operationId":"post_backup_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"file_id":{"type":"integer"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0630\u062e\u06cc\u0631\u0647 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u062e\u0627\u0644\u06cc/\u0627\u0631\u0633\u0627\u0644\u200c\u0646\u0634\u062f\u0647"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0633\u0631\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a"}},"security":[{"BackupToken":[]}],"summary":"\u0622\u067e\u0644\u0648\u062f \u0628\u06a9\u0627\u067e","tags":["\u0628\u06a9\u0627\u067e \u062e\u0648\u062f\u06a9\u0627\u0631"]}},"/panel/api/v1/dashboard":{"get":{"description":"\u0647\u0645\u0627\u0646 \u0622\u0645\u0627\u0631 \u0635\u0641\u062d\u0647\u200c\u06cc \u062f\u0627\u0634\u0628\u0648\u0631\u062f \u067e\u0646\u0644: \u0641\u0636\u0627\u060c \u062a\u0639\u062f\u0627\u062f \u0641\u0627\u06cc\u0644/\u0644\u06cc\u0646\u06a9/\u0635\u0641\u062d\u0647\u060c \u062f\u0627\u0646\u0644\u0648\u062f\u0647\u0627\u060c \u062a\u06cc\u06a9\u062a\u200c\u0647\u0627 \u0648 \u0622\u062e\u0631\u06cc\u0646 \u0645\u0648\u0627\u0631\u062f.","operationId":"get_dashboard","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"recent_files":{"items":{"$ref":"#/components/schemas/File"},"type":"array"},"recent_links":{"items":{"$ref":"#/components/schemas/Link"},"type":"array"},"recent_pages":{"items":{"$ref":"#/components/schemas/Page"},"type":"array"},"stats":{"type":"object"}},"type":"object"}}},"description":"\u0622\u0645\u0627\u0631"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u062f\u0627\u0634\u0628\u0648\u0631\u062f","tags":["\u062d\u0633\u0627\u0628 \u0648 \u062f\u0627\u0634\u0628\u0648\u0631\u062f"]}},"/panel/api/v1/domains":{"get":{"description":"\u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627\u06cc \u0641\u0639\u0627\u0644 \u0628\u0631\u0627\u06cc \u0644\u06cc\u0646\u06a9 custom (\u0639\u0645\u0648\u0645\u06cc).","operationId":"get_domains","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"domains":{"items":{"properties":{"id":{"type":"integer"},"is_default":{"type":"boolean"},"name":{"type":"string"}},"type":"object"},"type":"array"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"}},"security":[],"summary":"\u062f\u0627\u0645\u0646\u0647\u200c\u0647\u0627\u06cc \u0644\u06cc\u0646\u06a9 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc","tags":["\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f"]}},"/panel/api/v1/files":{"get":{"description":"\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 (\u0628\u0647\u200c\u062c\u0632 \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a)\u060c \u062c\u062f\u06cc\u062f\u062a\u0631\u06cc\u0646 \u0627\u0648\u0644. \u0628\u0627 search \u062c\u0633\u062a\u200c\u0648\u062c\u0648 \u062f\u0631 \u0646\u0627\u0645 \u0648 \u00ab\u0645\u062d\u062a\u0648\u0627\u06cc\u00bb \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 (\u062a\u0645\u0627\u0645\u200c\u0645\u062a\u0646) \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u0634\u0648\u062f.","operationId":"get_files","parameters":[{"description":"\u0634\u0645\u0627\u0631\u0647\u200c\u06cc \u0635\u0641\u062d\u0647 (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f1)","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"\u062a\u0639\u062f\u0627\u062f \u062f\u0631 \u0647\u0631 \u0635\u0641\u062d\u0647 (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f2\u06f0)","in":"query","name":"per_page","required":false,"schema":{"type":"integer"}},{"description":"\u062c\u0633\u062a\u200c\u0648\u062c\u0648\u06cc \u062a\u0645\u0627\u0645\u200c\u0645\u062a\u0646","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"\u0641\u06cc\u0644\u062a\u0631 \u0628\u062e\u0634\u06cc \u0627\u0632 mime type\u060c \u0645\u062b\u0644 image \u06cc\u0627 video","in":"query","name":"type","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"files":{"items":{"$ref":"#/components/schemas/File"},"type":"array"},"ok":{"const":true,"type":"boolean"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u0641\u0627\u06cc\u0644\u200c\u0647\u0627","tags":["\u0641\u0627\u06cc\u0644\u200c\u0647\u0627"]}},"/panel/api/v1/files/upload":{"post":{"description":"\u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0622\u067e\u0644\u0648\u062f \u0627\u0632 \u0637\u0631\u06cc\u0642 \u067e\u0646\u0644 (multipart/form-data\u060c \u0641\u06cc\u0644\u062f file) \u2014 \u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0\u06f0 \u0645\u06af\u0627\u0628\u0627\u06cc\u062a \u062f\u0631 \u0647\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a. \u0627\u0648\u0644\u0648\u06cc\u062a \u0627\u0648\u0644: /uploads/authorize (\u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645\u060c \u0628\u062f\u0648\u0646 \u0627\u06cc\u0646 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a).","operationId":"post_files_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"file":{"$ref":"#/components/schemas/File"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0622\u067e\u0644\u0648\u062f \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644\u06cc \u0627\u0631\u0633\u0627\u0644 \u0646\u0634\u062f\u0647 \u06cc\u0627 \u0641\u0636\u0627\u06cc \u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0633\u0631\u0648\u0631 \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a"}},"security":[{"BearerJWT":[]}],"summary":"\u0622\u067e\u0644\u0648\u062f \u0641\u0627\u06cc\u0644","tags":["\u0641\u0627\u06cc\u0644\u200c\u0647\u0627"]}},"/panel/api/v1/files/{file_id}":{"delete":{"description":"\u0641\u0627\u06cc\u0644 \u0628\u0647 \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u0631\u0648\u062f \u0648 \u062a\u0627 \u06f3\u06f0 \u0631\u0648\u0632 \u0627\u0632 \u067e\u0646\u0644 \u0642\u0627\u0628\u0644 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u06cc \u0627\u0633\u062a\u061b \u0628\u0639\u062f \u0627\u0632 \u0622\u0646 \u0628\u0647\u200c\u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0648 \u06a9\u0627\u0645\u0644 \u067e\u0627\u06a9 \u0645\u06cc\u200c\u0634\u0648\u062f.","operationId":"delete_files_file_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u062d\u0630\u0641 \u0634\u062f"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u062d\u0630\u0641 \u0641\u0627\u06cc\u0644 (\u0627\u0646\u062a\u0642\u0627\u0644 \u0628\u0647 \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a)","tags":["\u0641\u0627\u06cc\u0644\u200c\u0647\u0627"]}},"/panel/api/v1/files/{file_id}/direct-link":{"get":{"description":"\u06cc\u06a9 \u0644\u06cc\u0646\u06a9 \u0627\u0645\u0636\u0627\u0634\u062f\u0647\u200c\u06cc \u06f6 \u0633\u0627\u0639\u062a\u0647 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0628\u062f\u0648\u0646 \u062a\u0648\u06a9\u0646 \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f \u0627\u0633\u062a \u0648 \u0627\u0632 Range (\u0627\u062f\u0627\u0645\u0647\u200c\u06cc \u062f\u0627\u0646\u0644\u0648\u062f\u060c \u062f\u0627\u0646\u0644\u0648\u062f \u0686\u0646\u062f\u062a\u06a9\u0647\u060c \u067e\u062e\u0634 \u0648 \u062c\u0644\u0648/\u0639\u0642\u0628 \u06a9\u0631\u062f\u0646 \u0648\u06cc\u062f\u06cc\u0648) \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f. inline=1 \u0628\u0631\u0627\u06cc \u0646\u0645\u0627\u06cc\u0634 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631/\u067e\u0644\u06cc\u0631.","operationId":"get_files_file_id_direct-link","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}},{"description":"1 = \u0646\u0645\u0627\u06cc\u0634 \u0628\u0647\u200c\u062c\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f","in":"query","name":"inline","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"expires_at":{"type":"integer"},"expires_in":{"type":"integer"},"file":{"properties":{"id":{"type":"integer"},"mime_type":{"type":["string","null"]},"name":{"type":"string"},"sha256":{"type":["string","null"]},"size":{"type":"integer"}},"type":"object"},"ok":{"const":true,"type":"boolean"},"supports_range":{"type":"boolean"},"url":{"format":"uri","type":"string"}},"type":"object"}}},"description":"\u0644\u06cc\u0646\u06a9"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0645\u0633\u06cc\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a (fallback_url)"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645","tags":["\u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645 (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc)"]}},"/panel/api/v1/files/{file_id}/download":{"get":{"description":"\u0628\u0627 \u062a\u0648\u06a9\u0646 JWT \u06cc\u0627 \u062a\u0648\u06a9\u0646 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc. \u0627\u0648\u0644\u0648\u06cc\u062a \u0627\u0648\u0644: \u067e\u0627\u0633\u062e 302 \u0628\u0647 \u0644\u06cc\u0646\u06a9 \u0627\u0645\u0636\u0627\u0634\u062f\u0647\u200c\u06cc \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 (Range \u062f\u0627\u0631\u062f) \u2014 \u06a9\u0644\u0627\u06cc\u0646\u062a \u0628\u0627\u06cc\u062f redirect \u0631\u0627 \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u062f (curl -L\u061b requests/OkHttp/fetch \u062e\u0648\u062f\u06a9\u0627\u0631). \u0627\u06af\u0631 \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u0628\u0627\u0634\u062f \u06cc\u0627 via=panel \u0628\u0641\u0631\u0633\u062a\u06cc\u062f\u060c \u0641\u0627\u06cc\u0644 \u0627\u0632 \u067e\u0646\u0644 stream \u0645\u06cc\u200c\u0634\u0648\u062f.","operationId":"get_files_file_id_download","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}},{"description":"panel = \u0627\u062c\u0628\u0627\u0631 \u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646","in":"query","name":"via","required":false,"schema":{"type":"string"}},{"description":"1 = \u0646\u0645\u0627\u06cc\u0634 \u0628\u0647\u200c\u062c\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f (\u0641\u0642\u0637 \u062f\u0631 \u0645\u0633\u06cc\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645)","in":"query","name":"inline","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"\u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644 (\u0628\u0627\u06cc\u0646\u0631\u06cc)"},"302":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"\u0627\u0646\u062a\u0642\u0627\u0644 \u0628\u0647 \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645 (Location)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u062f\u0627\u0646\u0644\u0648\u062f \u0641\u0627\u06cc\u0644","tags":["\u0641\u0627\u06cc\u0644\u200c\u0647\u0627"]}},"/panel/api/v1/files/{file_id}/process":{"post":{"description":"\u06cc\u06a9 \u067e\u0631\u062f\u0627\u0632\u0634 \u062f\u0631 \u0635\u0641 \u0645\u06cc\u200c\u06af\u0630\u0627\u0631\u062f \u0648 \u0628\u0644\u0627\u0641\u0627\u0635\u0644\u0647 (201) \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u2014 \u0647\u06cc\u0686 \u0645\u0628\u0644\u063a\u06cc \u062f\u0631 \u0627\u06cc\u0646 \u0644\u062d\u0638\u0647 \u06a9\u0633\u0631 \u0646\u0645\u06cc\u200c\u0634\u0648\u062f. Worker \u0648\u0631\u0648\u062f\u06cc \u0631\u0627 \u0628\u0631\u0631\u0633\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0642\u06cc\u0645\u062a \u062f\u0642\u06cc\u0642 \u0631\u0627 (\u0645\u062b\u0644\u0627\u064b \u0628\u0631 \u0627\u0633\u0627\u0633 \u0645\u062f\u062a \u0648\u0627\u0642\u0639\u06cc \u0635\u0648\u062a) \u062d\u0633\u0627\u0628 \u0648 \u062f\u0631\u0633\u062a \u0642\u0628\u0644 \u0627\u0632 \u0645\u0631\u062d\u0644\u0647\u200c\u06cc \u067e\u0648\u0644\u06cc \u06a9\u0633\u0631 \u0645\u06cc\u200c\u06a9\u0646\u062f\u061b \u0627\u06af\u0631 \u067e\u0631\u062f\u0627\u0632\u0634 \u0628\u0647 \u0647\u0631 \u062f\u0644\u06cc\u0644\u06cc \u0646\u0627\u0645\u0648\u0641\u0642 \u06cc\u0627 \u0644\u063a\u0648 \u0634\u0648\u062f\u060c \u06a9\u0644 \u0645\u0628\u0644\u063a \u062e\u0648\u062f\u06a9\u0627\u0631 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u0648\u0636\u0639\u06cc\u062a \u0631\u0627 \u0628\u0627 GET /processing/jobs/{job_id} \u062f\u0646\u0628\u0627\u0644 \u06a9\u0646\u06cc\u062f. \u062e\u0631\u0648\u062c\u06cc\u200c\u0647\u0627 \u062f\u0631 \u0641\u0636\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631 \u0647\u0645 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.\n\n\u0639\u0645\u0644\u06cc\u0627\u062a \u0641\u0639\u0627\u0644:\n- `image_describe` \u2014 \u062a\u0648\u0635\u06cc\u0641 \u0647\u0648\u0634\u0645\u0646\u062f \u062a\u0635\u0648\u06cc\u0631 (image)\n- `image_ocr` \u2014 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0645\u062a\u0646 \u0627\u0632 \u062a\u0635\u0648\u06cc\u0631 (OCR) (image)\n- `image_convert` \u2014 \u062a\u0628\u062f\u06cc\u0644 \u0641\u0631\u0645\u062a \u062a\u0635\u0648\u06cc\u0631 (image)\n- `image_resize` \u2014 \u062a\u063a\u06cc\u06cc\u0631 \u0627\u0646\u062f\u0627\u0632\u0647 \u062a\u0635\u0648\u06cc\u0631 (image)\n- `image_compress` \u2014 \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc \u062a\u0635\u0648\u06cc\u0631 (image)\n- `media_transcribe` \u2014 \u062a\u0628\u062f\u06cc\u0644 \u06af\u0641\u062a\u0627\u0631 \u0628\u0647 \u0645\u062a\u0646 + \u0632\u06cc\u0631\u0646\u0648\u06cc\u0633 (audio\u060c video)\n- `media_summarize` \u2014 \u062e\u0644\u0627\u0635\u0647\u200c\u06cc \u0647\u0648\u0634\u0645\u0646\u062f \u0635\u0648\u062a \u0648 \u0648\u06cc\u062f\u06cc\u0648 (audio\u060c video)\n- `video_thumbnail` \u2014 \u0633\u0627\u062e\u062a \u062a\u0635\u0648\u06cc\u0631 \u06a9\u0627\u0648\u0631 \u0648\u06cc\u062f\u06cc\u0648 (video)\n- `media_extract_audio` \u2014 \u062c\u062f\u0627\u0633\u0627\u0632\u06cc \u0635\u062f\u0627 \u0627\u0632 \u0648\u06cc\u062f\u06cc\u0648 (video)\n- `video_convert` \u2014 \u062a\u0628\u062f\u06cc\u0644 \u0648 \u06a9\u0645\u200c\u062d\u062c\u0645\u200c\u06a9\u0631\u062f\u0646 \u0648\u06cc\u062f\u06cc\u0648 (video)\n- `doc_summarize` \u2014 \u062e\u0644\u0627\u0635\u0647\u200c\u06cc \u0647\u0648\u0634\u0645\u0646\u062f \u0633\u0646\u062f (document)\n- `doc_translate` \u2014 \u062a\u0631\u062c\u0645\u0647\u200c\u06cc \u0633\u0646\u062f (document)","operationId":"post_files_file_id_process","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644 \u0648\u0631\u0648\u062f\u06cc","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"application/json":{"example":{"operation":"media_transcribe","params":{"language":"fa"}},"schema":{"properties":{"operation":{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0639\u0645\u0644\u06cc\u0627\u062a (\u0627\u0632 /processing/operations)","enum":["image_describe","image_ocr","image_convert","image_resize","image_compress","media_transcribe","media_summarize","video_thumbnail","media_extract_audio","video_convert","doc_summarize","doc_translate"],"type":"string"},"params":{"description":"\u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u06cc \u0647\u0645\u0627\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a\u061b \u0645\u0642\u0627\u062f\u06cc\u0631 \u0646\u0641\u0631\u0633\u062a\u0627\u062f\u0647 = \u067e\u06cc\u0634\u200c\u0641\u0631\u0636","type":"object"}},"type":"object"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"properties":{"job":{"$ref":"#/components/schemas/Job"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u062f\u0631 \u0635\u0641 \u0642\u0631\u0627\u0631 \u06af\u0631\u0641\u062a"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0645\u0639\u062a\u0628\u0631 \u2014 code: invalid_params\u060c unsupported_file_type\u060c file_encrypted\u060c file_too_large"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"402":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0645\u0648\u062c\u0648\u062f\u06cc \u06a9\u0627\u0641\u06cc \u0646\u06cc\u0633\u062a \u2014 code: insufficient_balance"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u06cc\u0627 \u0639\u0645\u0644\u06cc\u0627\u062a \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f \u2014 code: file_not_found\u060c unknown_operation"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0633\u0642\u0641 \u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0645\u200c\u0632\u0645\u0627\u0646 \u06cc\u0627 \u0631\u0627\u06cc\u06af\u0627\u0646\u0650 \u0631\u0648\u0632\u0627\u0646\u0647 \u2014 code: too_many_active_jobs\u060c daily_free_limit"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u067e\u0631\u062f\u0627\u0632\u0634 \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0627\u0633\u062a \u2014 code: processing_disabled\u060c engine_not_configured"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0634\u0631\u0648\u0639 \u067e\u0631\u062f\u0627\u0632\u0634 \u06cc\u06a9 \u0641\u0627\u06cc\u0644","tags":["\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"]}},"/panel/api/v1/links":{"get":{"description":"\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f \u06a9\u0627\u0631\u0628\u0631.","operationId":"get_links","parameters":[{"description":"\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f1","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f2\u06f0","in":"query","name":"per_page","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"links":{"items":{"$ref":"#/components/schemas/Link"},"type":"array"},"ok":{"const":true,"type":"boolean"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u0644\u06cc\u0646\u06a9\u200c\u0647\u0627","tags":["\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f"]},"post":{"description":"\u0644\u06cc\u0646\u06a9 \u0628\u0631\u0627\u06cc \u06cc\u06a9 \u06cc\u0627 \u0686\u0646\u062f \u0641\u0627\u06cc\u0644 (\u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a \u0645\u062c\u0627\u0632 \u0646\u06cc\u0633\u062a\u0646\u062f). short = \u0622\u062f\u0631\u0633 \u06a9\u0648\u062a\u0627\u0647\u060c encrypted = \u062a\u0648\u06a9\u0646 \u06f4\u06f0 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u06cc \u063a\u06cc\u0631\u0642\u0627\u0628\u0644\u200c\u062d\u062f\u0633\u060c custom = \u0622\u062f\u0631\u0633 \u062f\u0644\u062e\u0648\u0627\u0647 (custom_slug \u0627\u0644\u0632\u0627\u0645\u06cc). \u0631\u0645\u0632 \u0648 \u062a\u0627\u0631\u06cc\u062e \u0627\u0646\u0642\u0636\u0627 \u0627\u062e\u062a\u06cc\u0627\u0631\u06cc\u200c\u0627\u0646\u062f. \u0628\u0631\u0627\u06cc \u0686\u0646\u062f \u0641\u0627\u06cc\u0644\u060c download_url \u062f\u0627\u0646\u0644\u0648\u062f ZIP \u0627\u0633\u062a.","operationId":"post_links","requestBody":{"content":{"application/json":{"example":{"expires_days":7,"file_ids":[42,43],"link_type":"encrypted","password":"1234"},"schema":{"properties":{"custom_slug":{"type":"string"},"domain_id":{"type":"integer"},"expires_days":{"type":"integer"},"file_ids":{"items":{"type":"integer"},"type":"array"},"link_type":{"default":"short","enum":["short","encrypted","custom"],"type":"string"},"name":{"type":"string"},"password":{"type":"string"},"zip_paths":{"description":"file_id \u2192 \u0645\u0633\u06cc\u0631 \u062f\u0627\u062e\u0644 ZIP","type":"object"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"link":{"properties":{"download_url":{"format":"uri","type":["string","null"]},"id":{"type":"integer"},"name":{"type":["string","null"]},"slug":{"type":"string"},"url":{"format":"uri","type":"string"}},"type":"object"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0633\u0627\u062e\u062a\u0647 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0645\u0639\u062a\u0628\u0631 \u06cc\u0627 \u0622\u062f\u0631\u0633 \u062a\u06a9\u0631\u0627\u0631\u06cc/\u0631\u0632\u0631\u0648"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u0633\u0627\u062e\u062a \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f","tags":["\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f"]}},"/panel/api/v1/links/{link_id}":{"delete":{"description":"\u062d\u0630\u0641 \u06cc\u06a9 \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f (\u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u062d\u0630\u0641 \u0646\u0645\u06cc\u200c\u0634\u0648\u0646\u062f).","operationId":"delete_links_link_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0644\u06cc\u0646\u06a9","in":"path","name":"link_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u062d\u0630\u0641 \u0634\u062f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0644\u06cc\u0646\u06a9 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u062d\u0630\u0641 \u0644\u06cc\u0646\u06a9","tags":["\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f"]}},"/panel/api/v1/orders":{"post":{"description":"\u062f\u0631 \u062d\u0627\u0644\u062a \u067e\u0631\u062f\u0627\u062e\u062a \u0648\u0627\u0642\u0639\u06cc\u060c gateway_url \u0631\u0627 \u062f\u0631 \u0645\u0631\u0648\u0631\u06af\u0631 \u0628\u0627\u0632 \u06a9\u0646\u06cc\u062f\u061b \u0628\u0639\u062f \u0627\u0632 \u0628\u0627\u0632\u06af\u0634\u062a\u060c \u0648\u0636\u0639\u06cc\u062a \u0631\u0627 \u0628\u0627 GET /orders/{order_id} \u0628\u062e\u0648\u0627\u0646\u06cc\u062f.","operationId":"post_orders","requestBody":{"content":{"application/json":{"example":{"amount":10,"duration_days":30,"mode":"new","unit":"GB"},"schema":{"properties":{"amount":{"default":1,"type":"number"},"duration_days":{"type":"integer"},"gateway":{"type":"string"},"mode":{"default":"new","enum":["new","renew"],"type":"string"},"unit":{"default":"GB","enum":["MB","GB","TB"],"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"activated":{"type":"boolean"},"gateway_url":{"format":"uri","type":["string","null"]},"ok":{"const":true,"type":"boolean"},"order_id":{"type":"integer"},"price_toman":{"type":"integer"},"queued":{"type":"boolean"}},"type":"object"}}},"description":"\u0633\u0641\u0627\u0631\u0634 \u0633\u0627\u062e\u062a\u0647 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062e\u0637\u0627\u06cc \u062f\u0631\u06af\u0627\u0647"}},"security":[{"BearerJWT":[]}],"summary":"\u062e\u0631\u06cc\u062f \u06cc\u0627 \u062a\u0645\u062f\u06cc\u062f \u0641\u0636\u0627","tags":["\u0641\u0636\u0627 \u0648 \u067e\u0631\u062f\u0627\u062e\u062a"]}},"/panel/api/v1/orders/{order_id}":{"get":{"description":"","operationId":"get_orders_order_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0633\u0641\u0627\u0631\u0634","in":"path","name":"order_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"order":{"properties":{"duration_days":{"type":"integer"},"gateway_message":{"type":["string","null"]},"id":{"type":"integer"},"kind":{"type":"string"},"paid_at":{"type":["string","null"]},"price_toman":{"type":"integer"},"size_bytes":{"type":"integer"},"status":{"type":"string"}},"type":"object"}},"type":"object"}}},"description":"\u0633\u0641\u0627\u0631\u0634"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0633\u0641\u0627\u0631\u0634 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u0648\u0636\u0639\u06cc\u062a \u0633\u0641\u0627\u0631\u0634","tags":["\u0641\u0636\u0627 \u0648 \u067e\u0631\u062f\u0627\u062e\u062a"]}},"/panel/api/v1/pages":{"get":{"description":"","operationId":"get_pages","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"pages":{"items":{"$ref":"#/components/schemas/Page"},"type":"array"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u0635\u0641\u062d\u0627\u062a \u0627\u062e\u062a\u0635\u0627\u0635\u06cc","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]},"post":{"description":"multipart/form-data. blocks_json \u0641\u0647\u0631\u0633\u062a\u06cc JSON \u0627\u0632 \u0628\u0644\u0648\u06a9\u200c\u0647\u0627\u0633\u062a: {\"type\":\"file\",\"file_id\":42,\"display_name\":\"...\"} \u06cc\u0627 {\"type\":\"text\",\"text\":\"...\"} \u2014 \u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0 \u0641\u0627\u06cc\u0644 \u0648 \u06f1\u06f0 \u0645\u062a\u0646.","operationId":"post_pages","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"allowed_phones":{"description":"\u0647\u0631 \u0634\u0645\u0627\u0631\u0647 \u062f\u0631 \u06cc\u06a9 \u062e\u0637 (\u0628\u0631\u0627\u06cc audience=specific)","type":"string"},"audience":{"enum":["public","specific"],"type":"string"},"bio":{"type":"string"},"blocks_json":{"type":"string"},"contact_email":{"type":"string"},"contact_phone":{"type":"string"},"is_public":{"enum":["1","0"],"type":"string"},"logo":{"format":"binary","type":"string"},"remove_logo":{"enum":["1"],"type":"string"},"slug":{"type":"string"},"theme":{"default":"sky","type":"string"},"title":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"page":{"$ref":"#/components/schemas/Page"}},"type":"object"}}},"description":"\u0633\u0627\u062e\u062a\u0647 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0648\u0631\u0648\u062f\u06cc \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0622\u062f\u0631\u0633 \u0631\u0632\u0631\u0648 \u0627\u0633\u062a"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0622\u062f\u0631\u0633 \u062a\u06a9\u0631\u0627\u0631\u06cc \u0627\u0633\u062a"}},"security":[{"BearerJWT":[]}],"summary":"\u0633\u0627\u062e\u062a \u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]}},"/panel/api/v1/pages/{page_id}":{"delete":{"description":"","operationId":"delete_pages_page_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0635\u0641\u062d\u0647","in":"path","name":"page_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u062d\u0630\u0641 \u0634\u062f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0635\u0641\u062d\u0647 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u062d\u0630\u0641 \u0635\u0641\u062d\u0647","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]},"get":{"description":"\u0634\u0627\u0645\u0644 \u0628\u0644\u0648\u06a9\u200c\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0648 \u0645\u062a\u0646.","operationId":"get_pages_page_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0635\u0641\u062d\u0647","in":"path","name":"page_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"page":{"$ref":"#/components/schemas/Page"}},"type":"object"}}},"description":"\u0635\u0641\u062d\u0647"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0635\u0641\u062d\u0647 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u062c\u0632\u0626\u06cc\u0627\u062a \u0635\u0641\u062d\u0647","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]},"post":{"description":"\u0647\u0645\u0627\u0646 \u0641\u06cc\u0644\u062f\u0647\u0627\u06cc \u0633\u0627\u062e\u062a \u0635\u0641\u062d\u0647.","operationId":"post_pages_page_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0635\u0641\u062d\u0647","in":"path","name":"page_id","required":true,"schema":{"type":"integer"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"blocks_json":{"type":"string"},"title":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"page":{"$ref":"#/components/schemas/Page"}},"type":"object"}}},"description":"\u0630\u062e\u06cc\u0631\u0647 \u0634\u062f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0635\u0641\u062d\u0647 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u0648\u06cc\u0631\u0627\u06cc\u0634 \u0635\u0641\u062d\u0647","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]}},"/panel/api/v1/pages/{page_id}/toggle":{"post":{"description":"","operationId":"post_pages_page_id_toggle","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0635\u0641\u062d\u0647","in":"path","name":"page_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"is_public":{"type":"boolean"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0627\u0646\u062c\u0627\u0645 \u0634\u062f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0635\u0641\u062d\u0647 \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"}},"security":[{"BearerJWT":[]}],"summary":"\u0641\u0639\u0627\u0644/\u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u06a9\u0631\u062f\u0646 \u0635\u0641\u062d\u0647","tags":["\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"]}},"/panel/api/v1/processing/jobs":{"get":{"description":"\u067e\u0631\u062f\u0627\u0632\u0634\u200c\u0647\u0627\u06cc \u06a9\u0627\u0631\u0628\u0631\u060c \u062c\u062f\u06cc\u062f\u062a\u0631\u06cc\u0646 \u0627\u0648\u0644.","operationId":"get_processing_jobs","parameters":[{"description":"queued\u060c running\u060c succeeded\u060c failed \u06cc\u0627 canceled","in":"query","name":"status","required":false,"schema":{"type":"string"}},{"description":"\u0641\u0642\u0637 \u067e\u0631\u062f\u0627\u0632\u0634\u200c\u0647\u0627\u06cc \u06cc\u06a9 \u0641\u0627\u06cc\u0644","in":"query","name":"file_id","required":false,"schema":{"type":"integer"}},{"description":"\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f1","in":"query","name":"page","required":false,"schema":{"type":"integer"}},{"description":"\u067e\u06cc\u0634\u200c\u0641\u0631\u0636 \u06f2\u06f0\u060c \u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0\u06f0","in":"query","name":"per_page","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"jobs":{"items":{"$ref":"#/components/schemas/Job"},"type":"array"},"ok":{"const":true,"type":"boolean"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"status \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u067e\u0631\u062f\u0627\u0632\u0634\u200c\u0647\u0627","tags":["\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"]}},"/panel/api/v1/processing/jobs/{job_id}":{"get":{"description":"\u062a\u0627 \u0648\u0642\u062a\u06cc status \u0628\u0631\u0627\u0628\u0631 queued \u06cc\u0627 running \u0627\u0633\u062a \u0647\u0631 \u06f2 \u062a\u0627 \u06f5 \u062b\u0627\u0646\u06cc\u0647 \u062f\u0648\u0628\u0627\u0631\u0647 \u0628\u062e\u0648\u0627\u0646\u06cc\u062f. progress (\u06f0 \u062a\u0627 \u06f1\u06f0\u06f0) \u0648 stage \u067e\u06cc\u0634\u0631\u0641\u062a \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u0646\u062f. \u062f\u0631 succeeded\u060c result \u0646\u062a\u06cc\u062c\u0647\u200c\u06cc \u0633\u0627\u062e\u062a\u0627\u0631\u06cc \u0648 outputs \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0633\u0627\u062e\u062a\u0647\u200c\u0634\u062f\u0647 (\u0628\u0627 download_url \u0642\u0627\u0628\u0644 \u062f\u0627\u0646\u0644\u0648\u062f \u0628\u0627 \u0647\u0645\u06cc\u0646 \u062a\u0648\u06a9\u0646) \u0627\u0633\u062a.","operationId":"get_processing_jobs_job_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u067e\u0631\u062f\u0627\u0632\u0634","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"job":{"$ref":"#/components/schemas/Job"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u067e\u0631\u062f\u0627\u0632\u0634"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u067e\u06cc\u062f\u0627 \u0646\u0634\u062f \u2014 code: job_not_found"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0648\u0636\u0639\u06cc\u062a \u0648 \u0646\u062a\u06cc\u062c\u0647\u200c\u06cc \u06cc\u06a9 \u067e\u0631\u062f\u0627\u0632\u0634","tags":["\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"]}},"/panel/api/v1/processing/jobs/{job_id}/cancel":{"post":{"description":"\u067e\u0631\u062f\u0627\u0632\u0634\u0650 \u062f\u0631 \u0635\u0641 \u0641\u0648\u0631\u0627\u064b \u0644\u063a\u0648 \u0645\u06cc\u200c\u0634\u0648\u062f\u061b \u067e\u0631\u062f\u0627\u0632\u0634\u0650 \u062f\u0631 \u062d\u0627\u0644 \u0627\u062c\u0631\u0627 \u062f\u0631 \u0627\u0648\u0644\u06cc\u0646 \u0645\u0631\u062d\u0644\u0647\u200c\u06cc \u0645\u0645\u06a9\u0646 \u0645\u062a\u0648\u0642\u0641 \u0648 \u0645\u0628\u0644\u063a\u0634 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.","operationId":"post_processing_jobs_job_id_cancel","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u067e\u0631\u062f\u0627\u0632\u0634","in":"path","name":"job_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"job":{"$ref":"#/components/schemas/Job"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0644\u063a\u0648 \u0634\u062f / \u062f\u0631\u062e\u0648\u0627\u0633\u062a \u0644\u063a\u0648 \u062b\u0628\u062a \u0634\u062f"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u067e\u06cc\u062f\u0627 \u0646\u0634\u062f"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u067e\u0631\u062f\u0627\u0632\u0634 \u062a\u0645\u0627\u0645 \u0634\u062f\u0647 \u2014 code: job_finished"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0644\u063a\u0648 \u067e\u0631\u062f\u0627\u0632\u0634","tags":["\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"]}},"/panel/api/v1/processing/operations":{"get":{"description":"\u0639\u0645\u0644\u06cc\u0627\u062a \u0641\u0639\u0627\u0644\u060c \u0646\u0648\u0639 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0645\u062c\u0627\u0632\u060c \u067e\u0627\u0631\u0627\u0645\u062a\u0631\u0647\u0627\u060c \u0642\u06cc\u0645\u062a \u062f\u0642\u06cc\u0642 \u0648 \u0645\u062d\u062f\u0648\u062f\u06cc\u062a\u200c\u0647\u0627 \u2014 \u0647\u0645\u06cc\u0634\u0647 \u0627\u0632 \u0647\u0645\u06cc\u0646 endpoint \u0628\u062e\u0648\u0627\u0646\u06cc\u062f (\u0642\u06cc\u0645\u062a\u200c\u0647\u0627 \u0627\u0632 \u067e\u0646\u0644 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0642\u0627\u0628\u0644 \u062a\u063a\u06cc\u06cc\u0631\u0646\u062f).","operationId":"get_processing_operations","parameters":[{"description":"\u0641\u0642\u0637 \u0639\u0645\u0644\u06cc\u0627\u062a \u06cc\u06a9 \u0646\u0648\u0639 \u0641\u0627\u06cc\u0644: image\u060c audio\u060c video \u06cc\u0627 document","in":"query","name":"file_kind","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"enabled":{"type":"boolean"},"limits":{"properties":{"free_jobs_per_day":{"type":"integer"},"max_active_jobs":{"type":"integer"},"max_document_characters":{"type":"integer"},"max_input_mb":{"type":"integer"},"max_media_minutes":{"type":"integer"},"video_convert_max_mb":{"type":"integer"},"video_convert_max_minutes":{"type":"integer"}},"type":"object"},"ok":{"const":true,"type":"boolean"},"operations":{"items":{"$ref":"#/components/schemas/Operation"},"type":"array"},"wallet_toman":{"type":"integer"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"file_kind \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]},{"SyncToken":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u0639\u0645\u0644\u06cc\u0627\u062a \u067e\u0631\u062f\u0627\u0632\u0634","tags":["\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"]}},"/panel/api/v1/storage-plans":{"get":{"description":"\u0645\u062d\u062f\u0648\u062f\u0647\u200c\u06cc \u0645\u062c\u0627\u0632 \u062d\u062c\u0645 \u0648 \u0645\u062f\u062a\u060c \u0648\u0636\u0639\u06cc\u062a \u067e\u0644\u0646 \u0641\u0639\u0644\u06cc\u060c \u0642\u06cc\u0645\u062a \u067e\u06cc\u0634\u200c\u0646\u0645\u0627\u06cc\u0634 (\u0628\u0627 size_bytes \u0648 duration_days) \u0648 \u062f\u0631\u06af\u0627\u0647\u200c\u0647\u0627\u06cc \u0641\u0639\u0627\u0644.","operationId":"get_storage-plans","parameters":[{"description":"\u062d\u062c\u0645 \u0628\u0631\u0627\u06cc \u067e\u06cc\u0634\u200c\u0646\u0645\u0627\u06cc\u0634 \u0642\u06cc\u0645\u062a","in":"query","name":"size_bytes","required":false,"schema":{"type":"integer"}},{"description":"\u0645\u062f\u062a \u0628\u0631\u0627\u06cc \u067e\u06cc\u0634\u200c\u0646\u0645\u0627\u06cc\u0634 \u0642\u06cc\u0645\u062a","in":"query","name":"duration_days","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"enabled_gateways":{"items":{"type":"string"},"type":"array"},"max_duration_days":{"type":"integer"},"max_storage_bytes":{"type":"integer"},"min_duration_days":{"type":"integer"},"min_storage_bytes":{"type":"integer"},"ok":{"const":true,"type":"boolean"},"payment_mode":{"type":"string"},"plan_active":{"type":"boolean"},"plan_expires_at":{"type":["string","null"]},"preview_price_toman":{"type":["integer","null"]},"renew_price_toman":{"type":["integer","null"]}},"type":"object"}}},"description":"\u0627\u0637\u0644\u0627\u0639\u0627\u062a"}},"security":[{"BearerJWT":[]}],"summary":"\u0642\u06cc\u0645\u062a \u0648 \u0645\u062d\u062f\u0648\u062f\u0647\u200c\u06cc \u062e\u0631\u06cc\u062f \u0641\u0636\u0627","tags":["\u0641\u0636\u0627 \u0648 \u067e\u0631\u062f\u0627\u062e\u062a"]}},"/panel/api/v1/sync/files":{"get":{"description":"\u0647\u0645\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627\u06cc \u0641\u0639\u0627\u0644 \u0628\u0627 \u0647\u0634 SHA-256 \u0628\u0631\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647\u200c\u06cc \u0645\u062d\u0644\u06cc \u0628\u062f\u0648\u0646 \u062f\u0627\u0646\u0644\u0648\u062f.","operationId":"get_sync_files","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"files":{"items":{"properties":{"content_sha256":{"type":["string","null"]},"id":{"type":"integer"},"is_encrypted":{"type":"boolean"},"original_name":{"type":"string"},"size_bytes":{"type":"integer"},"uploaded_at":{"type":"string"}},"type":"object"},"type":"array"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0641\u0647\u0631\u0633\u062a"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"SyncToken":[]}],"summary":"\u0641\u0647\u0631\u0633\u062a \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc","tags":["\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e"]}},"/panel/api/v1/sync/files/{file_id}":{"delete":{"description":"\u062d\u0630\u0641 \u0646\u0631\u0645 \u2014 \u0641\u0627\u06cc\u0644 \u0628\u0647 \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a \u0645\u06cc\u200c\u0631\u0648\u062f \u0648 \u0642\u0627\u0628\u0644 \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u06cc \u0627\u0633\u062a.","operationId":"delete_sync_files_file_id","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"msg":{"type":"string"},"ok":{"const":true,"type":"boolean"}},"type":"object"}}},"description":"\u0628\u0647 \u0633\u0637\u0644 \u0628\u0627\u0632\u06cc\u0627\u0641\u062a \u0631\u0641\u062a"}},"security":[{"SyncToken":[]}],"summary":"\u062d\u0630\u0641 \u0627\u0632 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc","tags":["\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e"]}},"/panel/api/v1/sync/files/{file_id}/download":{"get":{"description":"\u0645\u062b\u0644 \u062f\u0627\u0646\u0644\u0648\u062f \u0641\u0627\u06cc\u0644: 302 \u0628\u0647 \u0644\u06cc\u0646\u06a9 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644\u061b \u0628\u0627 via=panel \u06cc\u0627 \u0647\u0646\u06af\u0627\u0645 \u0642\u0637\u0639\u06cc\u060c stream \u0627\u0632 \u067e\u0646\u0644.","operationId":"get_sync_files_file_id_download","parameters":[{"description":"\u0634\u0646\u0627\u0633\u0647\u200c\u06cc \u0641\u0627\u06cc\u0644","in":"path","name":"file_id","required":true,"schema":{"type":"integer"}},{"description":"panel = \u0627\u062c\u0628\u0627\u0631 \u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646","in":"query","name":"via","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/octet-stream":{"schema":{"format":"binary","type":"string"}}},"description":"\u0645\u062d\u062a\u0648\u0627\u06cc \u0641\u0627\u06cc\u0644"},"302":{"content":{"application/json":{"schema":{"properties":{},"type":"object"}}},"description":"\u0627\u0646\u062a\u0642\u0627\u0644 \u0628\u0647 \u0644\u06cc\u0646\u06a9 \u062f\u0627\u0646\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u067e\u06cc\u062f\u0627 \u0646\u0634\u062f"}},"security":[{"SyncToken":[]}],"summary":"\u062f\u0627\u0646\u0644\u0648\u062f \u0628\u0631\u0627\u06cc \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc","tags":["\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e"]}},"/panel/api/v1/sync/upload":{"post":{"description":"\u0645\u0633\u06cc\u0631 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 (\u062d\u062f\u0627\u06a9\u062b\u0631 \u06f1\u06f0\u06f0 \u0645\u06af\u0627\u0628\u0627\u06cc\u062a). multipart (\u0641\u06cc\u0644\u062f file). \u0641\u0627\u06cc\u0644 \u0647\u0645\u200c\u0646\u0627\u0645 \u0645\u0648\u062c\u0648\u062f \u0646\u0633\u062e\u0647\u200c\u062f\u0627\u0631 \u0628\u0647\u200c\u0631\u0648\u0632 \u0645\u06cc\u200c\u0634\u0648\u062f\u061b \u0627\u06af\u0631 \u0645\u062d\u062a\u0648\u0627 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u0646\u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u062f unchanged=true \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u0627\u0648\u0644\u0648\u06cc\u062a \u0627\u0648\u0644: /uploads/authorize \u0628\u0627 purpose=sync.","operationId":"post_sync_upload","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"format":"binary","type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"id":{"type":"integer"},"ok":{"const":true,"type":"boolean"},"unchanged":{"type":"boolean"}},"type":"object"}}},"description":"\u0630\u062e\u06cc\u0631\u0647 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u06cc\u0627 \u0641\u0636\u0627 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"SyncToken":[]}],"summary":"\u0622\u067e\u0644\u0648\u062f/\u0628\u0647\u200c\u0631\u0648\u0632\u0631\u0633\u0627\u0646\u06cc \u0627\u0632 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc","tags":["\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e"]}},"/panel/api/v1/uploads/authorize":{"post":{"description":"\u0642\u062f\u0645 \u0627\u0648\u0644 \u0622\u067e\u0644\u0648\u062f. \u067e\u0627\u0633\u062e \u0634\u0627\u0645\u0644 upload.url (\u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644) \u0648 upload.headers \u0627\u0633\u062a. \u0642\u062f\u0645 \u062f\u0648\u0645 \u2014 \u0628\u062f\u0648\u0646 \u062a\u0648\u06a9\u0646 Bearer: POST {upload.url} \u0628\u0647\u200c\u0635\u0648\u0631\u062a multipart \u0628\u0627 \u0641\u06cc\u0644\u062f file \u0648 \u0647\u062f\u0631 X-Upload-Token\u061b \u067e\u0627\u0633\u062e \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 {ok, size, sha256, receipt} \u0627\u0633\u062a. \u0642\u062f\u0645 \u0633\u0648\u0645: \u0647\u0645\u06cc\u0646 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0631\u0627 \u0628\u0647 /uploads/confirm \u0628\u0641\u0631\u0633\u062a\u06cc\u062f.\n\npurpose: \u0628\u0627 \u062a\u0648\u06a9\u0646 \u0627\u067e files (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636) \u06cc\u0627 sync\u061b \u0628\u0627 \u062a\u0648\u06a9\u0646 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc sync (\u067e\u06cc\u0634\u200c\u0641\u0631\u0636) \u06cc\u0627 files\u061b \u0628\u0627 \u062a\u0648\u06a9\u0646 \u0628\u06a9\u0627\u067e \u0641\u0642\u0637 backup. \u062f\u0631 sync \u0627\u06af\u0631 sha256 \u0628\u0641\u0631\u0633\u062a\u06cc\u062f \u0648 \u0645\u062d\u062a\u0648\u0627 \u062a\u063a\u06cc\u06cc\u0631\u06cc \u0646\u06a9\u0631\u062f\u0647 \u0628\u0627\u0634\u062f unchanged=true \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f. \u0627\u06af\u0631 \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u0628\u0627\u0634\u062f 503 \u0628\u0627 code=direct_unavailable \u0648 \u0641\u06cc\u0644\u062f fallback (\u0645\u0633\u06cc\u0631 \u0642\u062f\u06cc\u0645\u06cc) \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u062f.","operationId":"post_uploads_authorize","requestBody":{"content":{"application/json":{"example":{"filename":"\u06af\u0632\u0627\u0631\u0634.pdf","purpose":"files","size":734003200},"schema":{"properties":{"filename":{"type":"string"},"purpose":{"enum":["files","sync","backup"],"type":"string"},"sha256":{"description":"\u0627\u062e\u062a\u06cc\u0627\u0631\u06cc \u2014 \u0628\u0631\u0627\u06cc \u062a\u0634\u062e\u06cc\u0635 \u0628\u062f\u0648\u0646 \u062a\u063a\u06cc\u06cc\u0631 \u062f\u0631 sync","type":"string"},"size":{"description":"\u0628\u0627\u06cc\u062a","type":"integer"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectUpload"}}},"description":"\u0645\u062c\u0648\u0632 \u0635\u0627\u062f\u0631 \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062d\u062c\u0645 \u0646\u0627\u0645\u0639\u062a\u0628\u0631 \u06cc\u0627 \u0641\u0636\u0627\u06cc \u0646\u0627\u06a9\u0627\u0641\u06cc (quota_exceeded)"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"purpose \u0628\u0631\u0627\u06cc \u0627\u06cc\u0646 \u062a\u0648\u06a9\u0646 \u0645\u062c\u0627\u0632 \u0646\u06cc\u0633\u062a"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0645\u0633\u06cc\u0631 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0645\u0648\u0642\u062a\u0627\u064b \u062f\u0631 \u062f\u0633\u062a\u0631\u0633 \u0646\u06cc\u0633\u062a \u2014 \u0627\u0632 fallback \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f"}},"security":[{"BearerJWT":[]},{"SyncToken":[]},{"BackupToken":[]}],"summary":"\u06f1) \u0645\u062c\u0648\u0632 \u0622\u067e\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645","tags":["\u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645 (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc)"]}},"/panel/api/v1/uploads/confirm":{"post":{"description":"\u0628\u0639\u062f \u0627\u0632 \u067e\u0627\u0633\u062e \u0645\u0648\u0641\u0642 \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644. size/sha256/receipt \u0631\u0627 \u0639\u06cc\u0646\u0627\u064b \u0627\u0632 \u067e\u0627\u0633\u062e \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 \u0628\u0641\u0631\u0633\u062a\u06cc\u062f (\u0631\u0633\u06cc\u062f \u0627\u0645\u0636\u0627\u0634\u062f\u0647 \u2014 \u0647\u0634 \u0628\u062f\u0648\u0646 \u062f\u0627\u0646\u0644\u0648\u062f \u062f\u0648\u0628\u0627\u0631\u0647 \u062b\u0628\u062a \u0645\u06cc\u200c\u0634\u0648\u062f). \u062a\u06a9\u0631\u0627\u0631 \u0627\u0645\u0646 \u0627\u0633\u062a: confirm \u062f\u0648\u0628\u0627\u0631\u0647 \u0647\u0645\u0627\u0646 \u0641\u0627\u06cc\u0644 \u0631\u0627 \u0628\u0627 already_confirmed=true \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f. \u062a\u0648\u06a9\u0646 \u062a\u0627 \u06f2\u06f4 \u0633\u0627\u0639\u062a \u0628\u0639\u062f \u0627\u0632 \u0627\u0646\u0642\u0636\u0627 \u0628\u0631\u0627\u06cc confirm \u067e\u0630\u06cc\u0631\u0641\u062a\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f.","operationId":"post_uploads_confirm","requestBody":{"content":{"application/json":{"schema":{"properties":{"filename":{"type":"string"},"is_encrypted":{"type":"boolean"},"mime_type":{"type":"string"},"purpose":{"enum":["files","sync","backup"],"type":"string"},"receipt":{"type":"string"},"sha256":{"type":"string"},"size":{"type":"integer"},"token":{"type":"string"},"upload_id":{"type":"string"}},"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"already_confirmed":{"type":"boolean"},"file":{"$ref":"#/components/schemas/File"},"id":{"type":"integer"},"ok":{"const":true,"type":"boolean"},"replaced":{"type":"boolean"}},"type":"object"}}},"description":"\u062b\u0628\u062a \u0634\u062f"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0636\u0627\u06cc \u0646\u0627\u06a9\u0627\u0641\u06cc (\u0641\u0627\u06cc\u0644 \u0622\u067e\u0644\u0648\u062f\u0634\u062f\u0647 \u067e\u0627\u06a9 \u0645\u06cc\u200c\u0634\u0648\u062f)"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0622\u067e\u0644\u0648\u062f \u0646\u0627\u0645\u0639\u062a\u0628\u0631"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u0641\u0627\u06cc\u0644 \u0631\u0648\u06cc \u0633\u0631\u0648\u0631 \u067e\u06cc\u062f\u0627 \u0646\u0634\u062f (upload_not_found)"}},"security":[{"BearerJWT":[]},{"SyncToken":[]},{"BackupToken":[]}],"summary":"\u06f2) \u062b\u0628\u062a \u0646\u0647\u0627\u06cc\u06cc \u0622\u067e\u0644\u0648\u062f \u0645\u0633\u062a\u0642\u06cc\u0645","tags":["\u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645 (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc)"]}},"/panel/api/v1/user/profile":{"get":{"description":"\u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062d\u0633\u0627\u0628 \u0648 \u0648\u0636\u0639\u06cc\u062a \u0641\u0636\u0627\u06cc \u0630\u062e\u06cc\u0631\u0647\u200c\u0633\u0627\u0632\u06cc.","operationId":"get_user_profile","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"ok":{"const":true,"type":"boolean"},"user":{"properties":{"email":{"type":["string","null"]},"id":{"type":"integer"},"phone":{"type":"string"},"storage_free_gb":{"type":"integer"},"storage_limit_gb":{"type":"integer"},"storage_used_gb":{"type":"integer"}},"type":"object"}},"type":"object"}}},"description":"\u067e\u0631\u0648\u0641\u0627\u06cc\u0644"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u062a\u0648\u06a9\u0646 \u0646\u0627\u0645\u0639\u062a\u0628\u0631"}},"security":[{"BearerJWT":[]}],"summary":"\u067e\u0631\u0648\u0641\u0627\u06cc\u0644 \u06a9\u0627\u0631\u0628\u0631","tags":["\u062d\u0633\u0627\u0628 \u0648 \u062f\u0627\u0634\u0628\u0648\u0631\u062f"]}}},"servers":[{"url":"https://www.nabeghefile.ir"}],"tags":[{"description":"\u0648\u0631\u0648\u062f \u0628\u062f\u0648\u0646 \u0631\u0645\u0632 \u0628\u0627 \u06a9\u062f \u06cc\u06a9\u200c\u0628\u0627\u0631\u0645\u0635\u0631\u0641 \u0648 \u062f\u0631\u06cc\u0627\u0641\u062a \u062a\u0648\u06a9\u0646 JWT.","name":"\u0627\u062d\u0631\u0627\u0632 \u0647\u0648\u06cc\u062a"},{"description":"\u0627\u0648\u0644\u0648\u06cc\u062a \u0627\u0648\u0644 \u0622\u067e\u0644\u0648\u062f \u0648 \u062f\u0627\u0646\u0644\u0648\u062f: \u0628\u0627\u06cc\u062a\u200c\u0647\u0627\u06cc \u0641\u0627\u06cc\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645 \u0628\u0627 \u0633\u0631\u0648\u0631 \u0627\u0646\u062a\u0642\u0627\u0644 (\u0631\u0644\u0647) \u062c\u0627\u0628\u0647\u200c\u062c\u0627 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u2014 \u0628\u062f\u0648\u0646 \u0639\u0628\u0648\u0631 \u0627\u0632 Cloudflare \u0648 \u067e\u0646\u0644\u060c \u0628\u062f\u0648\u0646 \u0633\u0642\u0641 \u06f1\u06f0\u06f0 \u0645\u06af\u0627\u0628\u0627\u06cc\u062a\u06cc \u0647\u0631 \u062f\u0631\u062e\u0648\u0627\u0633\u062a\u060c \u0628\u0627 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646\u06cc \u0627\u0632 Range/\u0627\u062f\u0627\u0645\u0647\u200c\u06cc \u062f\u0627\u0646\u0644\u0648\u062f. \u0645\u0633\u06cc\u0631\u0647\u0627\u06cc \u0642\u062f\u06cc\u0645\u06cc \u0622\u067e\u0644\u0648\u062f \u0628\u0647\u200c\u0639\u0646\u0648\u0627\u0646 \u067e\u0634\u062a\u06cc\u0628\u0627\u0646 \u0628\u0627\u0642\u06cc \u0647\u0633\u062a\u0646\u062f.","name":"\u0627\u0646\u062a\u0642\u0627\u0644 \u0645\u0633\u062a\u0642\u06cc\u0645 (\u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc)"},{"description":"\u067e\u0631\u0648\u0641\u0627\u06cc\u0644\u060c \u0622\u0645\u0627\u0631 \u06a9\u0644\u06cc \u0648 \u0648\u0636\u0639\u06cc\u062a \u0641\u0636\u0627.","name":"\u062d\u0633\u0627\u0628 \u0648 \u062f\u0627\u0634\u0628\u0648\u0631\u062f"},{"description":"\u0641\u0647\u0631\u0633\u062a\u060c \u062c\u0633\u062a\u200c\u0648\u062c\u0648\u06cc \u062a\u0645\u0627\u0645\u200c\u0645\u062a\u0646\u060c \u0622\u067e\u0644\u0648\u062f\u060c \u062f\u0627\u0646\u0644\u0648\u062f \u0648 \u062d\u0630\u0641 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627.","name":"\u0641\u0627\u06cc\u0644\u200c\u0647\u0627"},{"description":"\u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc \u0648 \u0627\u0628\u0632\u0627\u0631\u0647\u0627\u06cc \u0631\u0633\u0627\u0646\u0647\u200c\u0627\u06cc \u0631\u0648\u06cc \u0641\u0627\u06cc\u0644\u200c\u0647\u0627: \u06af\u0641\u062a\u0627\u0631 \u0628\u0647 \u0645\u062a\u0646 \u0648 \u0632\u06cc\u0631\u0646\u0648\u06cc\u0633\u060c \u062a\u0648\u0635\u06cc\u0641 \u0648 OCR \u062a\u0635\u0648\u06cc\u0631\u060c \u062e\u0644\u0627\u0635\u0647 \u0648 \u062a\u0631\u062c\u0645\u0647\u200c\u06cc \u0627\u0633\u0646\u0627\u062f\u060c \u062a\u0628\u062f\u06cc\u0644 \u0648 \u0641\u0634\u0631\u062f\u0647\u200c\u0633\u0627\u0632\u06cc.","name":"\u067e\u0631\u062f\u0627\u0632\u0634 \u0647\u0648\u0634\u0645\u0646\u062f"},{"description":"\u0645\u0648\u062c\u0648\u062f\u06cc \u0648 \u0631\u06cc\u0632 \u062a\u0631\u0627\u06a9\u0646\u0634\u200c\u0647\u0627\u06cc \u06a9\u06cc\u0641\u200c\u067e\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc.","name":"\u06a9\u06cc\u0641\u200c\u067e\u0648\u0644 \u0647\u0648\u0634 \u0645\u0635\u0646\u0648\u0639\u06cc"},{"description":"\u0633\u0627\u062e\u062a \u0648 \u0645\u062f\u06cc\u0631\u06cc\u062a \u0644\u06cc\u0646\u06a9 \u06a9\u0648\u062a\u0627\u0647\u060c \u0631\u0645\u0632\u0646\u06af\u0627\u0631\u06cc\u200c\u0634\u062f\u0647 \u0648 \u0627\u062e\u062a\u0635\u0627\u0635\u06cc.","name":"\u0644\u06cc\u0646\u06a9\u200c\u0647\u0627\u06cc \u062f\u0627\u0646\u0644\u0648\u062f"},{"description":"\u0635\u0641\u062d\u0647\u200c\u06cc \u0639\u0645\u0648\u0645\u06cc \u0634\u062e\u0635\u06cc \u0628\u0627 \u0641\u0627\u06cc\u0644\u200c\u0647\u0627 \u0648 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a.","name":"\u0635\u0641\u062d\u0647\u200c\u06cc \u0627\u062e\u062a\u0635\u0627\u0635\u06cc"},{"description":"\u0642\u06cc\u0645\u062a\u060c \u062e\u0631\u06cc\u062f \u0648 \u062a\u0645\u062f\u06cc\u062f \u0641\u0636\u0627\u06cc \u0627\u0628\u0631\u06cc.","name":"\u0641\u0636\u0627 \u0648 \u067e\u0631\u062f\u0627\u062e\u062a"},{"description":"API \u0627\u0628\u0632\u0627\u0631 \u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u067e\u0648\u0634\u0647\u200c\u06cc \u06a9\u0627\u0645\u067e\u06cc\u0648\u062a\u0631 \u0628\u0627 \u0646\u0627\u0628\u063a\u0647 \u0641\u0627\u06cc\u0644.","name":"\u0647\u0645\u06af\u0627\u0645\u200c\u0633\u0627\u0632\u06cc \u062f\u0633\u06a9\u062a\u0627\u067e"},{"description":"\u0622\u067e\u0644\u0648\u062f \u0628\u06a9\u0627\u067e \u0627\u0632 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0632\u0645\u0627\u0646\u200c\u0628\u0646\u062f\u06cc\u200c\u0634\u062f\u0647\u200c\u06cc \u0633\u0631\u0648\u0631 \u0634\u0645\u0627.","name":"\u0628\u06a9\u0627\u067e \u062e\u0648\u062f\u06a9\u0627\u0631"}]}
