Sony Digital Rapids Pixel Power calrec Sony

Importing placeholders, items, and files into Cantemo Portal


Often times you will want to use third party tools to create files and related items in Portal rather than uploading, importing from storage, or using an auto-import folder.

Here is the process I took which worked in registering both a new element available in a storage as well as adding different shapes to it. Hopefully it helps and is easy to replicate. I did it all with curl, but using anything else that can post should work fine.

First, we create a placeholder. I DIDN'T apply a settings profile to the placeholder, which means that it takes on the properties of the user that is authed in the API:

curl --data titleA Movie -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/import/placeholder?container=1&settings=VX-1 This gives me back the id of my new placeholder (assuming it all worked)

Next, I figured out what the VS ID of the master file was. In this case, I have two files, and Amovie_lowres.mp4.

curl -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/storage/VX-4/file/byURI; This returns the following XML:

VX-1542 file:///media/flowrage/Space/Cantemo/Ingest/ OPEN 151672745 2014-12-17T16:39:26.708-05:00 1 VX-4 atime 1418852349000 created 1416580881000 mtim 1416580881000 From this, I now know my file has an ID of VX-1542. I can now register it to my placeholder (VX-442). I've made an ingest profile called API for this case that does NOT have any automatic shapes created.

curl --data -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/import/placeholder/VX-442/container?jobmetadata=portal_groups:StringArray%3dAPI&fileId=VX-1542 On success I get back the job ID

> VX-829 admin 2014-12-17T21:52:21.187Z READYPLACEHOLDER_IMPORT MEDIUM Now I can register my lowres shape as well. Note that you have to have a shape name in Portal to register too, so you can't just make up a shape name here. You can make a transcode profile that is dummy since you'll never actually use it to transcode if you like. Repeat the first step to get my ID:

curl -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/storage/VX-4/file/byURI;path=Amovie_lowres.mp4 Which returns:

VX-1543 Amovie_lowres.mp4 file:///media/flowrage/Space/Cantemo/Ingest/Amovie_lowres.mp4CLOSED 11000050 7ec6c34713c630264946a6199726fd01407ab7af 2014-12-17T16:45:28.266-05:00 1 VX-4 atime 1418852678000 created 1418852360000 mtime 1418852360000 So now I have my lowres ID, I can register it:

curl --data -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/item/VX-442/shape?tag=lowres&fileId=VX-1543 Which gives me the job doc again:

VX-832 admin 2014-12-17T22:00:22.491Z READY SHAPE_IMPORT MEDIUM Last but not least, we trigger thumbnail creation

curl --data -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/item/VX-442/thumbnail/?createThumbnails=true&createPoster This dumps out my final job ID:

VX-834 admin 2014-12-17T22:01:56.768Z READY THUMBNAIL MEDIUM Now I can hop to my Portal and make sure it all looks good in reality.
See more stories from cantemo

More from Cantemo


iconik + TrueNAS, A Turnkey Hybrid Cloud with Media Management

