Updates Service configuration
put
/gsadmin/v1/{appName}/configuration/services/{serviceName}
Updates the service configuration. While any service can be defined, aiaOffers is an expected service configuration.
Request
Supported Media Types
- application/json
- application/zip
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
-
serviceName: string
Specifies the name of your the service to define. For example aiaOffers.
The configurtion for a service.
Nested Schema : BaseECR
Type:
Show Source
object
-
ecr:createDate(optional):
string
Date this object was first created. Found in responses. Ignored in POST/PUT payloads.Example:
2018-01-01T13:41:03.858-04:00
-
ecr:lastModified(optional):
string
Date this object was last modified. Found in responses. Ignored in POST/PUT payloads.Example:
2018-01-01T13:41:03.858-04:00
-
ecr:lastModifiedBy(optional):
string
User who last modified this object. Found in responses. Ignored in POST/PUT payloads.Example:
admin
Nested Schema : ServiceConfig-allOf[1]
Type:
Show Source
object
-
ecr:type(optional):
string
Default Value:
configuration-service
-
enabled(optional):
boolean
-
noOfRecommendations(optional):
integer
-
serviceUrl(optional):
string
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
202 Response
Services configuration successfully updated.