The /sbind domain provides access to the sbind SpecTcl command. This there are three subdomains:
URLs of the form:
Bind all spectra to display memory. Nothing of value is returned in the detail field of the reply data.
URL's of the following form:
Bind all spectra named in all instances of the spectrum query parameter to display memory. Nothing of use is returned in the detail part of the JSON reply data.
URL's of the form:
Return information about the bindings of spectra that match the pattern query parameter interpreted as a glob spectrum name match string. If omitted the pattern matched defaults to * which matches all spectra.
The detail attribute of the JSON returned data is an array of objects with the following attributes:
The id of the bound spectrum.
The name of the bound spectrum.
The shared memory binding id.
Note that spectra which are not bound but match the pattern will not appear in the array.