Skip to main content

package_metadata

Creates, updates, deletes, gets or lists a package_metadata resource.

Overview​

Namepackage_metadata
TypeResource
Idfivetran.transformations.package_metadata

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe unique identifier for the Quickstart transformation package definition within the Fivetran system (example: package_definition_id)
namestringThe Quickstart transformation package name (example: package_definition_name)
configurable_variablesstringThe map of configurable variable values keyed by variable name. (opaque JSON object)
connector_typesarrayThe set of connector types
output_model_namesarrayThe list of transformation output models
versionstringThe Quickstart package definition version (example: version)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpackage_definition_idReturns the metadata details of the Quickstart transformation package if a valid identifier is provided.
listselectservice, name, cursor, limitReturns a list of available Quickstart transformation package metadata details.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
package_definition_idstringThe unique identifier for the Quickstart transformation package definition within the Fivetran system
cursorstringPaging cursor, [read more about pagination](https:​//fivetran.com/docs/rest-api/pagination)
limitinteger (int32)Number of records to fetch per page. Accepts a number in the range 1..1000; the default value is 100.
namestringSpecify the package name to filter Quickstart packages by name
servicestringSpecify the service identifier to filter Quickstart packages by connection service

SELECT examples​

Returns the metadata details of the Quickstart transformation package if a valid identifier is provided.

SELECT
id,
name,
configurable_variables,
connector_types,
output_model_names,
version
FROM fivetran.transformations.package_metadata
WHERE package_definition_id = '{{ package_definition_id }}' -- required
;