Data Preview Resource

Endpoints under /datapreview provide access to previews of data resource content based on the authorization of the current user.

GET /v2/content/{resourceKey}

A GET request to the /datapreview/key endpoint returns a portion of the content of a data resource based on the authorization of the current user.

Request Parameters
name type description constraints
resourceKey path  
size query int
start query int
Response Body
media type data type description
application/json DataPreview (JSON)

Example

Request
GET /v2/content/{resourceKey}
Content-Type: */*
Accept: application/json

                
...
                
              
Response
HTTP/1.1 200 OK
Content-Type: application/json

                
{
  "columnNames" : [ "...", "..." ],
  "formattedData" : [ ],
  "start" : 12345,
  "size" : 12345,
  "data" : "..."
}