-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaeso-unitcommitmentdata-api-v2-openapi.json
More file actions
222 lines (222 loc) · 7.78 KB
/
Copy pathaeso-unitcommitmentdata-api-v2-openapi.json
File metadata and controls
222 lines (222 loc) · 7.78 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
{
"openapi": "3.0.1",
"info": {
"title": "Unit Commitment Data API",
"description": "Get Unit Commitment Directives report data",
"version": "v2"
},
"servers": [
{
"url": "https://apimgw.aeso.ca/public/unitcommitmentdata-api"
},
{
"url": "https://gateway-apim.aeso.ca/public/unitcommitmentdata-api"
}
],
"paths": {
"/unitCommitment": {
"get": {
"operationId": "getUnitCommitmentDataReportV11ForDateRange",
"summary": "Fetch Unit Commitment Directive Data",
"description": "Fetch generating unit commitment directive data for a date range",
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnitCommitmentDataV2Report"
},
"examples": {
"default": {
"value": {
"unit_commitment": [
{
"asset_ID": "string",
"issued_time_utc": "string",
"issued_time_mpt": "string",
"begin_time_utc": "string",
"begin_time_mpt": "string",
"operation_start_time_utc": "string",
"operation_start_time_mpt": "string",
"operation_end_time_utc": "string",
"operation_end_time_mpt": "string"
}
]
}
}
}
}
}
},
"400": {
"description": "Bad Request"
},
"500": {
"description": "Internal server error"
},
"503": {
"description": "Service unavailable"
},
"401": {
"description": "Unauthorized"
},
"405": {
"description": "Invalid method"
},
"403": {
"description": "Forbidden"
},
"404": {
"description": "Not Found"
}
},
"parameters": [
{
"name": "startDate",
"in": "query",
"required": false,
"description": "Unit Commitment End Date From. Any date from 2024-07-01. Default to current time if left blank (format: yyyy-MM-dd).)",
"schema": {
"$ref": "#/components/schemas/UnitCommitmentGetRequest"
}
},
{
"name": "endDate",
"in": "query",
"required": false,
"description": "Unit Commitment End Date To. Any date from 2024-07-01 but after startDate. If left blank, return all the data from startDate. (format: yyyy-MM-dd).)",
"schema": {
"$ref": "#/components/schemas/UnitCommitmentGetRequest-1"
}
}
]
}
}
},
"components": {
"securitySchemes": {
"apiKeyHeader": {
"type": "apiKey",
"name": "API-KEY",
"in": "header"
},
"apiKeyQuery": {
"type": "apiKey",
"name": "subscription-key",
"in": "query"
}
},
"schemas": {
"UnitCommitmentDataV2Report": {
"type": "object",
"properties": {
"unit_commitment": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UnitCommitmentDataV2VO"
}
}
}
},
"UnitCommitmentDataV2VO": {
"type": "object",
"properties": {
"asset_ID": {
"type": "string",
"description": "Pool asset ID"
},
"issued_time_utc": {
"type": "string",
"description": "The time when the pool participant is issued the directive, in UTC."
},
"issued_time_mpt": {
"type": "string",
"description": "The time when the pool participant is issued the directive, in MPT."
},
"begin_time_utc": {
"type": "string",
"description": "The effective time of the directive when the pool participant is expected to begin responding to the directive, in UTC."
},
"begin_time_mpt": {
"type": "string",
"description": "The effective time of the directive when the pool participant is expected to begin responding to the directive, in MPT."
},
"operation_start_time_utc": {
"type": "string",
"description": "The time when the asset is instructed to synchronize to the interconnected electric system in response to the directive, in UTC."
},
"operation_start_time_mpt": {
"type": "string",
"description": "The time when the asset is instructed to synchronize to the interconnected electric system in response to the directive, in MPT."
},
"operation_end_time_utc": {
"type": "string",
"description": "The time when the asset is no longer required to operate in response to the directive, in UTC."
},
"operation_end_time_mpt": {
"type": "string",
"description": "The time when the asset is no longer required to operate in response to the directive, in MPT."
}
}
},
"UnitCommitmentGetRequest": {
"pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$",
"type": "string",
"x-apim-inline": true
},
"UnitCommitmentGetRequest-1": {
"pattern": "^\\d{4}\\-(0[1-9]|1[012])\\-(0[1-9]|[12][0-9]|3[01])$",
"type": "string",
"x-apim-inline": true
}
}
},
"security": [
{},
{
"apiKeyHeader": []
},
{
"apiKeyQuery": []
}
],
"x-provenance": {
"harvestedBy": "API Evangelist",
"harvestedOn": "2026-07-27",
"sourcePortal": "https://developer-apim.aeso.ca/",
"method": "Assembled verbatim from the AESO Azure API Management developer-portal data API, which is served anonymously. AESO's own OpenAPI export (?export=true&format=openapi) returns a valid document with an EMPTY paths object, so paths, parameters, responses, examples and component schemas were read from the portal's operations/ and schemas/ endpoints and reassembled without alteration. Nothing was invented.",
"sources": [
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2?api-version=2022-04-01-preview",
"status": 200,
"note": "API metadata"
},
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2?export=true&format=openapi%2Bjson&api-version=2022-04-01-preview",
"status": 200,
"note": "AESO OpenAPI export (empty paths) - basis for info/servers/security"
},
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2/operations?api-version=2022-04-01-preview",
"status": 200,
"note": "operation list"
},
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2/schemas?api-version=2022-04-01-preview",
"status": 200,
"note": "schema list"
},
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2/operations/getUnitCommitmentDataReportV11ForDateRange?api-version=2022-04-01-preview",
"status": 200,
"note": "operation detail"
},
{
"url": "https://developer-apim.aeso.ca/developer/apis/unitcommitmentdata-api-v2/schemas/67ffcd503d594b079c1250cb?api-version=2022-04-01-preview",
"status": 200,
"note": "schema document"
}
]
}
}