Download OpenAPI specification:
This API enables you to manage the links to remote Couchbase clusters and external data sources.
Creates a link
| name required | string The name of the link. |
| type required | string (Create Request Type) Enum: "couchbase" "s3" "azureblob" "gcs" "http" The type of the link.
|
| hostname required | string For Couchbase links only. The remote hostname. |
| username | string For Couchbase links only. The remote username. Required for links with no encryption or half encryption. Required for links with full encryption if using a password. You should URL-encode this parameter to escape any special characters. |
| password | string For Couchbase links only. The remote password. Required for links with no encryption or half encryption. Required for links with full encryption if using a username. You should URL-encode this parameter to escape any special characters. |
| encryption required | string Enum: "none" "half" "full" For Couchbase links only. The type of encryption used by the link.
|
| certificate | string For Couchbase links only. The content of the target cluster root certificate. Required for links with full encryption. You should URL-encode this parameter to escape any special characters. If required, this parameter may contain multiple certificates, separated by new lines. |
| clientCertificate | string For Couchbase links, this is the content of the client certificate. Required for links with full encryption if using a client key. You should URL-encode this parameter to escape any special characters. |
| clientKey | string For Couchbase links only. The content of the client key. Required for links with full encryption if using a client certificate. You should URL-encode this parameter to escape any special characters. |
| certificates | string For Couchbase links only. The content of the target cluster root certificate(s), as an alternative to You should URL-encode this parameter to escape any special characters. |
| clientKeyPassphrase | string For Couchbase links only. A JSON object describing how to obtain the passphrase used to decrypt an encrypted client key. |
| httpsOpts | string For Couchbase links only. A JSON object configuring TLS verification ( |
| preventRedirects | boolean For Couchbase links only. If set to |
| region required | string For S3 links only. The Amazon S3 region. |
| accessKeyId | string For S3 links only. The Amazon S3 access key ID. Required when using access key authentication. Must be provided together with |
| secretAccessKey | string For S3 links only. The Amazon S3 secret access key. Required when using access key authentication. Must be provided together with You should URL-encode this parameter to escape any special characters. |
| sessionToken | string For S3 links only. The Amazon S3 session token. Use this parameter if you want the link to have temporary access. Requires Passing this parameter indicates that the credentials are temporary. The Amazon S3 service validates the session token with each request to check whether the provided credentials have expired or are still valid. |
| instanceProfile | string Value: "true" For S3 links only. If set to |
| roleArn | string For S3 links only. The Amazon Resource Name (ARN) of the role to assume for cross-account authentication. Requires either |
| externalId | string For S3 links only. An external ID for cross-account role assumption. Used together with |
| crossRegion | boolean For S3 links only. If set to |
| serviceEndpoint | string For S3 links only. The Amazon S3 service endpoint. |
| pathStyleAddressing | boolean For S3 links only. If set to |
| disableSslVerify | boolean For S3 links only. If set to |
| checksumBehavior | string Enum: "when_required" "when_supported" For S3 links only. Controls when the client sends additional integrity checksums on requests, primarily for S3-compatible storage. |
| inputStreamType | string Enum: "classic" "analytics" For S3 links only. The S3 input-stream implementation to use when reading objects. |
| changeDetectionMode | string Enum: "server" "client" "none" For S3 links only. The change-detection mode used when reading objects ( |
| endpoint required | string The endpoint URI. Required for Azure Blob links; optional for S3 links (e.g. when using S3-compatible storage). |
| accountName | string For Azure Blob links only. The account name. Used for shared key authentication. You should URL-encode this parameter to escape any special characters. |
| accountKey | string For Azure Blob links only. The account key. Used for shared key authentication. You should URL-encode this parameter to escape any special characters. |
| sharedAccessSignature | string For Azure Blob links only. A token that can be used for authentication. Used for shared access signature authentication. You should URL-encode this parameter to escape any special characters. |
| jsonCredentials | string For Google Cloud Storage links only. The JSON credentials of the link. This parameter is not allowed if |
| applicationDefaultCredentials | boolean For Google Cloud Storage links only.
If |
| bearerToken | string The bearer token for bearer token authentication. Cannot be combined with You should URL-encode this parameter to escape any special characters. |
| oauthTokenUri | string The OAuth2 token URI. Required for OAuth2 authentication. Must be provided together with |
| oauthClientId | string The OAuth2 client ID. Required for OAuth2 authentication. Must be provided together with |
| oauthClientSecret | string The OAuth2 client secret. Required for OAuth2 authentication. Must be provided together with You should URL-encode this parameter to escape any special characters. |
| oauthAllowedScopes | string The allowed OAuth2 scopes. Optional when using OAuth2 authentication. |
{- "error": "string"
}Returns information about a link.
| name required | string The name of the link. |
| type | string (Edit Request Type) Enum: "couchbase" "s3" "azureblob" "gcs" "http" The type of the link. If this parameter is specified, the value must match the type that was set when the link was created. |
[- {
- "name": "myLink",
- "type": "couchbase"
}
]Edits an existing link. The link name and type cannot be modified.
| name required | string The name of the link. |
| type | string (Edit Request Type) Enum: "couchbase" "s3" "azureblob" "gcs" "http" The type of the link. If this parameter is specified, the value must match the type that was set when the link was created. |
| hostname required | string For Couchbase links only. The remote hostname. |
| username | string For Couchbase links only. The remote username. Required for links with no encryption or half encryption. Required for links with full encryption if using a password. You should URL-encode this parameter to escape any special characters. |
| password | string For Couchbase links only. The remote password. Required for links with no encryption or half encryption. Required for links with full encryption if using a username. You should URL-encode this parameter to escape any special characters. |
| encryption required | string Enum: "none" "half" "full" For Couchbase links only. The type of encryption used by the link.
|
| certificate | string For Couchbase links only. The content of the target cluster root certificate. Required for links with full encryption. You should URL-encode this parameter to escape any special characters. If required, this parameter may contain multiple certificates, separated by new lines. |
| clientCertificate | string For Couchbase links, this is the content of the client certificate. Required for links with full encryption if using a client key. You should URL-encode this parameter to escape any special characters. |
| clientKey | string For Couchbase links only. The content of the client key. Required for links with full encryption if using a client certificate. You should URL-encode this parameter to escape any special characters. |
| certificates | string For Couchbase links only. The content of the target cluster root certificate(s), as an alternative to You should URL-encode this parameter to escape any special characters. |
| clientKeyPassphrase | string For Couchbase links only. A JSON object describing how to obtain the passphrase used to decrypt an encrypted client key. |
| httpsOpts | string For Couchbase links only. A JSON object configuring TLS verification ( |
| preventRedirects | boolean For Couchbase links only. If set to |
| region required | string For S3 links only. The Amazon S3 region. |
| accessKeyId | string For S3 links only. The Amazon S3 access key ID. Required when using access key authentication. Must be provided together with |
| secretAccessKey | string For S3 links only. The Amazon S3 secret access key. Required when using access key authentication. Must be provided together with You should URL-encode this parameter to escape any special characters. |
| sessionToken | string For S3 links only. The Amazon S3 session token. Use this parameter if you want the link to have temporary access. Requires Passing this parameter indicates that the credentials are temporary. The Amazon S3 service validates the session token with each request to check whether the provided credentials have expired or are still valid. |
| instanceProfile | string Value: "true" For S3 links only. If set to |
| roleArn | string For S3 links only. The Amazon Resource Name (ARN) of the role to assume for cross-account authentication. Requires either |
| externalId | string For S3 links only. An external ID for cross-account role assumption. Used together with |
| crossRegion | boolean For S3 links only. If set to |
| serviceEndpoint | string For S3 links only. The Amazon S3 service endpoint. |
| pathStyleAddressing | boolean For S3 links only. If set to |
| disableSslVerify | boolean For S3 links only. If set to |
| checksumBehavior | string Enum: "when_required" "when_supported" For S3 links only. Controls when the client sends additional integrity checksums on requests, primarily for S3-compatible storage. |
| inputStreamType | string Enum: "classic" "analytics" For S3 links only. The S3 input-stream implementation to use when reading objects. |
| changeDetectionMode | string Enum: "server" "client" "none" For S3 links only. The change-detection mode used when reading objects ( |
| endpoint required | string The endpoint URI. Required for Azure Blob links; optional for S3 links (e.g. when using S3-compatible storage). |
| accountName | string For Azure Blob links only. The account name. Used for shared key authentication. You should URL-encode this parameter to escape any special characters. |
| accountKey | string For Azure Blob links only. The account key. Used for shared key authentication. You should URL-encode this parameter to escape any special characters. |
| sharedAccessSignature | string For Azure Blob links only. A token that can be used for authentication. Used for shared access signature authentication. You should URL-encode this parameter to escape any special characters. |
| jsonCredentials | string For Google Cloud Storage links only. The JSON credentials of the link. This parameter is not allowed if |
| applicationDefaultCredentials | boolean For Google Cloud Storage links only.
If |
| bearerToken | string The bearer token for bearer token authentication. Cannot be combined with You should URL-encode this parameter to escape any special characters. |
| oauthTokenUri | string The OAuth2 token URI. Required for OAuth2 authentication. Must be provided together with |
| oauthClientId | string The OAuth2 client ID. Required for OAuth2 authentication. Must be provided together with |
| oauthClientSecret | string The OAuth2 client secret. Required for OAuth2 authentication. Must be provided together with You should URL-encode this parameter to escape any special characters. |
| oauthAllowedScopes | string The allowed OAuth2 scopes. Optional when using OAuth2 authentication. |
{- "error": "string"
}Deletes a link. The link cannot be deleted if any other entities are using it, such as a collection. The entities using the link need to be disconnected from the link, otherwise, the delete operation fails.
| name required | string The name of the link. |
{- "error": "string"
}Returns information about all links
| type | string Enum: "couchbase" "s3" "azureblob" "gcs" "http" The type of the link. If this parameter is omitted, all link types are retrieved, excluding the |
[- {
- "name": "myLink",
- "type": "couchbase"
}
]