Martedì Posted February 11 Share Posted February 11 Hi, navigating the docs and understand how to compose prefix can be pretty hard, https://docs.axxonsoft.com/confluence/display/one1en/Server+HTTP+API May I ask if creating a workspace for https://www.postman.com/ where we can set each own variables to get a quick start? i.e. I'd like to add a bookmark but the following return a 404, so how can I get the correct prefix? http://{{user}}:{{password}}@{{server_url}}/archive/media/{{server_pc_name}}/DeviceIpint.8/SourceEndpoint.video:0:0/contents/bookmarks/create Quote Link to comment Share on other sites More sharing options...
Van Shev Posted February 11 Share Posted February 11 Hi Martedì you can configure prefix in Web server settings https://docs.axxonsoft.com/confluence/display/one20en/Configuring+the+Web-Server or leave it empty and don't use in API URL Quote Link to comment Share on other sites More sharing options...
Martedì Posted February 12 Author Share Posted February 12 Thank you Van Shev, please consider the idea if you share a postman workspace user can set current value of the variables and get up and running in no time. Quote Link to comment Share on other sites More sharing options...
Van Shev Posted February 12 Share Posted February 12 Hi Martedi it's good idea. I'll think about this. Thanks Quote Link to comment Share on other sites More sharing options...
Martedì Posted April 2 Author Share Posted April 2 Hi Van Shev, may I ask how to retrieve current user default layout? I share my postman collection as it would be self explanatory. I can successfully switch layout when I know the id, but in case multiple user should have a different predefined default layout? is there some trick to pass as id : "defaultuserlayout"? Thansk, BR axxon.postman_collection.json Quote Link to comment Share on other sites More sharing options...
Martedì Posted April 3 Author Share Posted April 3 Solved with a trick, named multiple layout as "default user1", "default user2", then shared with users, make a query each time to get the currentid if the name contain default. BR Quote Link to comment Share on other sites More sharing options...
Van Shev Posted April 4 Share Posted April 4 Hi Martedi Thank you very much for your explanation Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
If you have an account, sign in now to post with your account.