Skip to content

Commit

Permalink
Update ingestion.openapi.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kurbycchua authored May 13, 2024
1 parent c1090a4 commit bd798e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openapi/src/ingestion.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1192,6 +1192,7 @@ paths:
Replace the contents of an existing Lookup Table.
***
[block:api-header]
Lookup Tables must be [created via our UI](https://docs.mixpanel.com/docs/data-structure/lookup-tables#how-do-i-upload-a-lookup-table). Once a Lookup Table is created, its contents can be replaced via this API.
{
"title": "Validation"
}
Expand All @@ -1200,13 +1201,14 @@ paths:
* The first row of the lookup table is a header row. The values in the header must be unique, as each one uniquely identifies a column of the table. These will appear as properties of the lookup table in Mixpanel's UI.
* The CSV must be valid according to [RFC4180](https://datatracker.ietf.org/doc/html/rfc4180).
* If the `Content-Encoding: gzip` header is supplied, the table will be decompressed before parsing.
[block:api-header]
{
"title": "Types"
}
[/block]
* Integers or floats will be parsed as numbers.
* RFC3339 timestamps (`2021-08-21T05:36:01Z`) will parsed as datetimes.
* [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339) timestamps (`2021-08-21T05:36:01Z`) will parsed as datetimes.
* `true` or `false` (case-insensitive) will be parsed as boolean.
* Empty fields (two adjacent commas) will be treated as `undefined`
* Comma separated, quoted strings in square brackets (`"["Free","Paid","Enterprise"]"`) will be parsed as list of strings.
Expand Down

0 comments on commit bd798e1

Please sign in to comment.