Last active
November 3, 2017 17:22
-
-
Save awsum/01f1e3c0e9db8f937334ea1ef8e589b3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
version: "1" | |
title: "Admin notification preferences" | |
consumes: | |
- "application/json" | |
produces: | |
- "application/json" | |
paths: | |
/notifications/:account-id: | |
patch: | |
summary: "Update notification preferences" | |
parameters: | |
- in: body | |
name: body | |
schema: | |
type: object | |
properties: | |
email: | |
type: "string" | |
example: "fo@ob.ar" | |
kyc_review: | |
type: "boolean" | |
responses: | |
"200": | |
description: "ok" | |
get: | |
summary: "Get notification preferences" | |
responses: | |
"200": | |
description: "ok" | |
schema: | |
type: object | |
properties: | |
email: | |
type: string | |
example: "fo@ob.ar" | |
kyc_review: | |
type: boolean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment