1.5
Table Of Contents
- Table of Contents
- Welcome to the PlanetPress Connect REST API Cookbook
- Technical Overview
- Working Examples
- REST API Reference
- Authentication Service
- Content Creation Service
- Content Item Entity Service
- Content Set Entity Service
- Data Record Entity Service
- Data Set Entity Service
- Data Mapping Service
- Content Creation (Email) Service
- File Store Service
- Content Creation (HTML) Service
- Job Creation Service
- Job Entity Service
- Job Set Entity Service
- Output Creation Service
- All-In-One Service
- Copyright Information
- Legal Notices and Acknowledgments
Upload Directory
Submits a zipped directory to the File Store using a specific Managed File ID (or Name).
Request takes zipped file data as content, and on success returns a response containing the
Managed File ID (or Name) used for the directory.
Type: POST
URI:
/rest/serverengine/filestore/dir/{fileId}
Parameters:
Path:
l fileId – the Managed File ID (or Name) for directory in File Store
Request:
Add.
Headers:
auth_token – Authorization Token (if server security
settings enabled)
Content: Directory (as zipped file)
Content
Type:
application/octet-stream
Response:
Add.
Headers:
-
Content: Managed File ID (or Name)
Content
Type:
text/plain
Status:
l 200 OK – Directory successfully uploaded to File
Store
l 401 Unauthorized – Server authentication required
Page 312