Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

User defined API via cloud services

Solved854 views5th December 2023#automationscript cloud services dataminer.services user defined API User Defined APIs
4
Thijs Vanovenacker [SLC] [DevOps Advocate]2.21K 4th December 2023 0 Comments

Hi Dojo,
When configuring User-Defined APIs, will I be able to leverage this custom API outside my DataMiner network in case my system is cloud connected?

And if so, is there anything special I need to take into account? Or can I simply configure the authentication tokens and get going?

Sub question: Is there a way to configure certain user-defined-APIs to be only available locally instead of being reachable over dataminer.services?

Thanks!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 5th December 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
9
Baptiste Pattyn [SLC] [DevOps Advocate]5.70K Posted 5th December 2023 2 Comments

Hi Thijs, you are able to call your user defined API through dataminer.services. To do this you just need to replace the local hostname of your DataMiner agent, with the hostname provided by dataminer.services (<DMS>-<ORG>.on.dataminer.services). You can find this URL on the overview page of your DMS in the admin app.

There is currently no way to limit external access to a certain API. A person with a valid authentication token will be able to access the API directly or through dataminer.services.

Baptiste Pattyn [SLC] [DevOps Advocate] Posted new comment 5th December 2023
Thijs Vanovenacker [SLC] [DevOps Advocate] commented 5th December 2023

Thanks Baptiste!
Then we’ll go ahead with smartly configuring the authentication tokens. I also saw that we can use the “API Trigger Context” in our script, where we can log from which token the request comes in, or add some additional custom logic around that. Thanks again!
(https://docs.dataminer.services/user-guide/Advanced_Modules/User-Defined_APIs/Defining_an_API/UD_APIs_Defining_a_new_API.html#apitriggercontext)

Baptiste Pattyn [SLC] [DevOps Advocate] commented 5th December 2023

I do not know if this is possible but you could check the hostname of the request and block the call that way. Do not know if this works but might be worth it to try this out.

0
Ben Vandenberghe [SLC] [DevOps Enabler]9.06K Posted 5th December 2023 0 Comments

Hi Thijs – the User-Defined API is not available through dataminer.services.  We have plans to add that capability (and to essentially implement the same as with a dashboard, i.e. that you can opt to take ‘share’ a User-Defined API). But we have not worked on that yet, so there is no visibility on timing.

I guess one can always of course take such an API and proxy it out of the internal network.

Ben Vandenberghe [SLC] [DevOps Enabler] Answered question 5th December 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs