{"info":{"title":"/IOTCONNECT™ File API","description":"File REST API contains information of file add, update, delete and get.\n<br /><h2>Headers</h2><p>Needed Headers for all the API. \n<br />\n<br /> Authorization &emsp;&nbsp;  &emsp;<b><i style=\"font-style: italic !important;\">Bearer + access_token (Generated From api/v1.1/auth/login API)</i></b>\n<br /> Content-Type &emsp;&nbsp;&emsp;<b><i style=\"font-style: italic !important;\">application/json</i></b></p>","version":"2.1"},"paths":{"/api/v2.1/File":{"post":{"tags":["File"],"summary":"Upload a file","description":"<p>This API endpoint allows you to upload files on the cloud. You can upload different files like user profile, device image, firmware file etc. For that, you need to send <i>ModuleType</i>, defining the type of file. The <i>fileRefGuid</i> is a reference guid, saying a file belongs to which module. For example, for a user profile, it requires a user guid to define that to which user the file belongs.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file uploaded successfully and returns file details.","schema":{"$ref":"#/definitions/FileAddResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"fileRefGuid","in":"formData","description":"Reference Guid. \n            <b>Eg.</b><ul><li>deviceGuid for deviceimage</li><li>companyGuid for companylogo</li><li>firmwareUpgradeGuid for firmware</li><li>userGuid for userprofile</li><li>importBatchGuid for importbatch</li><li>solutionGuid for solutionimage</li><li>deviceCertificateGuid for devicecertificate</li><li>any guid for custom</li><li>moduleVersionGuid for module</li><li>dashboardWidgetGuid for widgetimage</li><li>dashboardBackgroundGuid for dashboardimage</li></ul>","type":"string","required":true,"format":"uuid"},{"name":"Tag","in":"formData","description":"Tag of file","type":"string","required":false},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li><li>sagemakerModule</li></ul>","type":"string","required":true},{"name":"fileData","in":"formData","description":"Upload new file","type":"file","required":false},{"name":"CompanyGuid","in":"formData","description":"Company Guid.","type":"string","required":false,"format":"uuid"}]}},"/api/v2.1/File/{fileGuid}":{"put":{"tags":["File"],"summary":"Update File by file guid","description":"<p>This API endpoint lets you update a file on the cloud. For that, you need to send <i>fileGuid</i> in request url and updated file in the request body.</p>","parameters":[{"name":"fileGuid","in":"path","description":"File Guid","required":true,"type":"string","format":"uuid"},{"name":"RunTime","in":"formData","description":"","type":"string","required":false},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li><li>sagemakerModule</li></ul>","type":"string","required":true},{"name":"fileData","in":"formData","description":"Upload new file","type":"file","required":false},{"name":"CompanyGuid","in":"formData","description":"Company Guid.","type":"string","required":false,"format":"uuid"}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file updated successfully and returns updated file details.","schema":{"$ref":"#/definitions/FileUpdateResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}}}},"/api/v2.1/File/{moduleType}/{fileGuid}":{"delete":{"tags":["File"],"summary":"Delete a file","description":"<p>This API endpoint permits you to delete a file from the cloud. For that, you need to send <i>modelType</i> and <i>fileGuid</i> in request url.</p>","parameters":[{"name":"moduleType","in":"path","description":"Module type should be one of below items\n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>","required":true,"type":"string"},{"name":"fileGuid","in":"path","description":"File Guid","required":true,"type":"string","format":"uuid"}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file deleted successfully.","schema":{"$ref":"#/definitions/FileDeleteResponse"}},"204":{"description":"Indicates that the file not found."},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}}}},"/api/v2.1/File/{moduleType}/{fileRefGuid}":{"get":{"tags":["File"],"summary":"Get file list","description":"<p>This API endpoint allows you to download files from the cloud. For that, you need to send <i>receipeModuleType</i> and <i>fileRefGuid</i> in request url.</p>","parameters":[{"name":"moduleType","in":"path","description":"Module type should be one of below items\n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>","required":true,"type":"string"},{"name":"fileRefGuid","in":"path","description":"Reference Guid.<b>Eg.</b><ul><li>deviceGuid for deviceimage</li><li>companyGuid for companylogo</li><li>firmwareUpgradeGuid for firmware</li><li>userGuid for userprofile</li><li>importBatchGuid for importbatch</li><li>solutionGuid for solutionimage</li><li>deviceCertificateGuid for devicecertificate</li><li>any guid for custom</li><li>moduleGuid for module</li><li>dashboardWidgetGuid for widgetimage</li></ul>","required":true,"type":"string","format":"uuid"},{"name":"sasUrl","in":"query","type":"boolean"},{"name":"runTime","in":"query","type":"string"},{"name":"wirelessDeviceType","in":"query","type":"integer","format":"int32"}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file list received successfully.","schema":{"$ref":"#/definitions/FileDeleteResponse"}},"204":{"description":"Indicates that the file list not found."},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}}}},"/api/v2.1/File/{uniqueId}":{"get":{"tags":["File"],"summary":"Get device image file list","description":"<p>This API endpoint allows you to download files from the cloud. For that, you need to send <i>receipeModuleType</i> and <i>fileRefGuid</i> in request url.</p>","parameters":[{"name":"uniqueId","in":"path","description":"uniqueId","required":true,"type":"string"},{"name":"parentUniqueId","in":"query","type":"string"}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file list received successfully.","schema":{"$ref":"#/definitions/FileDeleteResponse"}},"204":{"description":"Indicates that the file list not found."},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}}}},"/api/v2.1/File/device-telemetry/{uniqueId}":{"get":{"tags":["File"],"summary":"Get device telemetry file url(s)","description":"<p>This API endpoint allows you to download device telemetry file from the cloud. For that, you need to send <i>uniqueId</i> in request url.</p>","parameters":[{"name":"uniqueId","in":"path","description":"device uniqueId","required":true,"type":"string"},{"name":"imageViewer","in":"query","description":"Image Viewer","type":"boolean"},{"name":"fileGuid","in":"query","type":"string","format":"uuid"},{"name":"pageSize","in":"query","type":"integer","format":"int32"},{"name":"pageNumber","in":"query","type":"integer","format":"int32"}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the device telemetry file received successfully."},"204":{"description":"Indicates that the file not found."},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ndevice not found, invalid logged user or company."}}}},"/api/v2.1/File/bulk":{"post":{"tags":["File"],"summary":"Upload multiple files","description":"<p>This API endpoint allows you to upload multiple files on the cloud. You can upload different files like user profile, device image, firmware file etc. For that, you need to send <i>ModuleType</i>, defining the type of file. The <i>fileRefGuid</i> is a reference guid, saying a file belongs to which module. For example, for a user profile, it requires a user guid to define that to which user the file belongs.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file uploaded successfully and returns files details.","schema":{"$ref":"#/definitions/BulkFileAddResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"fileRefGuid","in":"formData","description":"Reference Guid. \n            <b>Eg.</b><ul><li>deviceGuid for deviceimage</li><li>companyGuid for companylogo</li><li>firmwareUpgradeGuid for firmware</li><li>userGuid for userprofile</li><li>importBatchGuid for importbatch</li><li>solutionGuid for solutionimage</li><li>deviceCertificateGuid for devicecertificate</li><li>any guid for custom</li><li>moduleGuid for module</li><li>dashboardWidgetGuid for widgetimage</li><li>dashboardBackgroundGuid for dashboardimage</li></ul>","type":"string","required":true,"format":"uuid"},{"name":"Tag","in":"formData","description":"Tag of file","type":"string","required":false},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>","type":"string","required":true},{"name":"fileDatas","in":"formData","description":"Upload new files","type":"array","required":true},{"name":"CompanyGuid","in":"formData","description":"Company Guid.","type":"string","required":false,"format":"uuid"},{"name":"IsCpidOptional","in":"formData","description":"","type":"boolean","required":false}]}},"/api/v2.1/File/artifactFile":{"post":{"tags":["File"],"summary":"Upload a file","description":"<p>This API endpoint allows you to upload files on the cloud. You can upload different files like user profile, device image, firmware file etc. For that, you need to send <i>ModuleType</i>, defining the type of file. The <i>fileRefGuid</i> is a reference guid, saying a file belongs to which module. For example, for a user profile, it requires a user guid to define that to which user the file belongs.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file uploaded successfully and returns file details.","schema":{"$ref":"#/definitions/FileAddResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"ChunkFiles","in":"formData","description":"","type":"array","required":false},{"name":"RecipeGuid","in":"formData","description":"","type":"string","required":false,"format":"uuid"},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>","type":"string","required":false},{"name":"fileData","in":"formData","description":"Upload new file","type":"file","required":false},{"name":"InValidFileName","in":"formData","description":"","type":"string","required":false}]}},"/api/v2.1/File/componentBulk":{"post":{"tags":["File"],"summary":"Upload multiple component files","description":"<p>This API endpoint allows you to upload multiple files on the cloud. You can upload different files like user profile, device image, firmware file etc. For that, you need to send <i>ModuleType</i>, defining the type of file. The <i>fileRefGuid</i> is a reference guid, saying a file belongs to which module. For example, for a user profile, it requires a user guid to define that to which user the file belongs.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file uploaded successfully and returns files details.","schema":{"$ref":"#/definitions/BulkFileAddResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"fileRefGuid","in":"formData","description":"Reference Guid. \n            <b>Eg.</b><ul><li>deviceGuid for deviceimage</li><li>companyGuid for companylogo</li><li>firmwareUpgradeGuid for firmware</li><li>userGuid for userprofile</li><li>importBatchGuid for importbatch</li><li>solutionGuid for solutionimage</li><li>deviceCertificateGuid for devicecertificate</li><li>any guid for custom</li><li>moduleGuid for module</li><li>dashboardWidgetGuid for widgetimage</li><li>dashboardBackgroundGuid for dashboardimage</li></ul>","type":"string","required":true,"format":"uuid"},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>","type":"string","required":true},{"name":"ArtifactFileNames","in":"formData","description":"Upload new files","type":"array","required":true},{"name":"RecipeGuid","in":"formData","description":"","type":"string","required":true,"format":"uuid"},{"name":"FileData","in":"formData","description":"Upload new file","type":"file","required":true},{"name":"Tag","in":"formData","description":"Tag of file","type":"string","required":false},{"name":"CompanyGuid","in":"formData","description":"Company Guid.","type":"string","required":false,"format":"uuid"},{"name":"IsCpidOptional","in":"formData","description":"","type":"boolean","required":false}]}},"/api/v2.1/File/verifyReceipeFile":{"post":{"tags":["File"],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"OK"}},"parameters":[{"name":"file","in":"formData","description":"","type":"file","required":false},{"name":"artifactFiles","in":"formData","description":"","type":"array","required":false},{"name":"ModuleType","in":"formData","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li><li>sagemakerModule</li></ul>","type":"string","required":true},{"name":"fileData","in":"formData","description":"Upload new file","type":"file","required":false},{"name":"CompanyGuid","in":"formData","description":"Company Guid.","type":"string","required":false,"format":"uuid"}]}},"/api/v2.1/File/artifactFileDelete":{"post":{"tags":["File"],"summary":"Delete artifact file","description":"<p>This API endpoint permits you to delete artifact file from the cloud. For that, you need to send <i>modelType</i> and <i>fileGuid</i> in request url.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file deleted successfully.","schema":{"$ref":"#/definitions/FileDeleteResponse"}},"204":{"description":"Indicates that the file not found."},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"request","in":"body","description":"","schema":{"$ref":"#/definitions/ArtifactFileDeleteRequest"}}]}},"/api/v2.1/File/presigned-url":{"post":{"tags":["File"],"summary":"Generate Pre-Signed URL","description":"<p>This API endpoint allows you to generate pre-signed url. </p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the pre signed url generated.","schema":{"$ref":"#/definitions/PreSignedURLResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"request","in":"body","description":"Json object","schema":{"$ref":"#/definitions/PreSignedURLRequest"}}]}},"/api/v2.1/File/recipe":{"post":{"tags":["File"],"summary":"Upload a Greengrass recipe file.","description":"<p>This API endpoint allows you to upload files on the cloud.</p>","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the file uploaded successfully and returns file details.","schema":{"$ref":"#/definitions/FileAddResponse"}},"409":{"description":"Indicates that the request could not be carried out because of one of the below or other conflicts on the server.\ninvalid logged user or company."}},"parameters":[{"name":"RecipeFile","in":"formData","description":"","type":"file","required":true}]}},"/api/v2.1/File/removeArtifactFileFromReceipe":{"post":{"tags":["File"],"summary":"Remove artifact file from recipe file","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the RemoveArtifactFile request completed successfully.","schema":{"$ref":"#/definitions/RemoveArtifactFileResponse"}}},"parameters":[{"name":"request","in":"body","description":"The request object","schema":{"$ref":"#/definitions/RemoveArtifactFileRequest"}}]}},"/api/v2.1/File/chunk/{moduleType}/initiate":{"post":{"tags":["File"],"summary":"Initiates a new file upload process.","parameters":[{"name":"moduleType","in":"path","required":true,"type":"string"},{"name":"request","in":"body","description":"The upload initialization request containing metadata like file name, content type, etc.","schema":{"$ref":"#/definitions/UploadInitRequest"}}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Returns the upload initiation response.","schema":{"$ref":"#/definitions/UploadInitResponse"}}}}},"/api/v2.1/File/chunk/{moduleType}/urls":{"post":{"tags":["File"],"summary":"Retrieves pre-signed URLs for multipart upload.","parameters":[{"name":"moduleType","in":"path","required":true,"type":"string"},{"name":"request","in":"body","description":"The request containing upload ID and part count.","schema":{"$ref":"#/definitions/PresignedUrlsRequest"}}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Returns the pre-signed URL response.","schema":{"$ref":"#/definitions/PresignedUrlsResponse"}}}}},"/api/v2.1/File/chunk/complete/{moduleType}":{"put":{"tags":["File"],"summary":"Completes the multipart upload process.","parameters":[{"name":"moduleType","in":"path","required":true,"type":"string"},{"name":"request","in":"body","description":"The request containing upload ID, key name, and part information.","schema":{"$ref":"#/definitions/CompleteUploadRequest"}}],"responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Returns the complete upload response.","schema":{"$ref":"#/definitions/CompleteUploadResponse"}}}}},"/api/v2.1/File/retryFileAccess":{"post":{"tags":["File"],"summary":"Retry file access for a given recipe and artifact file name.","responses":{"412":{"description":"Indicates that a condition set for this request is failed, and the request cannot be carried out."},"401":{"description":"Indicates that authentication is failed because of the token is invalid or expired or missing."},"500":{"description":"Indicates that the request could not be carried out because of some technical error on the server.","schema":{"$ref":"#/definitions/ErrorsResponse"}},"200":{"description":"Indicates that the RetryFileAccess request completed successfully.","schema":{"$ref":"#/definitions/RetryFileAccessResponse"}}},"parameters":[{"name":"request","in":"body","description":"The request object","schema":{"$ref":"#/definitions/RetryFileAccessRequest"}}]}}},"security":[{"Bearer":[]}],"tags":[{"name":"File","description":"File Api List"}],"swagger":"2.0","definitions":{"ArtifactFileDeleteRequest":{"required":["artifactFileNames"],"type":"object","properties":{"artifactFileNames":{"type":"array","items":{"type":"string"}},"recipeGuid":{"type":"string","format":"uuid"}},"additionalProperties":false},"BulkFileAddResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/FileDetail"},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"CompleteUploadRequest":{"type":"object","properties":{"fileName":{"type":"string","nullable":true},"uploadId":{"type":"string","nullable":true},"parts":{"type":"array","items":{"$ref":"#/definitions/PartETagDto"},"nullable":true}},"additionalProperties":false},"CompleteUploadResponse":{"type":"object","properties":{"data":{"type":"object","nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"ErrorModel":{"type":"object","properties":{"param":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}},"additionalProperties":false},"ErrorsResponse":{"type":"object","properties":{"status":{"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"error":{"type":"array","items":{"$ref":"#/definitions/ErrorModel"},"nullable":true}},"additionalProperties":false},"FileAddResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/FileDetail"},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"FileBaseDetail":{"type":"object","properties":{"guid":{"type":"string","nullable":true},"file":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"fileDetails":{"type":"array","items":{"$ref":"#/definitions/UrlCheckResult"},"nullable":true}},"additionalProperties":false},"FileDeleteResponse":{"type":"object","properties":{"data":{"type":"object","nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"FileDetail":{"type":"object","properties":{"tag":{"type":"string","nullable":true},"operationId":{"type":"string","format":"uuid","nullable":true},"componentName":{"type":"string","nullable":true},"componentVersion":{"type":"string","nullable":true},"guid":{"type":"string","nullable":true},"file":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"fileDetails":{"type":"array","items":{"$ref":"#/definitions/UrlCheckResult"},"nullable":true}},"additionalProperties":false},"FileUpdateResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/FileBaseDetail"},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"PartETagDto":{"type":"object","properties":{"partNumber":{"type":"integer","format":"int32"},"eTag":{"type":"string","nullable":true}},"additionalProperties":false},"PreSignedURLDetail":{"type":"object","properties":{"guid":{"type":"string","nullable":true},"file":{"type":"string","nullable":true},"preSignedURL":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"tag":{"type":"string","nullable":true}},"additionalProperties":false},"PreSignedURLRequest":{"required":["fileRefGuid","moduleType"],"type":"object","properties":{"tag":{"type":"string","nullable":true},"fileName":{"type":"string","nullable":true},"fileRefGuid":{"type":"string","description":"Reference Guid. \n            <b>Eg.</b><ul><li>deviceGuid for deviceimage</li><li>companyGuid for companylogo</li><li>firmwareUpgradeGuid for firmware</li><li>userGuid for userprofile</li><li>importBatchGuid for importbatch</li><li>solutionGuid for solutionimage</li><li>deviceCertificateGuid for devicecertificate</li><li>any guid for custom</li><li>moduleGuid for module</li><li>dashboardWidgetGuid for widgetimage</li><li>dashboardBackgroundGuid for dashboardimage</li></ul>","format":"uuid"},"moduleType":{"minLength":1,"type":"string","description":"Module type should be one of below items \n<ul><li>deviceimage</li><li>companylogo</li><li>firmware</li><li>userprofile</li><li>importbatch</li><li>solutionimage</li><li>devicecertificate</li><li>custom</li><li>module</li><li>widgetimage</li><li>deviceupdate</li><li>ggComponentArtifact</li><li>ggComponentRecipe</li></ul>"}},"additionalProperties":false},"PreSignedURLResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/PreSignedURLDetail"},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"PresignedUrlsRequest":{"type":"object","properties":{"fileName":{"type":"string","nullable":true},"uploadId":{"type":"string","nullable":true},"partsCount":{"type":"integer","format":"int32"}},"additionalProperties":false},"PresignedUrlsResponse":{"type":"object","properties":{"data":{"type":"object","nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"RemoveArtifactFileRequest":{"type":"object","properties":{"recipeGuid":{"type":"string","format":"uuid"},"artifactFileName":{"type":"string","nullable":true}},"additionalProperties":false},"RemoveArtifactFileResponse":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","nullable":true},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"RetryFileAccess":{"type":"object","properties":{"recipeGuid":{"type":"string","format":"uuid"},"url":{"type":"string","nullable":true},"isAccessible":{"type":"boolean"},"status":{"type":"string","nullable":true}},"additionalProperties":false},"RetryFileAccessRequest":{"type":"object","properties":{"recipeGuid":{"type":"string","format":"uuid"},"filePath":{"type":"string","nullable":true}},"additionalProperties":false},"RetryFileAccessResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/RetryFileAccess"},"nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"UploadInitRequest":{"type":"object","properties":{"fileName":{"type":"string","nullable":true}},"additionalProperties":false},"UploadInitResponse":{"type":"object","properties":{"data":{"type":"object","nullable":true},"status":{"enum":[100,101,102,103,200,201,202,203,204,205,206,207,208,226,300,301,302,303,304,305,306,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,421,422,423,424,426,428,429,431,451,500,501,502,503,504,505,506,507,508,510,511],"type":"integer","format":"int32"},"message":{"type":"string","nullable":true},"count":{"type":"integer","format":"int64","nullable":true}},"additionalProperties":false},"UrlCheckResult":{"type":"object","properties":{"url":{"type":"string","nullable":true},"isAccessible":{"type":"boolean"},"status":{"type":"string","nullable":true}},"additionalProperties":false}},"securityDefinitions":{"Bearer":{"type":"apiKey","description":"Please enter JWT with Bearer into field","name":"Authorization","in":"header"}}}