Returns the browse result at a given path.
Copies an entity from a given source destination to the specified target destination.
Creates an asset with the given metadata.
Creates a folder at the specified path.
Creates a relation between two entities.
Requests a new csrf token.
Returns the configuration of fieldinfo of the current Assets server.
Returns the profile for the currently logged in user
Requests the configured messages for the given locale and initializes the messages object on the API client.
Performs a login using the configured login method.
Performs a logout request on the server.
Moves an entity from a given source destination to the specified target destination.
Permanently removes an entity from the Assets server.
Permanently removes a relation between two entities from the Assets server.
Performs the specified search query on the server.
Updates an asset with the specified metadata.
Updates assets found by the given query with the specified metadata.
Updates specified assets with respectively specified metadata. Allows for setting different metadata per asset.
Configure the client to start a session within the current window with the given credentials when authenticating.
Configure the client to use a custom handler for logging in.
Use this function to initialize the API client using an established connection with the Assets client using the AssetsPluginContext class. This ensures requests and login prompts are automatically routed through to the Assets client and thus reuses the existing user session from the Assets client window.
Use this function to initialize the API client as a standalone interface with the Assets server. This means a new userSession must be instantiated in order to start querying the server. For plugin developers looking to reuse the existing userSession from the Assets client, refer to the 'fromPluginContext' function.
Make sure to call the loadMessages function before using the messages object.