# 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`
- **privacy**: `string`
  - Enum: `private`, `public_read`
- **permission**: `string`
  - Enum: `viewer`, `editor`
- **isValid**: `boolean`
- **createdAt**: `date-time`
- **updatedAt**: `date-time`
- **metadata**: `object`
  - **contentType**: `string`
  - **size**: `number`

## Example Request

```shell
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

```json
{
  "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
  }
}
```
