FileCreationRequest
Properties
contentType: string;
Content type (matches the value of the HTTP content type header)
data: Object;
Contents. Can be a String (will be stored as UTF-8), a byte array
metadata: Map<string,Object>;
File metadata
owner: string;
Optional User key. When calling the API, defaults to the current (calling) user’s primary key. For impersonation purposes, the caller may use the key of another user, provided that the proper authorizations have been given by the impersonated user
path: string;
File path
requestId: string;
User field for traceability of requests. Synchronous SDK APIs use this field for you.
tags: Set[String];
File tags
Source
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
interface FileCreationRequest {
/**
* Content type (matches the value of the HTTP content type header)
*/
contentType: string;
/**
* Contents. Can be a String (will be stored as UTF-8), a byte array
*/
data: Object;
/**
* File metadata
*/
metadata: Map<string,Object>;
/**
* Optional User key. When calling the API, defaults to the current (calling) user's primary key. For impersonation purposes, the caller may use the key of another user, provided that the proper authorizations have been given by the impersonated user
*/
owner: string;
/**
* File path
*/
path: string;
/**
* User field for traceability of requests. Synchronous SDK APIs use this field for you.
*/
requestId: string;
/**
* File tags
*/
tags: Set[String];
}