This is a Postman collection for working with WoodWing Assets. The collection itself contains, at this time, a subset of the available API calls. Those that are included in the collection are noted below. All of the Assets API documentation can be found here: [Woodwing Helpcenter] (https://helpcenter.woodwing.com/hc/en-us/sections/360008455892-APIs-REST).
In some cases we have added parameters to the calls so that they may be more useful as a starting point.
When creating this collection we considered three parts of Postman's capabilities:
- Collections
- Environments
- Flows (part of Postman 10)
Please note that to use this collection you will need to create your Environment and, if you wish to use Flows, you'll need to create those as well. Farther down we have included videos to help out with that process.
The relationship between the Collection and the Environments is particularly helpful. Environments allows us to create variables, attach values to the variables and then pass the variable value(s) to subsequent calls. The variables can be used calling each individual call within the collection or you can set up a Flow to use them.
In our environment, named 'WoodWing Assets', we have 11 variables:
- Assets_Server_URL - referenced in the collection as {{Assets_Server_URL}}
- username - referenced in the collection as {{username}}
- password - referenced in the collection as {{password}}
- Current X-CRSF-TOKEN - referenced in the collection as {{Current X-CRSF-TOKEN}}
- api_user_name - referenced in the collection as {{api_user_name}}
- api_password - referenced in the collection as {{api_password}}
- authToken - referenced in the collection as {{auth_token}}
- ids - referenced in the collection as {{ids}} => meant to be an array of Assets IDs
- id - referenced in the collection as {{id}} => Individual ID of an asset
- folder_id - referenced in the collection as {{folder_id}}
- external_engine_id - referenced in the collection as {{external_engine_id}}
Here is a short video showing how Collections and Environments work:
Flows are for the creation of a complete set of calls and responses to the API endpoint. Seeing is believing so here is a short video showing the basic creation and usage of a Flow using the Collection and the Environment:
- v0.1 - Initial release of the collection
- v0.2 - Extensive changes to the collection. All 'Assets' calls are now included in the collection. I've added a variety of variables to an environment and use those variables through the collection.
- v0.3 - Extensive changes to the collection. Added External Processing and Metrics. Added Environment file and description of variables in the Environment file.
- Standard Login and Logout
- API Login and Logout Logout
- Metadata report call asking for JSON and using a query to get all assets with status of Production
- Metadata report call asking for CSV and using a query to get all assets with status of Production
- Metadata report call asking for JSON and using the assetPath parameter
- Metadata report using 'login', JSON and a 'assetPath' query
- Browse
- Search
- Create
- Copy
- Checkout
- Undo Checkout
- Move / Rename
- Remove
- Update bulk
- Update / check in
- Versioning and History
- Log Usage Stats
- Create Relation
- Remove Relation
- Create Auth Key
- Update Auth Key
- Revoke Auth Key
- Create Folder
- Rendition Preset - List
- Rendition Preset - List All
- Rendition Preset - Save / Update
- Rendition Preset - Remove
- Localization
- Profile
Note that these calls are documented within the Management Console of Assets.
- Create Asset
- Create Asset - API Upload
- Search
- Signed Image Rendition URL
- Signed Original URL
- Signed Preview URL
- Signed Thumbnail URL
- Get Specific Asset
- Download Asset Original
- Upload Asset (Multi-part form) [POST]
- Upload Asset (Multi-part form) [PUT]
- Download Asset Preview
- Download Asset Thumbnail
- Create Sharelink
- Create Folder (with metadata)
- Get Folder by Path
- List folders
- Folder Search
- Get Folder by id
- Update Folder Metadata
- Delete Folder
- Create External Engine
- Get All External Engines
- Get External Engines by ID
- Update External Engines by ID
- Delete External Engines by ID
- Delete All External Engines
- Get Assets Metrics