You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Starts the process of uploading a file to storage location, and returns a signed url in response.
32
32
:param namespace : A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.
33
33
Available namespaces:
34
-
- misc: Public namespace allowing all file types up to 100Mb
35
34
- user-profile-pic: Public namespace allowing images up to 15Mb
36
35
- feedback-media: Public namespace allowing images and videos up to 1Gb
37
36
- users-vto-images: Private namespace allowing images up to 40Mb
url_with_params=awaitcreate_url_with_params(api_url=self._urls["startUpload"], proccessed_params="""{"required":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - misc: Public namespace allowing all file types up to 100Mb\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["misc","user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}],"optional":[],"query":[],"headers":[],"path":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - misc: Public namespace allowing all file types up to 100Mb\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["misc","user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}]}""", serverType="application", namespace=namespace)
53
+
url_with_params=awaitcreate_url_with_params(api_url=self._urls["startUpload"], proccessed_params="""{"required":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}],"optional":[],"query":[],"headers":[],"path":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}]}""", serverType="application", namespace=namespace)
Complete the file upload and store the file details such as name, size, content type, and namespace to maintain integrity within the system's database.
89
88
:param namespace : A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.
90
89
Available namespaces:
91
-
- misc: Public namespace allowing all file types up to 100Mb
92
90
- user-profile-pic: Public namespace allowing images up to 15Mb
93
91
- feedback-media: Public namespace allowing images and videos up to 1Gb
94
92
- users-vto-images: Private namespace allowing images up to 40Mb
url_with_params=awaitcreate_url_with_params(api_url=self._urls["completeUpload"], proccessed_params="""{"required":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - misc: Public namespace allowing all file types up to 100Mb\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["misc","user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}],"optional":[],"query":[],"headers":[],"path":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - misc: Public namespace allowing all file types up to 100Mb\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["misc","user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}]}""", serverType="application", namespace=namespace)
109
+
url_with_params=awaitcreate_url_with_params(api_url=self._urls["completeUpload"], proccessed_params="""{"required":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}],"optional":[],"query":[],"headers":[],"path":[{"name":"namespace","in":"path","description":"A classification value that categorizes files based on the namespace used to determine their storage location and validate their data before upload. The namespace also acts as a directory structure within the storage bucket and enforces file-specific rules.\nAvailable namespaces:\n - user-profile-pic: Public namespace allowing images up to 15Mb\n - feedback-media: Public namespace allowing images and videos up to 1Gb\n - users-vto-images: Private namespace allowing images up to 40Mb\n - application-audience: Private namespace allowing images and PDFs up to 50Mb","required":true,"schema":{"type":"string","enum":["user-profile-pic","feedback-media","users-vto-images","application-audience","test","test123"]}}]}""", serverType="application", namespace=namespace)
0 commit comments