REST connection
A REST connection is a connection to a REST api that can be reused from transforms like the REST client.
The REST connection is a generic purpose metadata item. A transform or action that uses a REST connection can override its properties when required.
Options
| Option | Description |
|---|---|
Name | The name to be used for this REST connection |
Base URL | The URL to use as the base URL for any API calls. The base URL will need to be appended from client transforms or actions that use it to make detailed API calls. |
Test URL | A full URL that can be used to test this REST connection. If no test URL is specified, the base URL will be used to perform connection tests. |
Authentication type | Select how Hop should authenticate when this metadata is used. The available choices are described below. |
Use environment variables or Hop variables (for example ${PROJECT_HOME}) in any text box. The connection resolves variables when the metadata is loaded, so the same definition can be reused from pipelines, workflows, and the Hop GUI test button.
Authentication
| Type | Fields | Description |
|---|---|---|
No Auth | — | No authentication headers are generated. Useful for public endpoints or when a downstream transform sets headers manually. |
API Key | Authorization header name, Authorization prefix (optional), Authorization value | Adds a header such as |
Basic | Username, Password | Registers HTTP Basic authentication with the Jersey client. Passwords can be stored encrypted. |
Bearer | Bearer token | Adds an |
Certificate | Configured through the SSL / Client Certificate options below | Enables mutual TLS (mTLS) by loading the specified key store. |
SSL and client certificates
| Option | Description |
|---|---|
Trust store file | Path to a trust store (JKS or PKCS12) that contains server CA certificates. Leave empty to use the JVM default trust store. When |
Trust store password | Password for the trust store file. Supports variable substitution and encrypted values. |
Ignore SSL errors | If selected, Hop trusts all certificates and skips hostname verification. This should only be used in development or test environments. |
Key store file | Path to the client key store used for certificate authentication. PKCS12 ( |
Key store password | Password for the key store. |
Key store type | Explicitly choose |
Key password | Optional password that protects a private key entry inside the key store. Falls back to the key store password when left empty. |
Certificate alias | Optional alias to pick a specific certificate inside the key store. Leave empty to use the default entry. |
Use the Test button to validate the selected authentication method and SSL settings against the test or base URL. The dialog resolves variables before running the test so it matches pipeline execution.
Pagination
The Pagination tab defines how the REST client transform advances through paged API responses when pagination is enabled on the transform.
Pagination is configured on the connection; the REST client reads these settings and performs the HTTP loop. When the connection pagination strategy is NONE, the REST client performs a single request per incoming row (legacy behaviour).
| Option | Description |
|---|---|
Pagination strategy | How Hop obtains the next page. See the strategies below. Default is |
Page / cursor query parameter name | Query parameter name for |
Offset query parameter name | Query parameter for the starting index in |
Limit query parameter name | Query parameter for the batch size in |
Default batch size | Page size sent with |
Cursor JsonPath | JsonPath expression against a JSON response body to read the next cursor token ( |
Cursor XPath | XPath expression against an XML response body to read the next cursor token ( |
Pagination strategies
| Strategy | How the next page is determined |
|---|---|
| No pagination metadata is applied. Use this for single-request APIs. |
| Follows the RFC 5988 |
| Adds offset/limit (or custom-named) query parameters. After each successful non-empty page, the offset increases by the batch size. An empty page ends the loop. |
| Adds a page query parameter starting at |
| Adds a cursor query parameter on follow-up requests. The token is extracted from the previous response with JsonPath (JSON) or XPath (XML). An empty page or missing next token ends the loop. |
For LINK_HEADER, the path on the REST client transform is still relative to Base URL on the first request. Subsequent requests use the absolute URL from the next link as returned by the API. |
Samples
github-releases.json — public GitHub API, LINK_HEADER pagination (used by rest-client-github-releases-loop.hpl in the REST transform samples project).