URL Module¶
This section documents the url components of the Nextmv Cloud API.
url
¶
Module for declarations related to upload and download URLs in Nextmv Cloud.
CLASS | DESCRIPTION |
---|---|
DownloadURL |
Represents a download URL for fetching content from Nextmv Cloud. |
UploadURL |
Represents an upload URL for sending content to Nextmv Cloud. |
DownloadURL
¶
Bases: BaseModel
Result of getting a download URL.
You can import the DownloadURL
class directly from cloud
:
This class represents a download URL that can be used to fetch content from Nextmv Cloud, typically used for downloading large run results.
ATTRIBUTE | DESCRIPTION |
---|---|
url |
URL to use for downloading the file.
TYPE:
|
Examples:
>>> download_url = DownloadURL(url="https://example.com/download")
>>> response = requests.get(download_url.url)
UploadURL
¶
Bases: BaseModel
Result of getting an upload URL.
You can import the UploadURL
class directly from cloud
:
This class represents an upload URL that can be used to send data to Nextmv Cloud, typically used for uploading large inputs for runs.
ATTRIBUTE | DESCRIPTION |
---|---|
upload_id |
ID of the upload, used to reference the uploaded content.
TYPE:
|
upload_url |
URL to use for uploading the file.
TYPE:
|
Examples: