Class FileUploadRequest
Model for image upload with additional parameters.
Inherited Members
Namespace: Noxum.Nova.Cms.Client
Assembly: Noxum.Nova.Cms.Client.dll
Syntax
public class FileUploadRequest
Properties
Commit
When true the file will be commited. Has to be set for the last chunk.
Declaration
[JsonPropertyName("commit")]
public bool Commit { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Extension
The files extension. Must be provided for the first request.
Declaration
[JsonPropertyName("extension")]
public string Extension { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
File
The input file
Declaration
[JsonPropertyName("file")]
[Required]
public byte[] File { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |