Merge pull request #266 from matrix-org/markjh/three_pid_creds

Fix the key name to be three_pid_creds rather than threePidCreds
pull/977/head
Mark Haines 9 years ago
commit 72d859609a

@ -112,7 +112,7 @@ paths:
schema: schema:
type: object type: object
properties: properties:
threePidCreds: three_pid_creds:
title: "ThreePidCredentials" title: "ThreePidCredentials"
type: object type: object
description: The third party credentials to associate with the account. description: The third party credentials to associate with the account.
@ -134,10 +134,10 @@ paths:
identifier to the account's Matrix ID with the passed identity identifier to the account's Matrix ID with the passed identity
server. Default: ``false``. server. Default: ``false``.
x-example: true x-example: true
required: ["threePidCreds"] required: ["three_pid_creds"]
example: |- example: |-
{ {
"threePidCreds": { "three_pid_creds": {
"id_server": "matrix.org", "id_server": "matrix.org",
"sid": "abc123987", "sid": "abc123987",
"client_secret": "d0n'tT3ll" "client_secret": "d0n'tT3ll"

Loading…
Cancel
Save