Hi all,

I have been working on the $subject as WSO2 IS need a common place to store
configurations.


Above diagramme is a high-level, modularized view of $subject approach.

I am working on the Configuration Management Endpoint. Below include the
REST API for this.

Name : WSO2 Identity Server Configuration Management Rest API

Base URL : {tenant-domain}/api/identity/config-mgt/v1.0

URL

Method

Body

Description

/configuration

POST

Tenant Configurations object

Add configurations

PUT

Tenant Configurations object

Add or Replace configurations

PATCH

Tenant Configurations object

Update existing configurations

GET

-

Retrieve configurations

DELETE

-

Revoke configurations

/configuration/{key}

POST

Configuration object

Add the configuration

PUT

Configuration object

Add or Replace the configuration

PATCH

Configuration object

Update existing configuration

GET

-

Retrieve the configuration

DELETE

-

Revoke the configuration

A path parameter named ‘key’ is used to identify a configuration.

Path Parameter

Description

{key}

Key of the configuration

Two types of data objects are used for above REST API calls.

Data object

Model

Tenant Configurations object

Configuration object


Let’s have a look at an example POST request to add the “email
configuration” using WSO2 Identity Server Configuration Management Rest API.

Method

POST

URL

/api/identity/config-mgt/v1.0/configuration/email

Body


Please refer to the detailed REST API documentation for in-depth information
[1]
<https://app.swaggerhub.com/apis-docs/WSO8/wso-2_identity_server_configuration_management_rest_api/1.0.0>
.

Please note that naming in the API is not finalized yet.

Your valuable comments and suggestions are highly appreciated.


[1]
https://app.swaggerhub.com/apis-docs/WSO8/wso-2_identity_server_configuration_management_rest_api/1.0.0
<https://app.swaggerhub.com/apis-docs/WSO8/wso-2_identity_server_configuration_management_rest_api/1.0.0#/>

Thanks,

Tharindu.
-- 
*Tharindu Bandara*
Software Engineer | WSO2

Email : [email protected]
Mobile : +94 714221776
web : http://wso2.com
<https://www.google.com/url?q=http://wso2.com&sa=D&ust=1517653383990000&usg=AFQjCNFggB4bSJTKmdqKcBV0VY9xx1ABKg>

https://wso2.com/signature
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to