Skip to content

Commit

Permalink
Merge pull request #116 from netlify/get-account
Browse files Browse the repository at this point in the history
Add getAccount route
  • Loading branch information
bcomnes authored Oct 13, 2018
2 parents 4ae06fb + 73f9c7e commit 8f7efa3
Show file tree
Hide file tree
Showing 4 changed files with 285 additions and 1 deletion.
134 changes: 134 additions & 0 deletions go/plumbing/operations/get_account_parameters.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

110 changes: 110 additions & 0 deletions go/plumbing/operations/get_account_responses.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 29 additions & 0 deletions go/plumbing/operations/operations_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion swagger.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
swagger: '2.0'
info:
version: 0.4.2
version: 0.5.0
title: Netlify's API definition
securityDefinitions:
netlifyAuth:
Expand Down Expand Up @@ -1162,6 +1162,17 @@ paths:
type: string
in: path
required: true
get:
operationId: getAccount
responses:
'200':
description: OK
schema:
type: array
items:
$ref: "#/definitions/accountMembership"
default:
$ref: "#/responses/error"
put:
operationId: updateAccount
parameters:
Expand Down

0 comments on commit 8f7efa3

Please sign in to comment.