Skip to content
  • There are no suggestions because the search field is empty.

Core REST Interface 📰

Get detailed information on your bespoke application by calling the core endpoint

Contents


Introduction

This endpoint uses a signed string to authenticate your connection. To help you to use the endpoint we have supplied a postman script to generate your signed string. This can be found here.


Resource URL 

https://{MEDIACONTROLCENTRE_HOST}[:PORT]/core/v1/application


Resource Information

Response formats XML & JSON
Requires authentication? Yes (Signed String)
Required scope(s) None

 

 

 

 

 


Parameters

None


Response

Returns the application details in XML format on success (OR JSON if your standard HTTP Accept header specified application/json). Returns standard error response on failure.


Pre-signed script

Add this pre-signed script to your postman collection or request. 

// SET THE IMAGEN DATE HEADER AND GENERATE SIGNATURE
var headerDate = new Date().toUTCString();
pm.globals.set("apiDate", headerDate);
console.log(`Date header value: ${headerDate}`);

// Access the application secret
var secret = pm.globals.get("apiSecret");

// Use CryptoJS to create a signed hash
var hmac = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, secret);

// HTTP verb
hmac.update(pm.request.method + "\n");

// Content-Length (blank)
hmac.update("\n");

// Content-MD5 (blank)
hmac.update("\n");

// Content-Type (blank)
hmac.update("\n");

// Date
hmac.update(headerDate + "\n");

// Canonical resource
// Does not resolve variables in request path, so use literal path in request for the correct signature
// If you want to exclude query part, use pm.request.url.getPath() only
hmac.update(pm.request.url.getPathWithQuery()) 

var hash = hmac.finalize();
var signature = CryptoJS.enc.Base64.stringify(hash);

// Set the new variable
pm.globals.set("apiSignature", `HMAC-SHA256 ${signature}`);
console.log(`Signature header value: HMAC-SHA256 ${signature}`);

XML

Example Request - curl

curl --location --request GET 'https://{your_MCC_FQDN}:83/core/v1/application' \
--header 'X-Imagen-API-Key: snm***************qd3 ' \
--header 'X-Imagen-API-Signature: HMAC-SHA256 fDF*****************Q=' \
--header 'X-Imagen-Date: Wed, 06 Jul 2022 10:58:29 GMT' \
--header 'Accept: application/XML'

Example Response- XML

<?xml version="1.0" encoding="UTF-8"?>
<Response>
    <Application>
      <APIKey>snm**************m6d</APIKey>
      <SecretAccessKey>AJ7*********************HH4</SecretAccessKey>
      <Name>API Example</Name>
        <Created>2022-04-19T09:58:38Z</Created>
        <Enabled>1</Enabled>
        <RedirectURI></RedirectURI>
      <Contact>support@imagen.io</Contact>
      <Website>imagen.io</Website>
      <Description>This is an example application</Description>
        <Logo></Logo>
        <DeveloperEmail>superadmin@imagenevp.com</DeveloperEmail>
        <ApplicationType>installed</ApplicationType>
        <DatabaseID>1</DatabaseID>
        <Scopes>
            <Scope>
                <Name>databases</Name>
                <Description>Access all databases</Description>
            </Scope>
            <Scope>
                <Name>readUsersData</Name>
                <Description>View records, media and collections</Description>
            </Scope>
            <Scope>
                <Name>modifyUsersData</Name>
                <Description>View and modify records, media and collections</Description>
            </Scope>
            <Scope>
                <Name>manageJobs</Name>
                <Description>Manage all jobs and workflows</Description>
            </Scope>
            <Scope>
                <Name>impersonateUsers</Name>
                <Description>Impersonate users without an OAuth access token</Description>
            </Scope>
            <Scope>
                <Name>roles</Name>
                <Description>Search for any user or group</Description>
            </Scope>
            <Scope>
                <Name>createJobs</Name>
                <Description>Create and manage workflow jobs</Description>
            </Scope>
            <Scope>
                <Name>files</Name>
                <Description>Can manage Imagen StorageService files</Description>
            </Scope>
            <Scope>
                <Name>modifyRoles</Name>
                <Description>Modify users and email users</Description>
            </Scope>
        </Scopes>
    </Application>

JSON

Example Request - curl

