REST API Reference

REST API Reference

Data Packs

Data Packs

The datapacks request lists all data packs. If you include query parameters in the request, it returns data packs that match the query parameters.

Resource URL

/ssp/v1/datapacks

HTTP Request

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

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 Query Parameters

The request includes the following parameters:
Parameter
Description
Filter
Filters based on criteria.
Sort
Sorts based on criteria. You can enter more than one field name as criteria. By default, sorts in ascending order of criteria.
For example, to sort based on ID in descending order enter:
id:desc
Start
The start index of the list.
Size
The number of records that you want to return.

Sample Request

GET http://<host>:6605/api/public/ssp/v1/datapacks

Sample Response

[ { "id": "1a2351ea-3e0d-488b-ac38-f6734e91f66a", "name": "DataPackFromPlan", "refObjectType": "DatasetVersion", "refObjectId": "9cd8baeb-f08a-4150-8da2-b1cc91fc0a4b" }, { "id": "98346892-a0c4-4c3c-b4b8-e03f68c0ec81", "name": "subDatapackFromDataset", "refObjectType": "DatasetVersion", "refObjectId": "7d189a61-984b-4f10-b795-cb6877852e66" }, { "id": "fa2d1ddf-cddc-41f4-b136-473d9232a773", "name": "DatapackFromDataset", "refObjectType": "DatasetVersion", "refObjectId": "467a4795-0fd1-4a3e-b783-0e7636a63925" } ]

0 COMMENTS

We’d like to hear from you!