Page tree

Release 6.0.2


Contents:

   

For the latest updates on available API endpoints and documentation, see api.trifacta.com.

This is the latest version of the APIs.

Contents:


Create a release for the specified deployment.

Release is created from a local ZIP containing the package of the flow exported from the source system.

NOTE: Releases pertain to Production instances of the Designer Cloud Powered by Trifacta® platform. For more information, see Overview of Deployment Manager.

For more information on import rules, see Define Import Mapping Rules.

Version:  v4

Required Permissions

NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.0/index.html#section/Authentication.

Request

Request Type: POST

Endpoint:

/v4/deployments/<id>/releases

where:

ParameterDescription
<id>Internal identifier for the deployment

Request URI - Example:

/v4/deployments/2/releases

Request Body:

The request body must include the following key and value combination submitted as form data:

keyvalue
data"@path-to-file"

Example request - curl:

curl -X POST \
  http://example.com:3005/v4/deployments/1/releases \
  -H 'authorization: Basic c29sc29uQHRyaWZhY3RhLmNvbTphZG1pbg==' \
  -H 'cache-control: no-cache' \
  -H 'content-type: multipart/form-data' \
  -F data=@response.zip

Response

Response Status Code - Success:  201 - Created

Response Body Example:

{
  "importRuleChanges": {
    "object": [],
    "value": []
  },
  "deletedObjects": {},
  "primaryFlowIds": [
    6
  ],
  "flows": [
    {
      "id": 6,
      "name": "2013 POS",
      "description": null,
      "deleted_at": null,
      "cpProject": null,
      "workspaceId": 1,
      "createdAt": "2019-02-13T18:39:03.426Z",
      "updatedAt": "2019-02-13T20:39:41.775Z",
      "createdBy": 7,
      "updatedBy": 7,
      "folderId": null
    }
  ],
  "datasources": [
    {
      "isDynamicOrConverted": false,
      "id": 18,
      "dynamicPath": null,
      "cpProject": null,
      "workspaceId": 1,
      "connectionId": null,
      "deleted_at": null,
      "isSchematized": true,
      "isDynamic": false,
      "isConverted": false,
      "disableTypeInference": false,
      "hasStructuring": true,
      "storageLocationId": 13,
      "createdAt": "2019-02-13T18:39:03.569Z",
      "updatedAt": "2019-02-13T20:39:41.883Z",
      "createdBy": 7,
      "updatedBy": 7,
      "parsingScriptId": 24,
      "size_deprecated": null,
      "path_deprecated": null
    },
    {
      "isDynamicOrConverted": false,
      "id": 19,
      "dynamicPath": null,
      "cpProject": null,
      "workspaceId": 1,
      "connectionId": null,
      "deleted_at": null,
      "isSchematized": true,
      "isDynamic": false,
      "isConverted": false,
      "disableTypeInference": false,
      "hasStructuring": true,
      "storageLocationId": 14,
      "createdAt": "2019-02-13T18:39:03.876Z",
      "updatedAt": "2019-02-13T20:39:41.887Z",
      "createdBy": 7,
      "updatedBy": 7,
      "parsingScriptId": 25,
      "size_deprecated": null,
      "path_deprecated": null
    }
  ],
  "flownodes": [
    {
      "id": 23,
      "scriptId": 24,
      "flowId": 6,
      "flowNodeId": null,
      "deleted_at": null,
      "wrangled": false,
      "referenceId": null,
      "createdAt": "2019-02-13T18:39:03.741Z",
      "updatedAt": "2019-02-13T20:39:41.993Z",
      "createdBy": 7,
      "updatedBy": 7,
      "activesampleId": null
    },
    {
      "id": 24,
      "scriptId": 25,
      "flowId": 6,
      "flowNodeId": null,
      "deleted_at": null,
      "wrangled": true,
      "referenceId": null,
      "createdAt": "2019-02-13T18:39:04.049Z",
      "updatedAt": "2019-02-13T20:39:42.004Z",
      "createdBy": 7,
      "updatedBy": 7,
      "activesampleId": null
    }
  ],
  "outputobjects": [],
  "release": {
    "id": 1,
    "packageUuid": "9bae78c0-2fcb-11e9-9523-77f56ed58844",
    "notes": "example_flow",
    "active": true,
    "updatedAt": "2019-02-13T20:39:41.764Z",
    "createdAt": "2019-02-13T20:39:41.764Z",
    "deployment": {
      "id": 1
    },
    "creator": {
      "id": 7
    },
    "updater": {
      "id": 7
    }
  }
}

Reference

For more information on import rule changes, see Define Import Mapping Rules.

 

This page has no comments.