Device - Create File Upload Sas Uri
Ezzel a módszerrel lekérhető egy tároló SAS URI-ja egy fájl feltöltéséhez. További információ: https://docs.microsoft.com/azure/iot-hub/iot-hub-devguide-file-upload.
POST https://fully-qualified-iothubname.azure-devices.net/devices/{deviceId}/files?api-version=2020-03-13
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
device
|
path | True |
string |
Eszközazonosító. |
api-version
|
query | True |
string |
Az Api verziója. |
Kérelem törzse
Name | Típus | Description |
---|---|---|
blobName |
string |
A blob neve. |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
A fájlfeltöltési válaszobjektum |
Definíciók
Name | Description |
---|---|
File |
|
File |
FileUploadRequest
Name | Típus | Description |
---|---|---|
blobName |
string |
A blob neve. |
FileUploadResponse
Name | Típus | Description |
---|---|---|
blobName |
string |
|
containerName |
string |
|
correlationId |
string |
|
hostName |
string |
|
sasToken |
string |