Skip to content
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
31 changes: 0 additions & 31 deletions openapi/paths/Batch_Bulk_{bulkId}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,34 +32,3 @@ get:
description: Bad Request - The request was malformed or contained invalid parameters.
'403':
description: Forbidden - The access token does not have sufficient scope.
post:
tags:
- Batch
summary: Upload a Bulk transfer file [FB_99]
description: >-
Uploads a Green Button XML file for bulk transfer. Requires a valid
data_custodian_access_token.
operationId: uploadBulkData
parameters:
- name: bulkId
in: path
description: The Bulk ID as specified in the OAuth2 SCOPE string.
required: true
schema:
type: string
security:
- oauth2: []
requestBody:
description: Green Button XML file contents to upload.
required: true
content:
application/xml:
schema:
type: string
responses:
'201':
description: Created - The bulk data was successfully uploaded.
'400':
description: Bad Request - The request was malformed or contained invalid XML.
'403':
description: Forbidden - The access token does not have sufficient scope.
Original file line number Diff line number Diff line change
Expand Up @@ -32,35 +32,3 @@ get:
description: Bad Request - The request was malformed or contained invalid parameters.
'403':
description: Forbidden - The access token does not have sufficient scope.
post:
tags:
- Batch
summary: Upload a Green Button XML file [FB_33]
description: >-
Uploads a Green Button XML file containing UsagePoint data for the
specified Retail Customer. Requires a valid data_custodian_access_token
or upload_access_token.
operationId: uploadMyData
parameters:
- name: retailCustomerId
in: path
description: The Retail Customer's ID.
required: true
schema:
type: string
security:
- oauth2: []
requestBody:
description: Green Button XML file contents to upload.
required: true
content:
application/xml:
schema:
type: string
responses:
'201':
description: Created - The Green Button data was successfully uploaded.
'400':
description: Bad Request - The request was malformed or contained invalid XML.
'403':
description: Forbidden - The access token does not have sufficient scope.
38 changes: 37 additions & 1 deletion redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,45 @@ rules:
openapi:
htmlTemplate: ./docs/index.html
theme:
logo:
gutter: 20px
# To add logo: Place logo.png in project root and uncomment below
# Then obtain license from: https://www.greenbuttonalliance.org/trademarks
# src: ./logo.png
# link: https://www.greenbuttonalliance.org/
colors:
primary:
main: "#32329f"
main: "#10a54a" # Green Button green
success:
main: "#10a54a"
warning:
main: "#f39c12"
error:
main: "#e74c3c"
text:
primary: "#263238"
secondary: "#5f6c72"
http:
get: "#10a54a"
post: "#3498db"
put: "#f39c12"
delete: "#e74c3c"
typography:
fontSize: "16px"
fontFamily: '"Open Sans", sans-serif'
headings:
fontFamily: '"Montserrat", sans-serif'
fontWeight: "600"
code:
fontSize: "14px"
fontFamily: '"Source Code Pro", monospace'
sidebar:
backgroundColor: "#fafafa"
textColor: "#263238"
activeTextColor: "#10a54a"
rightPanel:
backgroundColor: "#263238"
textColor: "#ffffff"
generateCodeSamples:
languages: # Array of language config objects; indicates in which languages to generate code samples.
- lang: curl
Expand Down