Update Backend
put
/mobile/tools/1.0/mobilebackends/{id}
Updates the backend's metadata.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueThe identifier of the backend.
Header Parameters
- If-Match
-
Type:
stringThe request completes successfully only if the ETag of the corresponding asset matches the value of this HTTP request header. To force overwrite, pass the value `*`.
Body Parameter
The backend representation for PUT requests.
Root Schema : mobilebackendUpdate
Type:
objectThe backend representation for PUT requests.
-
Type:
objectassetUpdateAdditional Properties Allowed:The asset representation for PUT requests. -
Type:
objectmobilebackendUpdate-allOf[1]Additional Properties Allowed:
Nested Schema : assetUpdate
Type:
objectThe asset representation for PUT requests.
- actionComment
-
Type:
string - desc
-
Type:
stringMaximum Length:100 - max
-
Type:
booleanDefault Value:false - name
-
Type:
stringRequired:trueMaximum Length:100Pattern:^[a-zA-Z][a-zA-Z0-9_]*$ - namespace
-
Type:
stringApplicable to APIs and implementations only. This value is null for all other asset types. - title
-
Type:
stringMaximum Length:255 - version
-
Type:
stringMaximum Length:100Pattern:^[a-zA-Z0-9][\w.]*$Asset version.
Nested Schema : mobilebackendUpdate-allOf[1]
- basic
-
Type:
boolean - oauth
-
Type:
boolean - roleAccess
-
Type:
objectmobilebackendRoleAccessAdditional Properties Allowed:The backend's role-access details.
Nested Schema : mobilebackendRoleAccess
Type:
objectThe backend's role-access details.
- enabled
-
Type:
boolean - roles
-
Type:
arraystringArrayAdditional Properties Allowed:Minimum Number of Items:0An array of string values.
Nested Schema : stringArray
Response
Supported Media Types
- application/json
204 Response
The backend metadata was updated. No content was returned in this response.
400 Response
The backend specification is missing.
Body
Root Schema : error
Type:
object- detail
-
Type:
stringRequired:trueMessage that provides the error details. - o:ecid
-
Type:
stringRequired:trueExecution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
stringRequired:trueThe service's error code. - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
stringRequired:trueThe relative point in the API path where the error occurred. - status
-
Type:
integer(int64)Required:trueHTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
object- detail
-
Type:
stringRequired:true - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
409 Response
The update modifies the backend's name or version and a backend with the same name or version (or both) already exists.
Body
Root Schema : error
Type:
object- detail
-
Type:
stringRequired:trueMessage that provides the error details. - o:ecid
-
Type:
stringRequired:trueExecution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
stringRequired:trueThe service's error code. - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
stringRequired:trueThe relative point in the API path where the error occurred. - status
-
Type:
integer(int64)Required:trueHTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
object- detail
-
Type:
stringRequired:true - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
412 Response
The operation failed based on the `If-Match` condition. Typically, this is the result of concurrent modification detection. It also can be the result of improper values specified in the request headers.
Body
Root Schema : error
Type:
object- detail
-
Type:
stringRequired:trueMessage that provides the error details. - o:ecid
-
Type:
stringRequired:trueExecution context ID, which is a unique identifier to correlate events or requests that are associated with the same transaction across several components. - o:errorCode
-
Type:
stringRequired:trueThe service's error code. - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - o:errorPath
-
Type:
stringRequired:trueThe relative point in the API path where the error occurred. - status
-
Type:
integer(int64)Required:trueHTTP status code. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for more details. - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.
Nested Schema : errorDetails
Type:
object- detail
-
Type:
stringRequired:true - o:errorDetails
-
Type:
objecterrorDetailsAdditional Properties Allowed: - title
-
Type:
stringRequired:trueSummary of the problem. - type
-
Type:
stringRequired:trueThe URI to the link that provides details about the HTTP status code.