Solved

Configure Cognite MQTT Extractor without UI

  • 5 February 2024
  • 2 replies
  • 64 views

Userlevel 1

Is there any way like extraction pipeline apis to configure for Cognite MQTT Extractor?

icon

Best answer by mathialo 5 February 2024, 13:18

View original

2 replies

Yes! We offer this through endpoints under `/api/v1/projects/{your-project}/hostedextractors`.

You can read about some of the high level concepts of that API here: https://docs.cognite.com/cdf/integration/guides/extraction/hosted_extractors

And the reference docs for the API can be found here:

https://api-docs.cognite.com/20230101-beta/tag/Sources
https://api-docs.cognite.com/20230101-beta/tag/Jobs
https://api-docs.cognite.com/20230101-beta/tag/Destinations

For MQTT, you would add a source with type ‘mqtt’, then create a destination with a set of credentials, and finally create jobs (which is where you subscribe to topics, etc)

Userlevel 1

Thanks @mathialo.

Reply