Browse Source

Tweak in-line JSON comment format

pull/28/head
Kegan Dougal 8 years ago
parent
commit
aab346e0fa
  1. 15
      README.md

15
README.md

@ -183,17 +183,24 @@ curl -X POST localhost:4050/admin/configureAuthRealm --data-binary '{
}' }'
``` ```
The following keys will be modified/added:
- `JIRAEndpoint` in canonicalised form.
- `Server` and `Version` keys which are purely informational for the caller.
- `PublicKeyPEM` which the caller needs a human to insert into the JIRA Application Links web form.
Returns: Returns:
```yaml
```json
{ {
"ID": "jirarealm", "ID": "jirarealm",
"Type": "jira", "Type": "jira",
"OldConfig": null, "OldConfig": null,
"NewConfig": { "NewConfig": {
"JIRAEndpoint": "https://matrix.org/jira/", // canonicalised form
"JIRAEndpoint": "https://matrix.org/jira/",
"StarterLink": "https://example.com/requestJIRAOAuthToken", "StarterLink": "https://example.com/requestJIRAOAuthToken",
"Server": "Matrix.org", // informational; inserted by NEB
"Version": "6.3.5a", // informational; inserted by NEB
"Server": "Matrix.org",
"Version": "6.3.5a",
"ConsumerName": "goneb", "ConsumerName": "goneb",
"ConsumerKey": "goneb", "ConsumerKey": "goneb",
"ConsumerSecret": "random_long_string", "ConsumerSecret": "random_long_string",

Loading…
Cancel
Save