openapi: 3.0.1
info:
title: CDR Common
version: '1.0'
x-origin:
- format: openapi
version: '3.0'
source: AEMO API Management developer portal
url: https://dev.aemo.com.au/developer/apis/cdr-common/operations?api-version=2022-04-01-preview
servers:
- url: https://api-prd.aemo.local/NEMRetail/cds-au/v1/discovery
paths:
/outages:
get:
operationId: getOutages
summary: Get Outages
tags:
- CDR Common
description: Obtain a list of scheduled outages for the implementation
parameters:
- name: x-v
in: header
required: true
schema:
type: string
description: Version of the API end point requested by the client. Must be set to a positive integer.
The data holder should respond with the highest supported version between [x-min-v](#request-headers)
and [x-v](#request-headers). If the value of [x-min-v](#request-headers) is equal to or higher
than the value of [x-v](#request-headers) then the [x-min-v](#request-headers) header should
be treated as absent. If all versions requested are not supported then the data holder must
respond with a 406 Not Acceptable. See [HTTP Headers](#request-headers)
- name: x-min-v
in: header
required: false
schema:
type: string
description: Minimum version of the API end point requested by the client. Must be set to a positive
integer if provided. The data holder should respond with the highest supported version between
[x-min-v](#request-headers) and [x-v](#request-headers). If all versions requested are not supported
then the data holder must respond with a 406 Not Acceptable.
responses:
'200':
description: Success
content:
application/json:
example:
data:
outages:
- duration: duration
outageTime: outageTime
isPartial: true
explanation: explanation
- duration: duration
outageTime: outageTime
isPartial: true
explanation: explanation
meta: '{}'
links:
self: self
'400':
description: The following error codes MUST be supported: