Skip to main content
Submitted by Regina42 on 10 March 2021
Forums

just downloaded version 2.2.6.1 and I want to use the new node rest reference... however, the documentation page is empty for this entry. Can you explain how to use it?

Strasis Support

Wed, 03/10/2021 - 17:37

Sorry... we just realized this was missing... here's how you use it and what is returned:

Make the call like this:

http://localhost:8080/rest/objects/nodes?objectguid=[the object GUID]

Once the credentials are qualified, it will return JSON with this form (example is for the user defined variables object with administrator credentials):

{
	"Revision": "2.2.6.1",
	"Reference": "http://strasis.com/documentation/api/globalresultcodes/0",
	"ServerGUID": "{D514B047-F15A-4515-91A3-F8F0EF2AEBA4}",
	"ServerName": "Limelight XE Development Server",
	"ResultCode": 0,
	"ResultString": "Operation completed",
	"Result": {
		"ServerGUID": "{D514B047-F15A-4515-91A3-F8F0EF2AEBA4}",
		"ObjectGUID": "{759161EB-1005-0000-0000-000000000000}",
		"Objects": [{
			"GUID": "{759161EB-1005-0000-0000-000000000000}",
			"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
			"Title": "User Defined Variables",
			"Hint": "Used by the system to track user defined values",
			"State": 0,
			"ChildObjects": [{
					"GUID": "{759161EB-1005-0010-0000-000000000000}",
					"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
					"Title": "Global Variables",
					"Hint": "Global variables are visible and alterable by all users",
					"State": 0,
					"ChildObjects": [{
							"GUID": "{759161EB-1005-0010-0000-000000000001}",
							"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
							"Title": "TestVar1",
							"Hint": "New user defined variable",
							"State": 0,
							"ChildObjects": []
						},
						{
							"GUID": "{759161EB-1005-0010-0000-000000000002}",
							"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
							"Title": "TestVar2",
							"Hint": "New user defined variable",
							"State": 0,
							"ChildObjects": []
						}
					]
				},
				{
					"GUID": "{759161EB-1005-0020-0000-000000000000}",
					"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
					"Title": "Local Variables",
					"Hint": "Local variable values are unique to a user",
					"State": 0,
					"ChildObjects": [{
							"GUID": "{759161EB-1005-0020-0000-000000000001}",
							"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
							"Title": "LocalVariable2",
							"Hint": "Another local variable thingy tied to accounts",
							"State": 0,
							"ChildObjects": []
						},
						{
							"GUID": "{759161EB-1005-0020-0000-000000000002}",
							"GUID_Icon": "{759161EB-1005-0000-0000-000000000000}",
							"Title": "LocalVariable1",
							"Hint": "Some kind of local variable thingy",
							"State": 0,
							"ChildObjects": []
						}
					]
				}
			]
		}]
	}
}

Hope this helps!

Regards

Support Team A

About

Strasis Systems, LLC is a provider of software for command and control centers, data visualization, security and systems integration.