Cantemo and iXsystems have partnered to integrate an affordable and flexible hybrid cloud storage and media management solution for media and entertainment (M&E...


Meet Cantemo at NAB Show 2019

What happens in Vegas, Im telling everyone. Dane Cook The NAB Show is one of our most exciting events to attend every year. It's never a dull moment with...


Cantemo Portal XSS Vulnerabilities

Notice Multiple Cross-Site Scripting vulnerabilities have been found in Cantemo Portal . A successful exploit could lead to users with access to the system obta...


International Military Sports Council Deploys Cantemo iconik

iconik enables easy search and share for military sports organisation Stockholm, Sweden, 05 February 2019 - Cantemo is happy to announced that its cloud video h...


Cantemo Portal 4.0 Release

Cantemo Portal 4.0 is the largest release in four years. This has been the result of a growing team and working closely with our customers, who run some of the...


iconik and Base Media Cloud Partner for Easy Media Collaborations

Cantemo and BASE Media Cloud Partner to Deliver Integrated Cloud Services for Little Dot Studios We're excited to share that we've partnered with BASE ...


Predictions for 2019

Throughout 2018, several trends dominated headlines. It's my belief that 2019 will see many of these remain centre stage, but there's no doubt that exci...


OCS Deploys Cantemo iconik to Automate its Collaboration Workflows

Cantemo announced today that OCS, a group of subscription-based TV channels operated by Orange in France, is implementing its cloud video hub, iconik, to automa...


NMR Consultancy Integrates iconik and Brightcove's OVP for Streamlined Asset Distribution and Monetisation

Cantemo, a provider of next-generation media management solutions, and NMR, a me...


The Five Most Common Misconceptions about Moving Media Management to the Cloud

There are many misconceptions surrounding what moving to the cloud really entails, and what the true benefits of a cloud infrastructure are. In this blog post, ...


Cantemo and Backblaze Launch Integrated Cloud Management and Storage Solution. Announces first joint customer, Everwell

Cantemo and Backblaze have launched an integrated solution to deliver a cost-eff...


Cantemo Announces API Integration with AWS Elemental Server

Cantemo announced today an API integration between Cantemo iconik and Amazon Web Services (AWS) Elemental Server. Video providers increasingly need to enable m...


Cantemo to Showcase Latest Integrations for the Adobe Video Tools with iconik, the AI-Enabled Video Management Hub, at IBC 2018

Cantemo, a provider of next-generation media management solutions, will introduc...


Discover The True Meaning of Next-Gen Media Management at IBC

Want to know why Cantemo Portal is the solution chosen by some of the worlds biggest media and entertainment brands to manage billions of Euros worth of content...


Cantemo Introduces Major Upgrades to Media Management Solution, Cantemo Portal, at IBC 2018

Cantemo, a provider of next-generation media management solutions, is to offer a...


Could AI really revolutionise the way we produce and manage content?

Never has there been such a need for video content to be so compelling and available on multiple devices and platforms instantly. With so much competition for v...


Importing placeholders, items, and files into Cantemo Portal

Often times you will want to use third party tools to create files and related items in Portal rather than uploading, importing from storage, or using an auto-i...


Asset Management for OTT

Competition in the OTT space is at an all-time-high. Faced with an increasingly saturated market, OTT providers must innovate if they want to succeed, by offeri...


Your Personal Data is Safe with Us

What is GDPR? The law is changing with regards to how companies use peoples data. From May 25th this year, the EU General Data Protection Regulation (GDPR) wil...


Welcome to Portal 3.4 Featuring Time-based Commenting and Single Instance Metadata!

At Cantemo, we are continually updating our solutions to deliver the right tools...


Cantemo Introduces Time-based Commenting and Single Instance Metadata in Cantemo Portal 3.4

Cantemo has launched the latest version of its Media Asset Management solution, ...


Cantemo Announces API Integration between iconik and AWS Elemental MediaConvert

Cantemo announced today an API integration with Amazon Web Services (AWS), featuring interoperability between Cantemo iconik and AWS Elemental MediaConvert. Th...


Cantemo is Heading to Las Vegas!

Next week, the Cantemo team will be heading to Las Vegas for NAB 2018! NAB is one of the biggest shows in our calendar so we have a number of exciting things pl...


Building Workflows for a Video-First World at BVE 2018

Last month, NMR exhibited at BVE 2018 at the Excel in London. At our booth, we demoed Cantemo Portal and the new hybrid-cloud hub for managing video, iconik. Lo...


Cantemo announces extension of integration with Adobe Creative Cloud applications at NAB

Cantemo, a provider of next-generation media management solutions, has introduce...


Cantemo to Showcase Video Intelligence for Media Management at NAB 2018

Cantemo, a provider of next-generation media management solutions, is to showcase its hybrid-cloud media management platform, iconik, at NAB 2018, along with th...


Cantemo and Object Matrix Deliver Hybrid Cloud Workflow Integration of iconik and MatrixStore

Cantemo and Object Matrix have announced an integration between Cantemos hybrid ...


Introducing Cantemo Portal 3.3

With the launch of iconik, our new cloud hub for managing video, were bringing about new ways of working together and reducing the complexity around managing im...


Cantemo Launches Hybrid-cloud Media Management Hub, iconik

Cantemo, a provider of next-generation media management solutions, has launched Cantemo iconik , a cloud-based hub for video management. It enables stakeholde...


Another Year of Growth for Cantemo, Ranked in Deloitte Sweden Technology Fast 50

As we near the end of 2017, it feels great to say Cantemo has yet again been recognised by Deloitte as one of Swedens fastest growing technology companies for t...


Vidispine Meets Arvato

If you have been following the news today, you may well have seen that our longstanding partner, Vidispine, has been acquired by Arvato Systems. Firstly, I woul...


Cantemo nominated as a DI Gasell Company

Sweden: the home of Volvo, Ikea, Spotify and Cantemo of course! Our country has a rich heritage of successful, multinational companies, known all around the wor...


Get to grips with hybrid workflows by visiting Cantemo at NAB New York

Every organisation producing video is different, and this is something we can confirm with absolute certainty thanks to years of experience in the media managem...


Why are Tradeshows like NAB New York so Essential to Companies Like Us?

It feels like weve only just recovered from IBC but its now almost time to head across the pond for NAB New York at the Javits Convention Centre. Although NAB ...


How to adopt a hybrid approach to your assets

Adopt a Hybrid-cloud Approach to Managing your Assets with the help of this FREE whitepaper. The Cloud has become a hot topic of conversation in the storage wo...


How to adopt en hybrid approach to your assets

Adopt a Hybrid-cloud Approach to Managing your Assets with the help of this FREE whitepaper. The Cloud has become a hot topic of conversation in the storage wo...


5 Reasons to Visit Object Matrix at IBC 2017

The broadcast industrys shining beacon of the year is always IBC in Amsterdam. Where better to go to immerse yourself in the amazingly innovative nature of our ...


5 Reasons to Visit Glookast at IBC 2017

1. See what a distributed, scalable, load-balanced, multi-user, media and metadata ingest platform can do for you The new Glooport media|producer is a truly in...


Cantemo to Showcase Hybrid Cloud Media Aggregation Platform, iconik, at IBC Show

Cantemo, a provider of next generation media management solutions, has announced it will be demonstrating its newest solution, iconik, at IBC 2017. The solution...


Why Internships and Work Experience are Vital for Students

Im coming to the end of my work experience at Cantemo, having been here since the end of University term back in June. Im pretty sad to see the end of what has ...


Cantemo Portal 3.2 Improves Search and Error Resolution

Latest Version of Portal to be demonstrated at IBC Cantemo has announced the latest update to its media management solution, Cantemo Portal. Cantemo Portal 3.2...


Introducing Cantemo Portal 3.2

The media production and distribution industry is forever evolving at a rapid pace. Most corporations recognise the advantageous effect of using video content t...


CTM Solutions Hosts a Day of Technology on the Seine in Paris

On the 29th June, technology providers and industry professionals were invited to a day dedicated to the celebration of media technology. The event was organise...


Digital Content Governance the Clever Storage

In the media and broadcast industry, we all know that the essential aspect is maximising value from created content. Its important to be able to access the righ...


Cantemo Portal 3.1 increases user efficiency and control

The release of Cantemo Portal 3.1 features an increase in efficiency and better control for users. The latest edition of Cantemos Media Asset Management (MAM) s...


Cantemo Launches Hybrid Cloud Media Aggregation and Collaboration Platform, iconik

Cantemo has today announced the launch of the beta version of its hybrid cloud m...


Cantemo Announces Integrations with Latest Version of Adobe Premiere Pro CC at NAB 2017

Cantemo today announced that its flagship Media Asset Management system, Cantemo...


ProSiebenSat.1 Selects Cantemo Portal to Replace Current Media Asset Management System

Cantemos Media Asset Management system, Portal, is to be integrated as part of a...


Surveying the Future of Tech at the Next Web

Last month, we were lucky enough to have the chance to attend The Next Web Conference in Amsterdam as one of only 12 organisations invited by Business Sweden to...


How do you make 75 000 SEK just by having the right friend?

Lets put it simply. Were looking for a Senior Backend Developer. And if you find him/her, well give you 75000 SEK. Its actually that simple. But were not lookin...