{"items":[{"type":"link","label":"Cloud Storage Local API","link":"/vi/api-reference/cloud-storage/local-api","routeSlug":"/vi/api-reference/cloud-storage/local-api","content":{"contentType":"overview","meta":{"name":"Cloud Storage Local API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"local-api.json","url":"/_bundle/@l10n/vi/API Reference/Cloud Storage/local-api.json?download"},{"kind":"download","label":"local-api.yaml","url":"/_bundle/@l10n/vi/API Reference/Cloud Storage/local-api.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"http://127.0.0.1:40000"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Cloud Storage Local API (2026-09-05)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Quản lý tệp, lượt tải lên, lượt xóa và thẻ tệp của cloud storage MoreLogin thông qua MoreLogin Local API."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"URL cơ sở"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"http://127.0.0.1:40000"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các đường dẫn của Local API dùng tiền tố "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/api"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"sectionId":"/vi/api-reference/cloud-storage/local-api"}],"sectionId":"/vi/api-reference/cloud-storage/local-api"}]}]}},{"type":"separator","label":"Cloud Storage","content":null},{"type":"group","label":"Cloud Storage","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage","items":[{"label":"Truy vấn thông tin lưu trữ đám mây","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage/querycloudstorageinfolocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage/querycloudstorageinfolocal","metadata":{"seo":{"title":"Truy vấn thông tin lưu trữ đám mây","description":"Trả về hạn mức cloud storage của nhóm và mức sử dụng hiện tại."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"queryCloudStorageInfoLocal","name":"Truy vấn thông tin lưu trữ đám mây","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1info/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Truy vấn thông tin lưu trữ đám mây","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Trả về hạn mức cloud storage của nhóm và mức sử dụng hiện tại."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": nhóm phải đã có bản ghi cloud storage. "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Một nhóm chưa từng được cấp cloud storage sẽ nhận về lỗi, không phải giá trị dung lượng bằng 0"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — bản ghi được tạo khi mua dung lượng, không phải được tạo trễ bởi lệnh gọi này."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": không có. Chỉ đọc. An toàn khi thử lại với thời gian chờ tăng dần có giới hạn."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Đơn vị"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"capacity"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" và "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"usedCapacity"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" là số byte."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Độ chính xác"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"usedCapacity"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" là một bộ đếm tích lũy được cập nhật khi tải lên và khi xóa, không phải một phép tổng tính trực tiếp trên bảng tệp, nên nó có thể lệch so với tổng "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fileSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" trong "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/file/page"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Giá trị"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"capacityStatus"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" chỉ bằng "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"1"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" khi một hạn mức dương đã bị dùng hết; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"isExpired"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" so sánh ngày hết hạn với thời điểm hiện tại. Những tệp chưa từng được xác nhận tải lên không được tính vào "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"usedCapacity"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39001"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/cloudstorage/info","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/cloudstorage/info","href":"cloud-storage/querycloudstorageinfolocal","openApiOperationId":"queryCloudStorageInfoLocal","summary":"Truy vấn thông tin lưu trữ đám mây"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4209"}},"schemaId":"schema_4209"}],"pointer":"/paths/~1api~1cloudstorage~1info/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4209","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4209"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage/querycloudstorageinfolocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/info"}],"content":{"contentType":"group","meta":{"name":"Cloud Storage"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cloud Storage","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Truy vấn hạn mức và mức sử dụng lưu trữ"},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/cloudstorage/info","summary":"Truy vấn thông tin lưu trữ đám mây","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cloud-storage/querycloudstorageinfolocal","deprecated":false}]}]}]}]}},{"type":"group","label":"Cloud Storage Files","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files","items":[{"label":"Phân trang tệp trên lưu trữ đám mây","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/pagecloudstoragefileslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/pagecloudstoragefileslocal","metadata":{"seo":{"title":"Phân trang tệp trên lưu trữ đám mây","description":"Liệt kê theo trang các tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"pageCloudStorageFilesLocal","name":"Phân trang tệp trên lưu trữ đám mây","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1file~1page/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Phân trang tệp trên lưu trữ đám mây","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Liệt kê theo trang các tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": không có. Chỉ đọc. An toàn khi thử lại với thời gian chờ tăng dần có giới hạn."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Khả năng nhìn thấy"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"chỉ những tệp đã xác nhận tải lên mới được liệt kê"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" — một tệp có URL đã ký trước nhưng chưa bao giờ hoàn tất sẽ không xuất hiện. Thành viên không có quyền xem toàn bộ dữ liệu chỉ thấy những tệp do chính mình tải lên."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bộ lọc"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fileName"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" khớp một phần; "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagIds"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" khớp theo logic HOẶC; kết quả được sắp từ mới đến cũ và không thể đổi thứ tự này."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lưu ý"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": một phần tử trong "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagInfo"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" có thể bằng null khi một thẻ bị xóa trong lúc vẫn còn gắn với tệp."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FilePageRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/FilePageRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1file~1page/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/file/page","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/FilePageRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/file/page","href":"cloud-storage-files/pagecloudstoragefileslocal","openApiOperationId":"pageCloudStorageFilesLocal","summary":"Phân trang tệp trên lưu trữ đám mây"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/FilePageRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FilePageRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4210"}},"schemaId":"schema_4210"}],"pointer":"/paths/~1api~1cloudstorage~1file~1page/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4210","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4210"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-files/pagecloudstoragefileslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/file/page"},{"label":"Yêu cầu URL tải lên có ký trước theo lô","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/batchrequestcloudstoragepresigneduploadurlslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/batchrequestcloudstoragepresigneduploadurlslocal","metadata":{"seo":{"title":"Yêu cầu URL tải lên có ký trước theo lô","description":"Đặt trước các bản ghi cloud storage và lấy URL tải lên đã ký trước."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"batchRequestCloudStoragePresignedUploadUrlsLocal","name":"Yêu cầu URL tải lên có ký trước theo lô","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1upload~1init/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Yêu cầu URL tải lên có ký trước theo lô","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Đặt trước các bản ghi cloud storage và lấy URL tải lên đã ký trước."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": nhóm phải có bản ghi cloud storage và bản ghi đó không được hết hạn. Phần tên cơ sở của mỗi tệp giới hạn 60 ký tự và phải là duy nhất cả trong phạm vi yêu cầu lẫn so với mọi tệp đang có của nhóm — "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"việc đối chiếu dựa trên tên không kèm phần mở rộng"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", nên "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"a.png"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" sẽ xung đột với "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"a.mp4"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" đã tồn tại."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Giới hạn"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": toàn nhóm chỉ được có tối đa 100 lượt tải lên chưa xác nhận cùng lúc."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": chèn một bản ghi cho mỗi tên tệp với trạng thái đang tải lên và kích thước 0, rồi trả về "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"{id, fileName, presignedUrl}"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" cho từng tệp."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hạn mức"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"dung lượng không được kiểm tra ở bước này."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Nó bị trừ khi bạn xác nhận lượt tải lên, nên init có thể thành công mà complete vẫn thất bại vì hết dung lượng."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ. "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Mỗi URL đã ký trước có hiệu lực trong một giờ"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"; hãy "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"PUT"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" dữ liệu tệp lên đó, sau đó gọi "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/upload/complete"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39001"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39037"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39044"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39045"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39047"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39050"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39051"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UploadInitRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/UploadInitRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1upload~1init/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/upload/init","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UploadInitRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/upload/init","href":"cloud-storage-files/batchrequestcloudstoragepresigneduploadurlslocal","openApiOperationId":"batchRequestCloudStoragePresignedUploadUrlsLocal","summary":"Yêu cầu URL tải lên có ký trước theo lô"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/UploadInitRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UploadInitRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4211"}},"schemaId":"schema_4211"}],"pointer":"/paths/~1api~1cloudstorage~1upload~1init/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4211","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4211"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-files/batchrequestcloudstoragepresigneduploadurlslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/upload/init"},{"label":"Xác nhận hoàn tất tải lên","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/confirmcloudstorageuploadcompletelocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/confirmcloudstorageuploadcompletelocal","metadata":{"seo":{"title":"Xác nhận hoàn tất tải lên","description":"Xác nhận một tệp cloud storage đã được tải lên."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"confirmCloudStorageUploadCompleteLocal","name":"Xác nhận hoàn tất tải lên","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1upload~1complete/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Xác nhận hoàn tất tải lên","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Xác nhận một tệp cloud storage đã được tải lên."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": bản ghi tệp phải thuộc nhóm của bạn và đối tượng phải đã nằm trong bộ lưu trữ — dịch vụ đọc ETag và độ dài của nó để kiểm chứng. Kích thước phải lớn hơn 0 và nhỏ hơn 2 GB."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": trừ hạn mức lưu trữ của nhóm một cách nguyên tử, rồi đánh dấu bản ghi là đã tải lên và lưu kích thước thật. Cho đến khi việc này thành công, tệp "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"không xuất hiện trong "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/file/page"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" và vẫn chiếm một trong 100 suất chờ xác nhận."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Khi thất bại, đối tượng đã tải lên sẽ bị xóa."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" Gọi quá sớm, vượt giới hạn kích thước, hay không còn dung lượng đều khiến dữ liệu bị xóa khỏi bộ lưu trữ và bản ghi ở lại trạng thái chưa xác nhận. Cách khắc phục là "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/upload/init"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" mới rồi tải lên lại, không phải thử lại lệnh gọi này."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ và idempotent sau khi đã thành công — lần gọi thứ hai trả về cùng tệp mà không trừ hạn mức thêm lần nữa."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lưu ý"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": bản ghi không bao giờ được xác nhận sẽ tự động được dọn sau 24 giờ."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39001"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39011"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39014"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39041"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39046"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39047"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UploadCompleteRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/UploadCompleteRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1upload~1complete/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/upload/complete","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/UploadCompleteRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/upload/complete","href":"cloud-storage-files/confirmcloudstorageuploadcompletelocal","openApiOperationId":"confirmCloudStorageUploadCompleteLocal","summary":"Xác nhận hoàn tất tải lên"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/UploadCompleteRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/UploadCompleteRequest","exampleIds":["paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4212"}},"schemaId":"schema_4212"}],"pointer":"/paths/~1api~1cloudstorage~1upload~1complete/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4212","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4212"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-files/confirmcloudstorageuploadcompletelocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/upload/complete"},{"label":"Xóa tệp trên lưu trữ đám mây theo lô","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/batchdeletecloudstoragefileslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-files/batchdeletecloudstoragefileslocal","metadata":{"seo":{"title":"Xóa tệp trên lưu trữ đám mây theo lô","description":"Xóa các tệp Cloud Storage theo ID."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"batchDeleteCloudStorageFilesLocal","name":"Xóa tệp trên lưu trữ đám mây theo lô","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1file~1delete~1batch/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Xóa tệp trên lưu trữ đám mây theo lô","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Xóa các tệp Cloud Storage theo ID."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": mọi ID phải tra cứu được trong nhóm của bạn; "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"nếu chỉ một ID không tra cứu được thì cả lô bị từ chối và hoàn tác"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", kể cả những ID đã bị xóa trước đó."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đây là xóa mềm. Dung lượng được giải phóng trong cùng một giao dịch, và các đối tượng đã lưu được xóa theo cơ chế nỗ lực tối đa — lỗi phía lưu trữ được ghi log nhưng không làm lệnh gọi thất bại, nên một đối tượng có thể tồn tại lâu hơn bản ghi của nó. Các liên kết thẻ không được dọn dẹp."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ. Hãy xác nhận dung lượng đã giải phóng bằng "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/info"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39011"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/FileDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/file/delete/batch","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/FileDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/file/delete/batch","href":"cloud-storage-files/batchdeletecloudstoragefileslocal","openApiOperationId":"batchDeleteCloudStorageFilesLocal","summary":"Xóa tệp trên lưu trữ đám mây theo lô"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/FileDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}},"schemaId":"schema_4213"}],"pointer":"/paths/~1api~1cloudstorage~1file~1delete~1batch/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4213","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-files/batchdeletecloudstoragefileslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/file/delete/batch"}],"content":{"contentType":"group","meta":{"name":"Cloud Storage Files"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cloud Storage Files","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Truy vấn, tải lên và xóa tệp trên lưu trữ đám mây"},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/cloudstorage/file/page","summary":"Phân trang tệp trên lưu trữ đám mây","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-files/pagecloudstoragefileslocal","deprecated":false},{"title":"/api/cloudstorage/upload/init","summary":"Yêu cầu URL tải lên có ký trước theo lô","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-files/batchrequestcloudstoragepresigneduploadurlslocal","deprecated":false},{"title":"/api/cloudstorage/upload/complete","summary":"Xác nhận hoàn tất tải lên","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-files/confirmcloudstorageuploadcompletelocal","deprecated":false},{"title":"/api/cloudstorage/file/delete/batch","summary":"Xóa tệp trên lưu trữ đám mây theo lô","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-files/batchdeletecloudstoragefileslocal","deprecated":false}]}]}]}]}},{"type":"group","label":"Cloud Storage File Tags","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags","items":[{"label":"Đặt thẻ cho tệp","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/setcloudstoragefiletagslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/setcloudstoragefiletagslocal","metadata":{"seo":{"title":"Đặt thẻ cho tệp","description":"Thay thế toàn bộ thẻ của một tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"setCloudStorageFileTagsLocal","name":"Đặt thẻ cho tệp","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1set/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Đặt thẻ cho tệp","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thay thế toàn bộ thẻ của một tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": mỗi lần gọi một "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fileId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", và "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagIds"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" không được rỗng và phải tham chiếu tới các thẻ Cloud Storage thuộc nhóm của bạn. Thẻ của profile trình duyệt sẽ bị từ chối."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": các thẻ không có trong yêu cầu sẽ bị bỏ khỏi tệp và những thẻ còn thiếu sẽ được thêm vào. "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ở đây không có cách nào bỏ hết thẻ"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" vì danh sách rỗng bị từ chối."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ và idempotent với cùng một request body."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39011"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39048"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39049"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/file/tag/set","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/file/tag/set","href":"cloud-storage-file-tags/setcloudstoragefiletagslocal","openApiOperationId":"setCloudStorageFileTagsLocal","summary":"Đặt thẻ cho tệp"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}},"schemaId":"schema_4213"}],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1set/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4213","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/setcloudstoragefiletagslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/file/tag/set"},{"label":"Thêm thẻ cho tệp","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/addcloudstoragefiletagslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/addcloudstoragefiletagslocal","metadata":{"seo":{"title":"Thêm thẻ cho tệp","description":"Thêm thẻ cho một tệp Cloud Storage mà không bỏ các thẻ hiện có."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"addCloudStorageFileTagsLocal","name":"Thêm thẻ cho tệp","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1add/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Thêm thẻ cho tệp","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thêm thẻ cho một tệp Cloud Storage mà không bỏ các thẻ hiện có."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": mỗi lần gọi một "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fileId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", và "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagIds"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" không được rỗng và phải tham chiếu tới các thẻ Cloud Storage thuộc nhóm của bạn."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": chỉ thêm; các thẻ hiện có được giữ nguyên. Dùng biến thể thay thế nếu bạn muốn thay hết."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ và idempotent — thêm một thẻ mà tệp đã có thì không thay đổi gì."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Các mã lỗi nghiệp vụ đã ghi nhận: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39011"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39048"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"39049"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Xem "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/vi/api-reference/getting-started/error-codes"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Error Codes"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" để biết ý nghĩa từng mã. Mọi thao tác cũng có thể trả về các mã dùng chung."},"children":[]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/file/tag/add","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/file/tag/add","href":"cloud-storage-file-tags/addcloudstoragefiletagslocal","openApiOperationId":"addCloudStorageFileTagsLocal","summary":"Thêm thẻ cho tệp"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagChangeRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}},"schemaId":"schema_4213"}],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1add/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4213","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4213"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/addcloudstoragefiletagslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/file/tag/add"},{"label":"Truy vấn thẻ của tệp","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/querycloudstoragefiletagslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/querycloudstoragefiletagslocal","metadata":{"seo":{"title":"Truy vấn thẻ của tệp","description":"Trả về các thẻ đang gắn với một hoặc nhiều tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"queryCloudStorageFileTagsLocal","name":"Truy vấn thẻ của tệp","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1query/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Truy vấn thẻ của tệp","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Trả về các thẻ đang gắn với một hoặc nhiều tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": mọi "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"fileId"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" phải tra cứu được trong nhóm của bạn; "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"một ID không xác định sẽ làm cả lệnh gọi thất bại"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" chứ không trả về dữ liệu một phần."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": không có. Chỉ đọc. An toàn khi thử lại với thời gian chờ tăng dần có giới hạn."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lưu ý"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagIds"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" được đọc từ các liên kết, còn chi tiết thẻ lấy từ các thẻ hiện hữu, nên một thẻ bị xóa trong lúc vẫn còn liên kết sẽ xuất hiện trong "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagIds"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" mà không có mục tương ứng ở phần chi tiết. Độ dài hai danh sách có thể khác nhau."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagQueryRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/FileTagQueryRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/file/tag/query","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/FileTagQueryRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/file/tag/query","href":"cloud-storage-file-tags/querycloudstoragefiletagslocal","openApiOperationId":"queryCloudStorageFileTagsLocal","summary":"Truy vấn thẻ của tệp"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/FileTagQueryRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/FileTagQueryRequest","exampleIds":["paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4214"}},"schemaId":"schema_4214"}],"pointer":"/paths/~1api~1cloudstorage~1file~1tag~1query/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4214","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4214"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/querycloudstoragefiletagslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/file/tag/query"},{"label":"Truy vấn tất cả thẻ tệp cloud storage","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/queryallcloudstoragefiletagslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/queryallcloudstoragefiletagslocal","metadata":{"seo":{"title":"Truy vấn tất cả thẻ tệp cloud storage","description":"Trả về mọi thẻ tệp Cloud Storage trong nhóm."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"queryAllCloudStorageFileTagsLocal","name":"Truy vấn tất cả thẻ tệp cloud storage","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1tag~1all/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Truy vấn tất cả thẻ tệp cloud storage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Trả về mọi thẻ tệp Cloud Storage trong nhóm."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": không có. Chỉ đọc. An toàn khi thử lại với thời gian chờ tăng dần có giới hạn."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lưu ý"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": endpoint không phân trang, và thẻ Cloud Storage không có giới hạn số lượng phía server, nên phản hồi sẽ lớn dần theo số thẻ mà nhóm bạn tạo."},"children":[]}]}]}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/cloudstorage/tag/all","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"responseCodes":["200"],"pointer":"/api/cloudstorage/tag/all","href":"cloud-storage-file-tags/queryallcloudstoragefiletagslocal","openApiOperationId":"queryAllCloudStorageFileTagsLocal","summary":"Truy vấn tất cả thẻ tệp cloud storage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4215"}},"schemaId":"schema_4215"}],"pointer":"/paths/~1api~1cloudstorage~1tag~1all/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4215","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4215"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/queryallcloudstoragefiletagslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/tag/all"},{"label":"Tạo thẻ tệp cloud storage","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/createcloudstoragefiletaglocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/createcloudstoragefiletaglocal","metadata":{"seo":{"title":"Tạo thẻ tệp cloud storage","description":"Tạo một thẻ tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"createCloudStorageFileTagLocal","name":"Tạo thẻ tệp cloud storage","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1tag~1create/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Tạo thẻ tệp cloud storage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tạo một thẻ tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagName"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" không được để trống."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": tạo thẻ với một màu chọn từ bảng màu cố định. "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên không được kiểm tra trùng lặp và không có giới hạn số lượng"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", nên gọi lại sẽ tạo ra một thẻ thứ hai cùng tên."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ; phản hồi mang thẻ mới."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagCreateRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TagCreateRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1tag~1create/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/tag/create","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/TagCreateRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/tag/create","href":"cloud-storage-file-tags/createcloudstoragefiletaglocal","openApiOperationId":"createCloudStorageFileTagLocal","summary":"Tạo thẻ tệp cloud storage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/TagCreateRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagCreateRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4216"}},"schemaId":"schema_4216"}],"pointer":"/paths/~1api~1cloudstorage~1tag~1create/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4216","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4216"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/createcloudstoragefiletaglocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/tag/create"},{"label":"Sửa thẻ tệp cloud storage","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/editcloudstoragefiletaglocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/editcloudstoragefiletaglocal","metadata":{"seo":{"title":"Sửa thẻ tệp cloud storage","description":"Đổi tên một thẻ tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"editCloudStorageFileTagLocal","name":"Sửa thẻ tệp cloud storage","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1tag~1edit/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Sửa thẻ tệp cloud storage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Đổi tên một thẻ tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": thẻ phải tồn tại trong nhóm của bạn và phải là thẻ Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": chỉ tên thay đổi; màu và mọi liên kết hiện có đều được giữ, nên các tệp hiển thị tên mới ngay lập tức."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ. Không có khóa lạc quan — các lần đổi tên đồng thời sẽ lấy lần ghi cuối cùng."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagEditRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TagEditRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1tag~1edit/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/tag/edit","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/TagEditRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/tag/edit","href":"cloud-storage-file-tags/editcloudstoragefiletaglocal","openApiOperationId":"editCloudStorageFileTagLocal","summary":"Sửa thẻ tệp cloud storage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/TagEditRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagEditRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4217"}},"schemaId":"schema_4217"}],"pointer":"/paths/~1api~1cloudstorage~1tag~1edit/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4217","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4217"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/editcloudstoragefiletaglocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/tag/edit"},{"label":"Xóa thẻ tệp cloud storage","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/deletecloudstoragefiletagslocal","routeSlug":"/vi/api-reference/cloud-storage/local-api/cloud-storage-file-tags/deletecloudstoragefiletagslocal","metadata":{"seo":{"title":"Xóa thẻ tệp cloud storage","description":"Xóa các thẻ tệp Cloud Storage."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteCloudStorageFileTagsLocal","name":"Xóa thẻ tệp cloud storage","isWebhook":false,"pointer":"/paths/~1api~1cloudstorage~1tag~1delete~1batch/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Xóa thẻ tệp cloud storage","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Xóa các thẻ tệp Cloud Storage."},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Điều kiện tiên quyết"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": mọi ID phải là thẻ Cloud Storage trong nhóm của bạn; "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"một ID không hợp lệ sẽ làm cả lô thất bại"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tác động"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": các thẻ bị xóa nhưng "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"liên kết của chúng với tệp không được dọn dẹp"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Hãy lường trước hai hệ quả: "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/file/tag/query"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" vẫn tiếp tục trả về ID thẻ đã xóa mà không có chi tiết tương ứng, và "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"tagInfo"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" trong "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/cloudstorage/file/page"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" có thể chứa phần tử null. Lọc tệp theo ID của một thẻ đã xóa sẽ không trả về gì."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Hoàn tất"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": đồng bộ, và không được bọc trong một giao dịch."},"children":[]}]}]}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/TagDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/cloudstorage/tag/delete/batch","servers":[{"url":"http://127.0.0.1:40000"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[],"requestBody":{"application/json":{"schemaId":"components/schemas/TagDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"pointer":"/api/cloudstorage/tag/delete/batch","href":"cloud-storage-file-tags/deletecloudstoragefiletagslocal","openApiOperationId":"deleteCloudStorageFileTagsLocal","summary":"Xóa thẻ tệp cloud storage"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"http://127.0.0.1:40000"}],"schemaId":"components/schemas/TagDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/TagDeleteRequest","exampleIds":["paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thành công"},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4217"}},"schemaId":"schema_4217"}],"pointer":"/paths/~1api~1cloudstorage~1tag~1delete~1batch/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_4217","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_4217"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/cloud-storage-file-tags/deletecloudstoragefiletagslocal"}],"panels":[]}]},"httpPath":"/api/cloudstorage/tag/delete/batch"}],"content":{"contentType":"group","meta":{"name":"Cloud Storage File Tags"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Cloud Storage File Tags","showPageActions":true},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Quản lý các thẻ gắn với tệp trên lưu trữ đám mây"},"children":[]}]}]}]}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/cloudstorage/file/tag/set","summary":"Đặt thẻ cho tệp","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/setcloudstoragefiletagslocal","deprecated":false},{"title":"/api/cloudstorage/file/tag/add","summary":"Thêm thẻ cho tệp","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/addcloudstoragefiletagslocal","deprecated":false},{"title":"/api/cloudstorage/file/tag/query","summary":"Truy vấn thẻ của tệp","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/querycloudstoragefiletagslocal","deprecated":false},{"title":"/api/cloudstorage/tag/all","summary":"Truy vấn tất cả thẻ tệp cloud storage","prefix":{"name":"get","color":"get"},"badges":[],"link":"/cloud-storage-file-tags/queryallcloudstoragefiletagslocal","deprecated":false},{"title":"/api/cloudstorage/tag/create","summary":"Tạo thẻ tệp cloud storage","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/createcloudstoragefiletaglocal","deprecated":false},{"title":"/api/cloudstorage/tag/edit","summary":"Sửa thẻ tệp cloud storage","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/editcloudstoragefiletaglocal","deprecated":false},{"title":"/api/cloudstorage/tag/delete/batch","summary":"Xóa thẻ tệp cloud storage","prefix":{"name":"post","color":"post"},"badges":[],"link":"/cloud-storage-file-tags/deletecloudstoragefiletagslocal","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/ApiResponseBase":{"id":"components/schemas/ApiResponseBase","kind":"json-schema","title":"ApiResponseBase","data":{"type":"object","properties":{"code":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Mã kết quả. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" nghĩa là thành công; các mã khác cho biết có ngoại lệ."},"children":[]}]}]}],"example":0},"msg":{"type":["string","null"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thông báo lỗi."},"children":[]}]}]}],"example":null},"requestId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID yêu cầu của tác vụ. Trường này có thể xuất hiện khi yêu cầu đi qua API gateway."},"children":[]}]}]}],"example":"1d4f3ea968664593860b94b35d4ebf5e"}},"required":["code","msg"]}},"components/schemas/StorageInfo":{"id":"components/schemas/StorageInfo","kind":"json-schema","title":"StorageInfo","data":{"type":"object","properties":{"capacity":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tổng dung lượng cloud storage theo byte."},"children":[]}]}]}],"example":"10737418240"},"usedCapacity":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Dung lượng cloud storage đã dùng theo byte."},"children":[]}]}]}],"example":"536870912"},"expireDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Ngày hết hạn của cloud storage."},"children":[]}]}]}]},"capacityStatus":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Trạng thái dung lượng: 0 = bình thường, 1 = đã đầy."},"children":[]}]}]}],"example":0},"isExpired":{"type":"boolean","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Gói đăng ký đã hết hạn hay chưa."},"children":[]}]}]}],"example":false}}}},"components/schemas/FilePageRequest":{"id":"components/schemas/FilePageRequest","kind":"json-schema","title":"FilePageRequest","data":{"type":"object","properties":{"pageNo":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Số trang hiện tại, bắt đầu từ 1. Mặc định là 1."},"children":[]}]}]}],"minimum":1,"default":1,"example":1},"pageSize":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Số mục mỗi trang. Mặc định là 10."},"children":[]}]}]}],"minimum":1,"default":10,"example":20},"fileName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Từ khóa tên tệp để tìm kiếm gần đúng."},"children":[]}]}]}],"example":"report"},"tagIds":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lọc tệp theo ID thẻ."},"children":[]}]}]}],"items":{"type":"string"},"example":["1800000000000101"]},"fileType":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Bộ lọc theo loại tệp: 0 = hình ảnh, 1 = video, 2 = ứng dụng, 3 = âm thanh, 4 = tài liệu, 5 = khác."},"children":[]}]}]}],"example":0},"fileIds":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Lọc tệp theo ID tệp."},"children":[]}]}]}],"items":{"type":"string"},"example":["1800000000001001"]}}}},"components/schemas/TagInfo":{"id":"components/schemas/TagInfo","kind":"json-schema","title":"TagInfo","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID thẻ."},"children":[]}]}]}],"example":"1800000000000101"},"tagSource":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Nguồn của thẻ, ví dụ ENV, PROXY."},"children":[]}]}]}],"example":"ENV"},"tagName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên thẻ."},"children":[]}]}]}],"example":"Invoice"},"tagType":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Kiểu thẻ: TAG hoặc GROUP."},"children":[]}]}]}],"example":"TAG"},"tagIcon":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Biểu tượng của thẻ."},"children":[]}]}]}],"example":""}}}},"components/schemas/CloudStorageFile":{"id":"components/schemas/CloudStorageFile","kind":"json-schema","title":"CloudStorageFile","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID tệp trên lưu trữ đám mây."},"children":[]}]}]}],"example":"1800000000001001"},"fileName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên tệp (không kèm phần mở rộng)."},"children":[]}]}]}],"example":"example"},"fileExt":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Phần mở rộng của tệp."},"children":[]}]}]}],"example":"jpg"},"fileSize":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Kích thước tệp theo byte."},"children":[]}]}]}],"example":"204800"},"fileType":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Loại tệp: 0 = hình ảnh, 1 = video, 2 = ứng dụng, 3 = âm thanh, 4 = tài liệu, 5 = khác."},"children":[]}]}]}],"example":0},"tagInfo":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chi tiết các thẻ đang gắn với tệp."},"children":[]}]}]}],"items":{"$ref":"#/components/schemas/TagInfo"}},"createDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thời điểm tải lên."},"children":[]}]}]}]},"updateDate":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Thời điểm cập nhật."},"children":[]}]}]}]}}}},"components/schemas/FilePageData":{"id":"components/schemas/FilePageData","kind":"json-schema","title":"FilePageData","data":{"type":"object","properties":{"current":{"type":"string","example":"1"},"pages":{"type":"string","example":"7"},"total":{"type":"string","example":"128"},"dataList":{"type":"array","items":{"$ref":"#/components/schemas/CloudStorageFile"}}},"required":["current","pages","total","dataList"]}},"components/schemas/UploadInitRequest":{"id":"components/schemas/UploadInitRequest","kind":"json-schema","title":"UploadInitRequest","data":{"type":"object","properties":{"fileNames":{"type":"array","minItems":1,"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Danh sách tên tệp cần tải lên (kèm phần mở rộng), ví dụ photo.jpg, video.mp4."},"children":[]}]}]}],"items":{"type":"string"},"example":["photo.jpg","video.mp4"]}},"required":["fileNames"]}},"components/schemas/UploadInitResult":{"id":"components/schemas/UploadInitResult","kind":"json-schema","title":"UploadInitResult","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID tệp trên lưu trữ đám mây."},"children":[]}]}]}],"example":"1800000000000001"},"fileName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên tệp (kèm phần mở rộng)."},"children":[]}]}]}],"example":"photo.jpg"},"presignedUrl":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"URL tải lên đã ký trước của S3. Dùng HTTPS PUT để tải nội dung tệp lên."},"children":[]}]}]}],"example":"https://example.com/presigned-upload-url"}}}},"components/schemas/UploadCompleteRequest":{"id":"components/schemas/UploadCompleteRequest","kind":"json-schema","title":"UploadCompleteRequest","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID tệp cloud storage do API URL tải lên đã ký trước trả về."},"children":[]}]}]}],"example":"1800000000000001"}},"required":["id"]}},"components/schemas/FileDeleteRequest":{"id":"components/schemas/FileDeleteRequest","kind":"json-schema","title":"FileDeleteRequest","data":{"type":"object","properties":{"ids":{"type":"array","minItems":1,"items":{"type":"string"},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID các tệp cloud storage cần xóa."},"children":[]}]}]}],"example":["1800000000001001","1800000000001002"]}},"required":["ids"]}},"components/schemas/FileTagChangeRequest":{"id":"components/schemas/FileTagChangeRequest","kind":"json-schema","title":"FileTagChangeRequest","data":{"type":"object","properties":{"fileId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID tệp trên lưu trữ đám mây."},"children":[]}]}]}],"example":"1800000000001001"},"tagIds":{"type":"array","minItems":1,"items":{"type":"string"},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Danh sách ID thẻ."},"children":[]}]}]}],"example":["1800000000000101","1800000000000102"]}},"required":["fileId","tagIds"]}},"components/schemas/FileTagQueryRequest":{"id":"components/schemas/FileTagQueryRequest","kind":"json-schema","title":"FileTagQueryRequest","data":{"type":"object","properties":{"fileIds":{"type":"array","minItems":1,"items":{"type":"string"},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID các tệp cloud storage."},"children":[]}]}]}],"example":["1800000000001001"]}},"required":["fileIds"]}},"components/schemas/FileTagResultData":{"id":"components/schemas/FileTagResultData","kind":"json-schema","title":"FileTagResultData","data":{"type":"object","properties":{"fileId":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID tệp trên lưu trữ đám mây."},"children":[]}]}]}],"example":"1800000000001001"},"tagIds":{"type":"array","items":{"type":"string"},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID các thẻ đang gắn với tệp."},"children":[]}]}]}],"example":["1800000000000101"]},"tagInfo":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Chi tiết các thẻ."},"children":[]}]}]}],"items":{"$ref":"#/components/schemas/TagInfo"}}}}},"components/schemas/TagCreateRequest":{"id":"components/schemas/TagCreateRequest","kind":"json-schema","title":"TagCreateRequest","data":{"type":"object","properties":{"tagName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên thẻ."},"children":[]}]}]}],"example":"Invoice"}},"required":["tagName"]}},"components/schemas/TagEditRequest":{"id":"components/schemas/TagEditRequest","kind":"json-schema","title":"TagEditRequest","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID thẻ."},"children":[]}]}]}],"example":"1800000000000101"},"tagName":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Tên thẻ."},"children":[]}]}]}],"example":"Invoice 2026"}},"required":["id","tagName"]}},"components/schemas/TagDeleteRequest":{"id":"components/schemas/TagDeleteRequest","kind":"json-schema","title":"TagDeleteRequest","data":{"type":"object","properties":{"ids":{"type":"array","minItems":1,"items":{"type":"string"},"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"ID các thẻ cần xóa."},"children":[]}]}]}],"example":["1800000000000101"]}},"required":["ids"]}},"schema_4209":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/StorageInfo"}},"required":["data"]}]},"id":"schema_4209"},"schema_4210":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FilePageData"}},"required":["data"]}]},"id":"schema_4210"},"schema_4211":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/UploadInitResult"}}},"required":["data"]}]},"id":"schema_4211"},"schema_4212":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CloudStorageFile"}},"required":["data"]}]},"id":"schema_4212"},"schema_4213":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"type":"null","example":null}}}]},"id":"schema_4213"},"schema_4214":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/FileTagResultData"}}},"required":["data"]}]},"id":"schema_4214"},"schema_4215":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TagInfo"}}},"required":["data"]}]},"id":"schema_4215"},"schema_4216":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/TagInfo"}},"required":["data"]}]},"id":"schema_4216"},"schema_4217":{"kind":"json-schema","data":{"allOf":[{"$ref":"#/components/schemas/ApiResponseBase"},{"type":"object","properties":{"data":{"type":"boolean","example":true}},"required":["data"]}]},"id":"schema_4217"}},"exampleStore":{"paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example":{"value":{"pageNo":1,"pageSize":20,"fileName":"report","tagIds":["1800000000000001"]},"id":"paths/~1api~1cloudstorage~1file~1page/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example":{"value":{"fileNames":["example.jpg"]},"id":"paths/~1api~1cloudstorage~1upload~1init/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example":{"value":{"id":"1800000000000001"},"id":"paths/~1api~1cloudstorage~1upload~1complete/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example":{"value":{"ids":["1800000000001001","1800000000001002"]},"id":"paths/~1api~1cloudstorage~1file~1delete~1batch/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example":{"value":{"fileId":"1800000000001001","tagIds":["1800000000000101","1800000000000102"]},"id":"paths/~1api~1cloudstorage~1file~1tag~1set/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example":{"value":{"fileId":"1800000000001001","tagIds":["1800000000000103"]},"id":"paths/~1api~1cloudstorage~1file~1tag~1add/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example":{"value":{"fileIds":["1800000000001001"]},"id":"paths/~1api~1cloudstorage~1file~1tag~1query/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example":{"value":{"tagName":"Invoice"},"id":"paths/~1api~1cloudstorage~1tag~1create/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example":{"value":{"id":"1800000000000101","tagName":"Invoice 2026"},"id":"paths/~1api~1cloudstorage~1tag~1edit/post/requestBody/content/application~1json/example"},"paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example":{"value":{"ids":["1800000000000101"]},"id":"paths/~1api~1cloudstorage~1tag~1delete~1batch/post/requestBody/content/application~1json/example"}},"securitySchemeStore":{},"servers":[{"url":"http://127.0.0.1:40000"}]},"options":{"hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/@l10n/vi/API Reference/Cloud Storage/local-api.json?download"},{"url":"/_bundle/@l10n/vi/API Reference/Cloud Storage/local-api.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Cloud Storage Local API","description":"Quản lý tệp, lượt tải lên, lượt xóa và thẻ tệp của cloud storage MoreLogin thông qua MoreLogin Local API.\n\n**URL cơ sở**: `http://127.0.0.1:40000`\n\nCác đường dẫn của Local API dùng tiền tố `/api`.\n"}},"baseSlug":"/vi/api-reference/cloud-storage/local-api","routesMapping":{}}