-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-table-storage.yaml
120 lines (113 loc) · 2.85 KB
/
azure-table-storage.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
swagger: '2.0'
info:
description: Azure Storage Table Entity API
version: 1.0.0
title: Azure Table Storage Table API
# put the contact info for your development or API team
contact:
email: [email protected]
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
host: njitwsmart.table.core.windows.net
# all paths will be relative to the basePath specified
basePath: /
schemes:
- https
- http
securityDefinitions:
BearerKey:
name: Authorization
type: apiKey
in: header
security:
- BearerKey: []
consumes:
- application/json
produces:
- application/json
definitions:
Payload:
title: payload
properties:
container:
type: object
description: The collection of messages from the moisture data stream
parameters:
Payload:
name: payload
in: body
description: The contents of the OData Entity you want to insert
schema:
$ref: '#/definitions/Payload'
required: true
Date:
name: Date
in: header
type: string
format: date-time
description: Specifices the Coordinated Universal Time(UTC)
required: true
X-MS-Version:
name: x-ms-version
in: header
type: string
description: The version of the operation to use for this request See https://docs.microsoft.com/en-us/rest/api/storageservices/versioning-for-the-azure-storage-services for details
required: false
Content-Type:
name: Content-Type
in: header
type: string
description: The MIME type to represent the API Call response
required: true
Content-Length:
name: Content-Length
in: header
description: The Length of your request body
type: integer
required: true
Accept:
name: Accept
in: header
type: string
description: The specific MIME types to accept from a response
required: true
paths:
/{tableName}:
post:
parameters:
- name: tableName
description: The name of your target Storage Table
in: path
type: string
required: true
- $ref: '#/parameters/Payload'
- $ref: '#/parameters/Date'
- $ref: '#/parameters/X-MS-Version'
- $ref: '#/parameters/Content-Type'
- $ref: '#/parameters/Content-Length'
- $ref: '#/parameters/Accept'
responses:
201:
description: Created
schema:
type: array
items:
type: object
204:
description: No content
headers:
X-MS-Request-Id:
type: string
X-MS-Version:
type: string
Date:
type: string
format: date-time
ETag:
type: string
Preference-Applied:
type: string
Content-Type:
type: string
x-azure-api-id: 'sh-1510987879058'