Recipe
Create a public file
Create a public file
1
1. Use a `blob` parameter to set blob fields
2
2. Set a content type of the file
Use a
content-type
parameter to set a content type of the file.3
3. Set a name of the file
Use a
name
parameter to set the name of the file.4
4. Set a file as public
Set a
public
parameter as true to make a file public.5
5. Set tags to a file
Use a
tag_list
to assign tags to a file.6
6. As a result, the API returns a newly created public file.
Create a private file
Create a private file
1
1. Use a `blob` parameter to set blob fields
2
2. Set a content type of the file
Use a
content-type
parameter to set a content type of the file.3
3. Set a name of the file
Use a
name
parameter to set the name of the file.4
4. As a result, the API returns a newly created private file.
Body Parameters
Headers
A user or application session token. See Authentication page to learn more about session tokens. Must be used either QB-Token or Authorization.