curl --location --request GET 'https://{your_imagen_MCC_FQDN}:83/core/v1/application' \
-header 'X-Imagen-API-Key: snm*************m6d ' \
--header 'X-Imagen-API-Signature: HMAC-SHA256 chX************************************o=' \
--header 'X-Imagen-Date: Wed, 06 Jul 2022 10:54:49 GMT' \
--header 'Accept: application/json'

Example Result - JSON

{
   "Application": {
       "APIKey": "snmfDDQ4bHnohZzKRm6d",
       "SecretAccessKey": "AJ7O12BBKZ6DvN3bYjQm8iiOmujhG5YzIi7NoHH4",
       "Name": "API Test",
       "Created": "2022-04-19T09:58:38Z",
       "Enabled": 1,
       "RedirectURI": "",
       "Contact": "martyn.double@imagen.io",
       "Website": "",
       "Description": "",
       "Logo": "",
       "DeveloperEmail": "superadmin@imagenevp.com",
       "ApplicationType": "installed",
        "DatabaseID": "1",

       "Scopes": [
           {
               "Name": "databases",
               "Description": "Access all databases"
           },
           {
               "Name": "readUsersData",
               "Description": "View records, media and collections"
           },
           {
               "Name": "modifyUsersData",
               "Description": "View and modify records, media and collections"
           },
           {
               "Name": "manageJobs",
               "Description": "Manage all jobs and workflows"
           },
           {
               "Name": "impersonateUsers",
               "Description": "Impersonate users without an OAuth access token"
           },
           {
               "Name": "roles",
               "Description": "Search for any user or group"
           },
           {
               "Name": "createJobs",
               "Description": "Create and manage workflow jobs"
           },
           {
               "Name": "files",
               "Description": "Can manage Imagen StorageService files"
           },
           {
               "Name": "modifyRoles",
               "Description": "Modify users and email users"
           }
       ]
   }
}

 

