Create Standard TagProvider via Java

Following on from this thread…

Have there been methods added into 8.3 to programmatically create a Standard TagProvider? I see nothing in the docs.

You could create one via OpenAPI now: http://localhost:8088/openapi#tag/config-tag-provider/paths/~1data~1api~1v1~1resources~1ignition~1tag-provider/post

2 Likes

Thanks for the reply. This looks really promising. I’ve been playing with this via CLI but I always get a 403 Unauthorized : so something along the lines of:

curl http://localhost:8088/data/api/v1/resources/find/ignition/tag-provider/kanoa -u darren -v

will prompt for the password for darren, and then with the verbose flag I see the correct base64 encoded string and darren is an admin but still 403.

Should we be able to do this stuff from CLI? I’ve also tried making a simple HTTP GET from within the kanoa module GatewayHook but then I get a 503.

Any suggestions?

You have to use tokens, not usernames and passwords for interacting with the API. See here: