Update Dataset Data
Dataset Upload Response
The data upload can be performed using the following structure:
Response Structure
- statusCode:
200
Successful upload.
Response Object
- name:
string - description:
string - id:
string - type:
string- Enum:
managed,externally-hosted,sample,vector-tile,raster-tile,hex-tile
- Enum:
- privacy:
string- Enum:
private,public_read
- Enum:
- permission:
string- Enum:
viewer,editor
- Enum:
- isValid:
boolean - createdAt:
date-time - updatedAt:
date-time - metadata:
object- contentType:
string - size:
number
- contentType:
Example Request
curl --request PUT \
--url https://data-api.foursquare.com/v1/datasets/dataset_id/data \
--header 'accept: application/json' \
--header 'content-type: application/json'
Example Response
{
"name": "string",
"description": "string",
"id": "string",
"type": "managed",
"privacy": "private",
"permission": "viewer",
"isValid": true,
"createdAt": "2026-07-25T03:52:15.244Z",
"updatedAt": "2026-07-25T03:52:15.244Z",
"metadata": {
"contentType": "string",
"size": 0
}
}