|
@ -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", |
|
|