Accessibility 👍Welcome to Imagen!Automated transcription (Speech-to-Text) 👨‍🎓Welcome to Imagen!Developers' Guide 📕 🔒Welcome to Imagen!How We Can Help You Onboard Your Content 📕Welcome to Imagen!Introduction to Imagen 📕Welcome to Imagen!Onboarding Guide 📕Welcome to Imagen!The Imagen Transcoder Farm 📕Welcome to Imagen!The Imagen Video Player 📕Welcome to Imagen!Storage Availability 🤔Welcome to Imagen!Storage Options 🤔Welcome to Imagen!Storage Security 🤔Welcome to Imagen!Which Theme Is Right for Me 🤔Welcome to Imagen!Why Is User Experience So Important? 🤔Welcome to Imagen!Imagen Term Glossary 📰Welcome to Imagen!Supported Browsers 📰Welcome to Imagen!Video Player Keyboard Shortcuts 📰Welcome to Imagen!What is a Media Object Timeline 👩‍🎓Welcome to Imagen!Newbie Checklist 👋Welcome to Imagen!Activity History ⚡FindGoogle Analytics 👩‍🎓FindAdding Annotations to Your Video Content ⚡FindAnnotation Layers 📕FindAnnotations Guide📕FindExporting Annotations ⚡FindGenerate Subtitles for Audio Content ⚡FindGenerate subtitles for video content ⚡FindGrouping Annotations on Export ⚡FindImagen Subtitle Guide 📕FindReordering Objects Within a Collection 📕FindCustom ReportingFindHow can I see the Open-Source Programming Languages used by Imagen? 🤔FindIf I search on the homepage, I get one type of search URL. But I get a different kind of URL on the "Search Results Page" 🤔FindMy search results seem out of date ⚠️FindWhat metadata does Imagen extract from my video content? 🤔FindImagen Query Language - Media Viewer Widget ⚡FindImagen Query Language Reference 📰FindUnderstanding Imagen Query Language 👨‍🏫FindArtificial Intelligence ServicesFindDescriptive Metadata Fields 📕FindExtracting Image Metadata on Import ⚡FindField Types and Record Schema 📕FindImagen Query Language - Related Records View ⚡FindImagen Query Language Guide 📕FindImagen XML Schema Mapping (XSLT) 📕FindSingle/multi-select fields - remote validationFindActivate a Language license ⚡FindChange My Default Language ⚡FindDisplay Multilanguage Annotations ⚡FindHow to configure multilanguage logos ⚡Findlanguage packs 📕FindCreating Parent/Child Field DependenciesFindDeleting RecordsFindRecords & Media Objects 📕FindUpdating Records ⚡FindAdd Fields to the Search Index ⚡FindAdding a filter to the search page ⚡FindAdvanced Search Reference 📰FindSaved Searches 📕FindSearch Index Guide 📕FindUpdating the Imagen Search Index ⚡FindBespoke Ingestion 📕StoreWhat is a 'Watchfolder'? 📕StoreImport from Dropbox ⚡StoreImport from OneDrive ⚡StoreUsing the Record (XML) Import Widget ⚡StoreCan non-media file types still be uploaded to Imagen?🤔StoreCreate a record with media ⚡StoreCreate an empty record with metadata ⚡StoreCreate Imagen XML in Excel 👩‍🎓StoreCreate multiple records, each with a single piece of media ⚡StoreImagen Media Workflows 📕StoreImport Media from a URL ⚡StoreMedia Import and Ingestion 📕StoreOptions for Onboarding your Metadata and Media 🤔StorePFR (Partial File Restore) and Segments 📕StoreWhat information do you store about my video during ingest? 🤔StoreBurnt-in Timecodes (BITC) 📕StoreThe Imagen Image Editor ⚡StoreWatermarking ⚡Store.PDF ViewerStoreAdd a Document Viewer ⚡StoreConfiguring Amazon S3 Intelligent-TieringStoreStorage Costs 📕StoreStorage Profile Reference 📄StoreStorage Replication 🌐StoreSupported File Types 📰StoreConfiguring Amazon S3 Storage TutorialStoreConfiguring Wasabi Storage TutorialStoreStorage LocationsStoreWhy Has My Media Failed to Ingest to Wasabi? 🤔StoreConfiguring "Download Profiles" ⚡DistributeInstalling and Using Imagen Accelerated File Delivery (AFD) ⚡DistributeOrdering Clips on Behalf of Other Users 📕DistributeEdit Live Stream Notification Emails ⚡DistributeImagen Live Connect API 📰DistributeAd-hoc PaymentsDistributeIntroduction to Content Licensing 📕DistributePrep: Imagen License and Stripe Accounts ⚡DistributeShopping Basket Configuration📄DistributeShopping Baskets 📕DistributeSubscription Configuration ⚡DistributeSubscription Overview 📕DistributePOST /iweb/v1/notification 📰DistributeAnonymous Sharing Links to Collections (Septeber Release)DistributeCollections 📕DistributeEmbedding Media on External SitesDistributeShare media with unregistered usersDistributeSocial Media PublishingDistributeSunrise/Sunset Dates for Open Access Links ⚡DistributeCreate an MRSS Feed ⚡DistributeImagen Live Connect 📕DistributeImagen MRSS Feed Response 📰DistributeOver the top (OTT) Delivery 📕DistributeBatch Editing Record & Media ACLManageCustom ACLsManageSet When Your Users Can Access Your Content ⚡ManageSetting Default Access Control Lists (ACL) for Records, Media, and Collections ⚡ManageSetting Record & Media Access Control Lists (ACL)ManageWhat are "ACLs"? 🤔ManageChanging Your Theme ⚡ManageDisplay banners on your site 👩‍🎓ManageI want to add a theme, which is right for me 🤔ManagePreview a theme before you commit ⚡ManageAdding Users to Groups ⚡ManageSet Permissions for a Group of Users ⚡ManageDynamic form ⚡ManageImagen Query Language - The Carousel Widget ⚡ManageMap Viewer Widget ⚡ManageWidgets 📕ManageAdobe Premiere Pro IntegrationManageCache Page 📄ManageCookies Page 📰ManageDisplay Fields 📄ManageEmail 📄ManageEnvironment Page📰ManageFederations 📰ManageGeolocation database 📰ManageGlobal Settings Page 📄ManageHealth Check Page 📰ManageMailing List 📄ManageMaintenance Mode 📄ManageThe Imagen Admin Interface Directory 📋 (Private)ManageUpdate Page 📰ManageUser Intelligence 📕ManageCreate an OrganisationManageAdding users to user groups through organisations ⚡ManageConfiguring Federated SSO ⚡ManageConfiguring your SSO service provider ⚡ManageGuide to SSO 👩‍🏫ManageI'm being sent back to ImagenWeb from the IDP but I can't get any further 🤔ManageCustom Cookie Policy (Javascript) TutorialManageImagen Event ServiceManageBanning a User from Site Access ⚡ManageClear Users That Have Not Been ValidatedManageCreate a Custom Registration ProcessManageCreating Custom Registration FieldsManageCreating request/approval relationships ⚡ManageCustomizing your Login Page ⚡ManageGrant a User Administrator PermissionsManageGrant a User Developer PermissionsManageGranting Site Permissions to an Individual User ⚡ManageGuide to Building Access Control 📕ManageIntroduction to Users, Groups, and Organisations 📕ManageManage Permissions with Imagen 📕ManagePreview Only AccessManageRestrict user sign-ups by geographyManageSetting User Signup RulesManageUser Permissions 📰ManageHow do I add reCAPTCHA to my Imagen siteManageCore REST Interface 📰DevelopersGET /api/v1/endpoints 📰DevelopersGet /core/v1/application 📰DevelopersGET /imcc/v1/job/list 📰DevelopersGET /licenceStatus/📰 WIPDevelopersGET /user/ 📰DevelopersGET history 📰DevelopersGET imcc/v1/job/count 📰DevelopersGET job/search📰DevelopersGET rights 📰DevelopersPut /imcc/v1/job 📰DevelopersAuthentication via Signed String📰DevelopersHow to authenticate API calls with a Bearer token 📰DevelopersCreating an Application in Imagen ⚡DevelopersGaining a Bearer Token ⚡DevelopersGET /iweb/v1/search 📰DevelopersImagen API Documentation 📕 🔒DevelopersGET /iweb/v1/notifications 📰DevelopersGET Profiles 📰DevelopersExample MRSS Reader (Powershell) 📄DevelopersImagen XML Reference 📰DevelopersNew metadata-only record with no media 📰DevelopersNew record with a single piece of media 📰DevelopersNew record with multiple pieces of media📰DevelopersRecord update adding new media📰DevelopersRecord update with metadata only 📰DevelopersSet ACL by XML 📰DevelopersGET /import/record 📰DevelopersGET /iweb/v1/download 📰DevelopersPUT /import/record/ 📰DevelopersCreating a Video Record with the Imagen API 👩‍🏫DevelopersFind the UMID of a media file 👩‍🏫DevelopersHow to find an Import Record (job) GUID 👩‍🏫DevelopersHow to find your Media Control Centre FQDN ⚡ 🔒DevelopersHow to find your media ID 👩‍🏫DevelopersHow to Find Your Resource Group Name 👩‍🏫DevelopersProgrammatic API Call Examples 📰DevelopersScopes 📰DevelopersStandard Failure Response 📰DevelopersWhat is a job priority? 👩‍🏫DevelopersDELETE /import/record/ 📰DevelopersDELETE /media 📰DevelopersGET /iweb/v1/users 📰DevelopersWebhooksDevelopersXML Watch Folder Tutorial (Lambda) 🔒Partners & InternalDELETE /imcc/v1/media/ 📰 🔒Partners & InternalDELETE /imcc/v1/record/ 📰 🔒Partners & InternalDELETE imcc/v1/import/record/ 📰 🔒Partners & InternalGET imcc/v1/import/record/ 📰 🔒Partners & InternalGET imcc/v1/record/search 📰 🔒Partners & InternalGET record/validateSearch 📰 🔒Partners & InternalPUT imcc/v1/import/record/ 📰 🔒Partners & InternalAdd a Video Player ⚡ 🔒Partners & InternalAdd an Audio Player ⚡ 🔒Partners & InternalAdd an Image Viewer ⚡ 🔒Partners & InternalMake a clip from a live feed in progress ⚡ 🔒Partners & InternalImagen Deployment Tutorial 🔒Partners & InternalWatchfolder Tutorial (Azure Function Media Uploaded Trigger) 🔒Partners & InternalWatchfolder Tutorial (Azure Function XML Uploaded Trigger) 🔒Partners & InternalOnboarding Playbook 🔒Partners & InternalJob and File Status Codes 📄 🔒Partners & InternalAdd a subtitles workflow to Imagen ⚡ 🔒Partners & InternalCreate a New Empty Workflow ⚡ 🔒Partners & InternalRest Plugin Setup for Vantage Integration 👩‍🔬 🔒Partners & InternalWatch Folder With FTPS Tutorial 👨‍🏫 🔒Partners & InternalXML Watch Folder Tutorial (Windows) 🔒Partners & Internal