Module crowdin_api.api_resources.storages.resource
Classes
class StoragesResource (requester: APIRequester, project_id: Optional[int] = None, page_size=25)
-
Resource for Storages.
Storage is a separate container for each file. You need to use Add Storage method before adding files to your projects via API. Files that should be uploaded into storage include files for localization, screenshots, Glossaries, and Translation Memories.
Storage id is the identifier of the file uploaded to the Storage.
Note: Storage is periodically cleared. The files that were already uploaded to your account will be removed from storage and will remain in your account.
Link to documentation: https://developer.crowdin.com/api/v2/#tag/Storage
Ancestors
Methods
def add_storage(self, file:
) -
Add Storage.
Link to documentation: https://developer.crowdin.com/api/v2/#operation/api.storages.post
def delete_storage(self, storageId: int)
-
Delete Storage.
Link to documentation: https://developer.crowdin.com/api/v2/#operation/api.storages.delete
def get_storage(self, storageId: int)
-
Get Storage.
Link to documentation: https://developer.crowdin.com/api/v2/#operation/api.storages.get
def get_storages_path(self, storageId: Optional[int] = None)
def list_storages(self, page: Optional[int] = None, offset: Optional[int] = None, limit: Optional[int] = None)
-
List Storages.
Link to documentation: https://developer.crowdin.com/api/v2/#operation/api.storages.getMany