Endpoints under /datapreview
provide access to previews of data resource content based on the authorization of the
current user.
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.
name | type | description | constraints |
---|---|---|---|
resourceKey | path | ||
size | query | required | |
start | query | required |
media type | data type | description |
---|---|---|
application/json | DataPreview (JSON) |
GET /v2/content/{resourceKey}
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{
"columnNames" : [ "...", "..." ],
"size" : 12345,
"start" : 12345,
"data" : "...",
"formattedData" : [ ]
}