deployment
This section documents the deployment element used to attach files to a bundle.
This section documents the deployment element used to attach files to a bundle.
This is the base object for everything you can do with a deployment element.
This invokes a request to the OpenGate North API and the callback is managed by promises. This method creates a deployment element.
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| rawFile | File |
❌ | this File is the deployment element |
Tipo: Promise
This invokes a request to the OpenGate North API and the callback is managed by promises. This method creates a deployment element with the previously assigned file.
Tipo: Promise
This method invalidates the update option
Set the downloadUrl attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| downloadUrl | string |
❌ |
Tipo: DeploymentElement
Sets the file to upload
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| rawFile | object |
❌ |
Tipo: DeploymentElement
Set the fileName attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| fileName | string |
❌ |
Tipo: DeploymentElement
Set the name attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ | required field |
Tipo: DeploymentElement
Sets the old name attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| name | string |
❌ |
Tipo: DeploymentElement
Sets the old path attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| path | string |
❌ |
Tipo: DeploymentElement
Sets the old version attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| version | string |
❌ |
Tipo: DeploymentElement
Set the operation attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| operation | string |
❌ | required field |
Tipo: DeploymentElement
Set the option attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| option | string |
❌ |
Tipo: DeploymentElement
Set the order attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| order | string |
❌ | required field |
Tipo: DeploymentElement
Set the path attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| path | string |
❌ | required field |
Tipo: DeploymentElement
The request will have a specific time out if it will be exceeded then the promise throw an exception
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| ms | number |
❌ | timeout in milliseconds |
Tipo: Bundles
Set the type attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| type | string |
❌ | required field |
Tipo: DeploymentElement
Set the validation attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| validation | string |
❌ |
Tipo: DeploymentElement
Set the validators attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| validators | Array |
❌ |
Tipo: DeploymentElement
Set the version attribute
| Nombre | Tipo | Opcional | Descripción |
|---|---|---|---|
| version | string |
❌ | required field |
Tipo: DeploymentElement