REST API
Last updated
Was this helpful?
Last updated
Was this helpful?
Lists all DataPolicies for all platforms.
/data-policies
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all configured catalogs.
/v1alpha/catalogs
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Returns a data policy without any rule sets, based on the given table's data structure in the catalog. Extend this blueprint policy with field transforms and/or rule sets to create a complete data policy. Use the UpsertDataPolicy endpoint to save and enforce the policy.
/v1alpha/catalogs/{catalogId}/blueprint-policy
Lists all databases for the given catalog.
/v1alpha/catalogs/{catalogId}/databases
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all schemas (for a given database, if applicable).
/v1alpha/catalogs/{catalogId}/schemas
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all tables (for a given schema and database, if applicable).
/v1alpha/catalogs/{catalogId}/tables
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Creates or updates a DataPolicy in PACE and optionally applies it to the processing platform.
/v1alpha/data-policies
whether to apply the policy directly on the processing platform if omitted, defaults to false
/v1alpha/data-policies/lineage
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Evaluates a previously upserted DataPolicy against a provided data sample. Platform-specific data types, transforms and nested fields are not supported.
/v1alpha/data-policies/{data_policy_id}//{platform_id}/evaluate
Evaluate a data policy for these principals against a sample of data.
If left empty, the policy will be evaluated against all principals.
In order to evaluate the policy for a principal that does not occur in the policy, add a
principal message without the principal
field set. This will be treated as the other
principal.
CSV-formatted sample data to evaluate the policy against. The first row must be a header row.
/v1alpha/global-transforms
If the specified transform is incompatible with the field data type to which this global transform is connected with, then the end user will get an invalid argument, and the blueprint policy with the global transforms applied won't be returned.
Global transforms are identified by an identifier of their [transform]. These are by default loose matching, so that 'Email-PII' is matched when 'email pii' is used.
/v1alpha/global-transforms/{ref}//{type}
this ref refers to the primary key in the oneof transform, so its use depends on which one it is. TAG_TRANSFORM -> TagTransform.tag_content no others defined (yet).
/v1alpha/plugins/{pluginId}/actions/{action.type}
The identifier of the plugin to invoke.
The identifier of the plugin to invoke.
/v1alpha/plugins/{pluginId}/actions/{action.type}/payload-json-schema
The identifier of the plugin to get the payload json schema for
The type of action that this plugin supports
ACTION_UNSPECIFIED
, GENERATE_DATA_POLICY
, GENERATE_SAMPLE_DATA
Whether this action can be invoked through the API
Lists all databases for the given processing_platform.
/v1alpha/processing-platforms/{platformId}/databases
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all available user groups for the given platform.
/v1alpha/processing-platforms/{platformId}/groups
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all schemas (for a given database, if applicable).
/v1alpha/processing-platforms/{platformId}/schemas
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Lists all available table names for the given platform.
/v1alpha/processing-platforms/{platformId}/tables
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.
Returns a data policy without any rule sets, based on the given table's data structure in the platform. Extend this blueprint policy with field transforms and/or rule sets to create a complete data policy. Use the UpsertDataPolicy endpoint to save and enforce the policy.
/v1alpha/processing-platforms/{platformId}/tables/{table_id}/blueprint-policy
The id used by the catalog.
The id used by the catalog.
The id of the database
An arbitrary but unique identifier for the catalog. This matches the id from the PACE app configuration.
TYPE_UNSPECIFIED
, COLLIBRA
, ODD
, DATAHUB
PLATFORM_TYPE_UNSPECIFIED
, DATABRICKS
, SNOWFLAKE
, BIGQUERY
, POSTGRES
, SYNAPSE
An arbitrary but unique identifier for the platform. This matches the id from the PACE app configuration.
/v1alpha/resources
A processing platform or data catalog id as configured in your PACE server
A resource path to list resources under. If empty, the root path is used.
The provided skip value of the request. skip represents records to skip before returning results. If empty, skip is 0.
The provided page_size value of the request. If empty, page_size is 10.
use this to start from a certain page.