REST API Reference

REST API Reference

Datapacks/{datapackId}

Datapacks/{datapackId}

The datapacks/{datapackId} request returns table data from a specific data pack. The response includes a file that you can download to view the data in a data pack.

Resource URL

/ssp/v1/datapacks/{dataPackID}

HTTP Request

GET http(s)://
<host>
:
<port>
/api/public/ssp/v1/datapacks/{dataPackID}

Request Header

The request header includes the following headers:
Header
Description
accept
Use the following value:
application/json
Authorization
Required. Use the following value:
Basic <user name>

Request Path Parameters

The request includes the following path parameter:
Parameter
Description
dataPackId
ID of the data pack.

Request Query Parameters

The request includes the following parameter:
Parameter
Description
exportType
Select the file type to export data pack details. You can choose CSV. If you do not choose an option, the API exports data pack details in JSON format.

Sample Request

http://<host>:6605/api/public/ssp/v1/datapacks/bfc399d0-0ca7-4a59-8093-ddcbf45eba43?exportType=CSV

Sample Response Header

content-disposition: attachment; filename = subDatapackFromDataset.zip content-length: 4166 content-type: application/zip date: Tue, 04 Dec 2018 05:13:14 GMT server: Informatica
The response body contains a link to download the file.

0 COMMENTS

We’d like to hear from you!