Files & Folders

This snippet is intended for users who'd like to retrieve specific item information and create and upload files and folders within Project Insight.

curl -X GET \{ITEM_GUID} \
  -H 'api-token:{API-TOKEN} ' \
  -H 'cache-control: no-cache' \

When creating file items in Project Insight, you'll need to specify the file content to be upload. Note: You'll need to set a Base64 Encoded file or set the file stream (FileContentsAsStream property on the model).

curl -X POST \ \
  -H 'api-token:{API-TOKEN} ' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -d '{
	"Name":"Testing File Upload",

Online 12/11/2017