POST api/Hide/SaveConfigImage?password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
password

string

Required

Body Parameters

DomainConfigViewModel
NameDescriptionTypeAdditional information
domain_id

string

None.

api_hosts

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "domain_id": "sample string 1",
  "api_hosts": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<DomainConfigViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeMe.ViewModel">
  <api_hosts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </api_hosts>
  <domain_id>sample string 1</domain_id>
</DomainConfigViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeMe.AppApi.Models">
  <code>1</code>
  <data />
  <msg>sample string 2</msg>
</ApiResponse>