REST API

Job Definitions

Anonymization tasks within Privacy Dynamics are referred to as jobs. Each job contains a definition as to what it should do and how it should do it. For example, job definitions encapsulate information about the source and destination data, anonymization strategy, and more. Each dataset contained in a project has a corresponding job definition.

The job definition model

The job definition contains anonymization information for a single table.

Properties

  • Name
    dataset_name
    Type
    string
    Description

    The name of the table to be processed by the job

  • Name
    k_strategy
    Type
    string
    Description

    The anonymization strategy

  • Name
    k_target
    Type
    integer
    Description

    The k-value target size

  • Name
    enabled
    Type
    boolean
    Description

    Determines whether or not the table will be treated

  • Name
    field_config
    Type
    object
    Description

    An object containing configuration information for columns in the table

  • Name
    job_run_type
    Type
    string
    Description

    Determines how a job run is treated. Options include load_treat_write, load_write, and load_assess


GET/v1/projects/{project_id}/job_definitions

Get job definitions for a given project_id

Get job definition data for the given project_id

Request

Response


POST/v1/projects/{project_id}/job_definitions

Create a new job definition

Creates a new job definition

Request

Response


POST/v1/projects/{project_id}/job_definitions:batch_create

Create a batch of job definitions on the parent project

Creates a batch of new job definitions on the parent project

Request

Response


PUT/v1/projects/{project_id}/job_definitions/{job_definition_id}

Update a job definitions for a given project_id

Updates a job definition

Request

Response


DELETE/v1/projects/{project_id}/job_definitions/{job_definition_id}

Delete a job definitions for a given project_id

Deletes a job definition

Request

Response

Next
What is Privacy Dynamics?