# Functions
Authenticate gets a valid token for the given user credentials and returns the plain token information (without the authentication key bearer!).
GetAccessTokenFromContext returns the accesstoken from the context.
GetUserIDFromContext returns the user id from the context.
NewBimModelService creates a new project projectService.
NewClient create a new rexOS HTTP client.
NewController returns a new instance of the rexOS data rest interface.
NewFileTransform create a new valid FileTransformation.
NewProjectService creates a new project projectService.
NewUserService creates a new project userService.
StripTemplateParameter removes the trailing template parameters of an HATEOAS URL
For example: "https://rex.robotic-eyes.com/rex-gateway/api/v2/rexReferences/1000/project{?projection}".
# Constants
AccessTokenKey is the key for the context information.
ContextDataKey is the identifier for getting the context data.
UserIDKey is the key for the context information.
# Structs
BimModel is the main BIM model structure Currently work in progress, and may change in future!.
Client is the client which is used to send requests to the rexOS.
ContextData is used as payload for the REX context in the interface The caller of the functions which takes a context must make sure that both data values are filled.
Controller implements all interfaces which are required to work with the high-level API.
FileTransformation is used for defining the relationship between the RexReference and the actual file.
Position in form of a GeoJSON.
Project is the structure of a REX project.
ProjectAddress defines the address information for a project.
ProjectDetailedList can be used to get a detailed list of project owned by somebody.
ProjectTransformation is used for the absoluteTransformation as well as for the relativeTransformation of a RexReference.
RexConfig defines all the required settings for the rexOS DataProvider in order to create all rexOS service endpoints.
RexReference is a spatial anchor which can be attached to a project or a project file.
Rotation definition given in Euler angles.
SpatialStructure contains the hierarchy tree of a bim model.
User stores information of the current user.
UserDetails is the full structure of a user for the /users endpoint.
UserList is a list of users delivered by the rexos /users endpoint.
# Interfaces
BimModelService provides the calls for accessing REX models.
ProjectService provides the calls for accessing REX project(s).
UserService provides the calls for accessing REX user resource.
# Type aliases
AccessTokenType is used for the key of the authorization token for the context.
UserIDType is used for the key of the user_id in the context.