DocumentGet
Get a document from a Typesense DB.
yaml
type: "io.kestra.plugin.typesense.DocumentGet"
Examples
Get a document from a Typesense DB
yaml
id: typesense_get_document
namespace: compnay.team
tasks:
- id: get_document
type: io.kestra.plugin.typesense.DocumentGet
documentId: "0"
apiKey: "{{ secret('TYPESENSE_API_KEY') }}"
port: 8108
host: localhost
collection: Countries
Properties
apiKey *Requiredstring
The API key to connect to the typesense DB
collection *Requiredstring
The name of the typesense collection
documentId *Requiredstring
The id of the document to get
host *Requiredstring
The host of the typesense DB
port *Requiredstring
The port of the typesense DB
https booleanstring
Is HTTPS used
By default, HTTP protocol will be use. Set this value to true tu use HTTPS
Outputs
document object
The document fetched from the database