The hale»connect platform can be accessed via API. The hale»connect API enables users to automatically execute workflows, change configuration settings, manage organisations and users, and many other tasks. A series of access URLs permit access to various platform functionality exposed via API. To begin exploring the hale»connect API in Swagger, it is necessary to log-in using your hale»connect user name and password.
Enter this URL in your favorite browser: https://haleconnect.com/swagger/
For on-premise users, enter: https://[yourdomain]/swagger/
wetransform can enable use of the hale»connect API for on-premise customers upon request.
Select Login, and provide your hale»connect user name and password to obtain an authentication token. If the Login endpoint is not visible, enter https://haleconnect.com/accounts/swagger.yaml in the URL input field at the top of the page and click on «Explore». Click in the Model Schema field on the right hand side to copy the code template to the body.
A valid authentication token is required to execute tasks via API, and to access additional hale»connect API URLs. Click the «Try it out!» button and copy the generated token in the response body. At the top of the page, paste the token in the field that contains the text api_key. The field is located next to the hale»connect API URL. Once you have logged in and provided a valid authentication token, you can use the hale»connect API to perform tasks.
The GET operation requests the retrieval of data.
The POST operation requests that a server accept data contained in the request.
The PUT operation requests a resource to create or update its state.
The DELETE operation requests deletion of a state or resource.
When working in Swagger, wetransform recommends examining the endpoint, the HTTP operation and the written description of the endpoint available for each entry.
Actions exposed in the user service include hale»connect login, organisation and user management, passwords, permissions and registration.
A bucket is a container for objects stored in file storage. The hale»connect bucket service APIs provide access to files and datasets associated with each resource type. Some bucket service endpoints require providing a bucket id and organisation number. The bucket id and organisation id can be found in hale»connect resource links.
In the following example URL, the bucket id is abe0849a-5110-43a5-81e4-5880fce3f398 and the organisation id is 599.
The interaction service provides access to comments, tasks and notes on a given resource, as well as the forum.
The schema service grants access to schemas and profiles and enables users to perform actions related to schema locations, namespaces, and feature types.
The project service allows users to access transformation projects, alignments and mapping cells.
The workflow manager service manages most tasks on the platform including transformations, validation, and status updates. The workflow manager service also enables users to access information about ETF Validator and Spatineo monitoring.
The resource service enables access to organisation settings such as usage capacity and CSW configuration.
The reports service provides access to validation results and usage information for datasets and services on hale»connect.
The actions service enables users to delete an organisation and get the default basemap of an organisation.