
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, Amovie.mov and Amovie_lowres.mp4.
curl -H Content-type: application/xml -u admin:admin http://cantemo:8080/API/storage/VX-4/file/byURI;path=Amovie.mov This returns the following XML:
VX-1542 Amovie.mov file:///media/flowrage/Space/Cantemo/Ingest/Amovie.mov 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.
More from Cantemo
18/06/2025
Media asset management transformation isnt about replacing old technology with new technology. Its about transforming how people work. After analysing dozens of...
02/06/2025
TF1, the leading French commercial broadcaster, have signed a contract for Cantemo and Accurate.Video and JIT, as well as Digital Services and 24/7 support, as ...
21/03/2025
Paramount is transforming its operations by unifying the media supply chains of their top brands into a scalable global pipeline.
This transformation enhances ...
11/02/2025
User experience (UX) isnt just about functionality its about making the entire journey enjoyable and intuitive. In media, both consumer-facing platforms and i...
17/12/2024
In todays media landscape, where tight budgets and heightened cost consciousness are common, user experience (UX) plays a crucial role in streamlining workflows...
06/12/2024
Codemills approach to AI focuses on solving real-world problems through user-centric tools like Accurate.Video. By streamlining compliance, localization, and qu...
05/12/2024
Balancing innovation with financial responsibility is vital for medias future. Codemills tools like Accurate.Video streamline workflows, integrate AI for effici...
29/11/2024
In todays media landscape, ensuring that content complies with regulatory standards and cultural sensitivity is critical. Compliance editing is an important com...
10/09/2024
Accurate.Video is specifically crafted to assist media companies in streamlining their subtitle management process, ultimately saving valuable time and resource...
03/07/2024
Codemill, a leading developer of cloud-native media applications, is pleased to ...
29/04/2024
Codemill aims to revolutionize media workflow efficiency at this years NAB Show by introducing Just-In-Time (JIT) playback technology in Accurate.Video Validate...
05/04/2024
This year at NAB 2024, Codemill will unveil its latest advancements in media workflow solutions and subtitle management tools. This marks a significant step for...
07/03/2024
Ume , Sweden, 4th March 2024 - Codemill (Nasdaq: CDMIL.ST) announced the release of Cantemo 6, a significant update to its Media Asset Management (MAM) softwar...
05/03/2024
Ume , Sweden, 4th March 2024 - Codemill (Nasdaq: CDMIL.ST) announced the release of Cantemo 6, a significant update to its Media Asset Management (MAM) softwar...
04/03/2024
Today when content libraries keep growing and attention spans are shrinking, the evolution of advertising has become paramount. Research conducted by Vionlabs s...
21/02/2024
In the fast-paced world of media distribution, efficiency is key. One of the critical components of a streamlined media supply chain is the careful curation of ...
02/02/2024
The Launch Template Architecture in Accurate.Video brings a range of exciting po...
04/12/2023
In the dynamic world of media and entertainment, the efficiency of content management is pivotal to success. Content ingest, the process of acquiring, validatin...
29/11/2023
From our colorful office in Ume , UX designer Alice Risholt works on cool projects together with major media companies around the world.
- This means that you...
08/11/2023
In media production, precision is the foundation of success. From ensuring quality control and compliance to refining editing and localization, every facet of c...
14/09/2023
Codemill launches Accurate.Video as a Service
Ume , Sweden, 13th September 2023 Codemill (Nasdaq:CDMIL) has announced a new and efficient feature for Accurate...
13/09/2023
Codemill announces a new Accurate.Video integration with Ortana Media Group
Codemill announces a new Accurate.Video integration with Ortana Media Group and th...
06/09/2023
Ad-supported video services are on the rise. Consumers are much more willing to sit through ads for free access to the content they want. At the same time, they...
30/08/2023
As AVOD models gain traction, the combination of automation and human intuition will ultimately help deliver the right balance for both viewers and advertisers....
24/07/2023
It all Starts with a Single Step
Its time to set out on a journey of design discovery! A well designed user experience fulfils its purpose perfectly, but must ...
02/06/2023
Mo Media, Mo Problems
Wheres my stuff?
Entertainment providers and broadcasters dont exactly pack light. Huge content archives of valuable assets mean th...
19/05/2023
Its a jungle out there in the world of content streaming, and its time for entertainment providers to explore new subscription models and uncharted territory.
...
26/04/2023
Entertaining the World at NAB - Lets Make it Happen
The NAB Show Centennial is here! The show is as influential as ever, but media workflows have changed beyon...
20/04/2023
Variety is the Spice of Life
Video on Demand platforms thrive on the diversity of content they offer, providing audiences with a vast amount of choice across m...
20/04/2023
Context is the Key
Managing content at scale is an ongoing challenge for media organisations. Across every genre, every platform, and every region, the appetit...
13/04/2023
Ume , Sweden, 12th April 2023
Codemill (Nasdaq: CDMIL) has announced a new Accurate.Video integration with Backlights iconik media asset management (MAM) solu...
12/04/2023
Leading the Way Through the Media Maze
There is a solution for every problem, although it may not be clear at first. Within the media and entertainment sector,...
12/04/2023
Ume , Sweden, 11th April 2023
Codemill (Nasdaq: CDMIL) has announced that its feature-rich video, audio, and subtitle framework Accurate Player SDK, has been ...
31/03/2023
In the entertainment age, competition for viewers is fierce. Linear channels need to attract bigger audiences, by promoting show highlights during scheduled bre...
23/03/2023
Context is the Key
Managing content at scale is an ongoing challenge for media organisations. Across every genre, every platform, and every region, the appetit...
16/03/2023
Cutting to an ad-break in the middle of a crucial scene is never a good idea. Ad-breaks during episodic or feature length content must make sense to the viewer ...
10/03/2023
Variety is the Spice of Life
Video on Demand platforms thrive on the diversity of content they offer, providing audiences with a vast amount of choice across m...
02/03/2023
Joining the Dots in a Bigger Picture
Streaming services are seeing demand rise like never before. Consumers want more content, and they want it now. As a resu...
24/02/2023
The Remix Promotes the Original
As the competition for viewers heats up, Video-on-Demand providers continue to expand their services into new regions. This is ...
23/02/2023
The Remix Promotes the Original...
15/02/2023
All Rivers Meet the Sea...
08/02/2023
A Window into your Metadata...
02/02/2023
Making it Picture Perfect...
25/01/2023
The Beauty of Precision...
18/01/2023
Diving in the Deep End of the Media Pool...
11/01/2023
As media companies work to meet the ever-increasing demand for content, workflows are evolving to become more flexible, efficient, and competitive. Cloud-based ...
06/01/2023
Ume , Sweden, 5th January 2023 - Codemill (Nasdaq: CDMIL) has released new ad-break functionality within its cloud-native, media operations solution, Accurate....
07/11/2022
Consumers are spoilt for choice when it comes to the range of video content now available to them. Whether they enjoy a one-off, true crime documentary or prefe...
07/11/2022
In any programme or application creation, the user interface (UI) and user experience (UX) are vital when building a platform designed with consumers in mind. U...
12/07/2022
Prior to the outbreak of the pandemic, editing workflows were mostly tethered to physical infrastructure and fixed on-premises workstations. While a few forward...