INDEX

getService

Get a provided service object either by service name or by service name and applications or spacelets unique name. The service names are not unique among the installed applications and spacelets in the edge node. If the unique_name parameter is not given the first mathing service is returned. The unique name is therefore required if the service needs to be from some specific application.

The Security model dictates which services are available to the caller of this method. If the service is not in the permitted list an error is returned.

Request

Parameter Type Description
service_name string Service name of an application or a spacelet.
unique_name string Unique name of an application or a spacelet. Leave this empty if the application or spacelet implementing the service is not important.

Result response

Type Desription
object A service object.

Error response

Close
copyright © Spaceify.org 2014