...
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /properties?path={ resource path }&start={ start page }&size={ number of records } |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Description | This retrieves all the properties posted on the specific resource with a specified start page and size. |
Response | HTTP 200 OK |
Response Type | application/json |
Sample request
curl -X GET -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Cache-Control: no-cache" "https://localhost:9443/resource/1.0.0/properties?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService" -i -k
/properties?path={ resource path }&start={ start page }&size={number of records}
Get a property of a given resource
Attributes | Values |
---|---|
HTTP Method | GET |
Request URI | /property?path={ resource path }&name={ property name } |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Description | This retrieves the specific property associated with the given property name. |
Response | HTTP 200 OK |
Response Type | application/json |
Sample request
curl -X GET -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Cache-Control: no-cache" "https://localhost:9443/resource/1.0.0/property?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService&name=resource.source" -i -k
...
Attributes | Values |
---|---|
HTTP Method | POST |
Request URI | /properties?path={ resource path } |
HTTP Request Headers | Authorization: Basic { base64encoded(username:password) } Content-Type: application/json |
Payload | [ {"name":"property1","value":["value1","value2"]} ] |
Description | Add the array of properties for the given resource |
Response | 204 No Content |
Response Type | application/json |
Sample request
curl -X POST -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '[ {"name":"property1","value":["value1","value2"]} ] ' "https://localhost:9443/resource/1.0.0/properties?path=/_system/governance/trunk/soapservices/org/wso2/www/types/1.0.0/Axis2Service"
...
Attributes | Values |
---|---|
HTTP Method | DELETE |
Request URI | /property?path={ resource path }&name={property name} |
HTTP Request Header | Authorization: Basic { base64encoded(username:password) } |
Description | Deletes the specified property from the given resource |
Response | HTTP 204 No Content |
Response Type | application/json |
Sample request
curl -X DELETE -H "Authorization: Basic YWRtaW46YWRtaW4=" -H "Content-Type: application/json" -H "Cache-Control: no-cache" "https://localhost:9443/resource/1.0.0/property?path=/_system/governance/trunk/soapservices/com/amazon/soap/1.0.0/AmazonSearchService&name=resource.source" -i -k