Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
213 changes: 176 additions & 37 deletions openapi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,18 @@
},
"required": false
},
{
"name": "kind",
"in": "query",
"schema": {
"type": "string",
"enum": [
"glide-table",
"glide-big-table"
]
},
"required": false
},
{
"name": "onSchemaError",
"in": "query",
Expand Down Expand Up @@ -278,6 +290,13 @@
"description": "Name of the table, e.g., `Invoices`",
"example": "Invoices"
},
"kind": {
"type": "string",
"enum": [
"glide-table",
"glide-big-table"
]
},
"schema": {
"type": "object",
"properties": {
Expand All @@ -302,30 +321,90 @@
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"uri",
"dateTime"
"json"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"string",
"number",
"boolean",
"uri",
"dateTime"
]
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"json"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"array"
]
},
"items": {
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"json"
]
}
},
"required": [
"kind",
"items"
],
"additionalProperties": false
}
},
"required": [
"kind"
],
"additionalProperties": false
]
}
],
"description": "The type of the column."
Expand Down Expand Up @@ -422,7 +501,7 @@
}
}
},
"description": "Creates a new Big Table"
"description": "Creates a new table"
}
},
"/tables/{tableID}": {
Expand Down Expand Up @@ -630,30 +709,90 @@
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"uri",
"dateTime"
"json"
]
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"string",
"number",
"boolean",
"uri",
"dateTime"
]
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"json"
]
}
},
"required": [
"kind"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"array"
]
},
"items": {
"type": "string",
"enum": [
"string",
"uri",
"imageURI",
"audioURI",
"markdown",
"phoneNumber",
"emailAddress",
"emoji",
"date",
"time",
"dateTime",
"duration",
"number",
"boolean",
"json"
]
}
},
"required": [
"kind",
"items"
],
"additionalProperties": false
}
},
"required": [
"kind"
],
"additionalProperties": false
]
}
],
"description": "The type of the column."
Expand Down
Loading