Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataplane swagger for tables #8151

Merged
merged 23 commits into from
May 8, 2020
Merged
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,7 @@ Français
frontdoor
fsaction
Fulfilment
fullmetadata
Fulltext
fullyqualified
galician
Expand Down Expand Up @@ -944,6 +945,7 @@ nodeconfiguration
nodecounts
Nodeploy
nodrm
nometadata
nonadmin
NONCLUSTERED
nonincreasing
Expand Down Expand Up @@ -1208,6 +1210,7 @@ resourcetype
Responsys
restoreheartbeat
Restproxy
restype
resumable
resync
resynchronization
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"tableProperties": {
"TableName": "mytable"
}
},
"responses": {
"201": {
"body": {
"odata.metadata": "https://myaccount.table.core.windows.net/$metadata#Tables/@Element",
"odata.type": " myaccount.Tables",
"odata.id": "https://myaccount.table.core.windows.net/Tables('mytable')",
"odata.editLink": "Tables('mytable')",
"TableName": "mytable"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"url": "myaccount.table.core.windows.net",
"table": "mytable"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"If-Match": "*",
"url": "myaccount.table.core.windows.net",
"table": "Customers",
"partitionKey": "mypartitionkey",
"rowKey": "myrowkey"
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"$top": 1,
"url": "myaccount.table.core.windows.net"
},
"responses": {
"200": {
"body": {
"odata.metadata": "https://myaccount.table.core.windows.net/$metadata#Tables",
"value": [
{
"odata.type": "myaccount.Tables",
"odata.id": "https://myaccount.table.core.windows.net/Tables('mytable')",
"odata.editLink": "Tables('mytable')",
"TableName": "mytable"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"table": "Customer",
"url": "myaccount.table.core.windows.net",
"tableEntityProperties": {
"Address": "Mountain View",
"Age": 23,
"AmountDue": 200.23,
"[email protected]": "Edm.Guid",
"CustomerCode": "c9da6455-213d-42c9-9a79-3e9149a57833",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-07-10T00:00:00",
"IsActive": true,
"[email protected]": "Edm.Int64",
"NumberOfOrders": "255",
"PartitionKey": "mypartitionkey",
"RowKey": "myrowkey"
}
},
"responses": {
"201": {
"body": {
"odata.metadata": "https://myaccount.table.core.windows.net/Customer/$metadata#Customers/@Element",
"odata.type": "myaccount.Customers",
"odata.id": " https://myaccount.table.core.windows.net/Customers(PartitionKey='mypartitionkey',RowKey='myrowkey')",
"odata.etag": "W/\"0x5B168C7B6E589D2\"",
"odata.editLink": "Customers(PartitionKey='mypartitionkey',RowKey='myrowkey')",
"PartitionKey": "mypartitionkey",
"RowKey": "myrowkey",
"[email protected]": "Edm.DateTime",
"Timestamp": "2013-08-22T01:12:06.2608595Z",
"Address": "Mountain View",
"Age": 23,
"AmountDue": 200.23,
"[email protected]": "Edm.Guid",
"CustomerCode": "c9da6455-213d-42c9-9a79-3e9149a57833",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-07-10T00:00:00",
"IsActive": true,
"[email protected]": "Edm.Int64",
"NumberOfOrders": "255"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"table": "Customers",
"partitionKey": "mypartitionkey",
"rowKey": "myrowkey",
"tableEntityProperties": {
"Address": "Santa Clara",
"Age": 23,
"AmountDue": 200.23,
"[email protected]": "Edm.Guid",
"CustomerCode": "c9da6455-213d-42c9-9a79-3e9149a57833",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-07-10T00:00:00",
"IsActive": false,
"[email protected]": "Edm.Int64",
"NumberOfOrders": "255",
"PartitionKey": "mypartitionkey",
"RowKey": "myrowkey"
}
},
"responses": {
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"$top": 1,
"table": "Customer"
},
"responses": {
"200": {
"body": {
"odata.metadata": " https://myaccount.table.core.windows.net/metadata#Customers",
"value": [
{
"PartitionKey": "Customer",
"RowKey": "Name",
"odata.type": "myaccount.Customers",
"odata.id": "https://myaccount.table.core.windows.net/Customers(PartitionKey=Customer',RowKey='Name')",
"odata.etag": "W/\"0x5B168C7B6E589D2\"",
"odata.editLink": "Customers(PartitionKey=Customer',RowKey='Name')",
"[email protected]": "Edm.DateTime",
"Timestamp": "2013-08-22T00:20:16.3134645Z",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-10-01T15:25:05.2852025Z"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"table": "Customers",
"partitionKey": "Customer",
"rowKey": "Name"
},
"responses": {
"200": {
"body": {
"odata.metadata": " https://myaccount.table.core.windows.net/metadata#Customers",
"value": [
{
"odata.type": "myaccount.Customers",
"odata.id": "https://myaccount.table.core.windows.net/Customers(PartitionKey=Customer',RowKey='Name')",
"odata.etag": "W/\"0x5B168C7B6E589D2\"",
"odata.editLink": "Customers(PartitionKey=Customer',RowKey='Name')",
"PartitionKey": "Customer",
"RowKey": "Name",
"[email protected]": "Edm.DateTime",
"Timestamp": "2013-08-22T00:20:16.3134645Z",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-10-01T15:25:05.2852025Z"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"x-ms-version": "2019-02-02",
"DataServiceVersion": "3.0",
"url": "myaccount.table.core.windows.net",
"table": "Customers",
"partitionKey": "mypartitionkey",
"rowKey": "myrowkey",
"tableEntityProperties": {
"Address": "Santa Clara",
"Age": 23,
"AmountDue": 200.23,
"[email protected]": "Edm.Guid",
"CustomerCode": "c9da6455-213d-42c9-9a79-3e9149a57833",
"[email protected]": "Edm.DateTime",
"CustomerSince": "2008-07-10T00:00:00",
"IsActive": false,
"[email protected]": "Edm.Int64",
"NumberOfOrders": "255",
"PartitionKey": "mypartitionkey",
"RowKey": "myrowkey"
}
},
"responses": {
"204": {}
}
}
Loading