Import application configuration
post
/gsadmin/v1/{appName}
Import the application configuration using the zip content passed in the request body
Request
Supported Media Types
- application/zip
Path Parameters
- appName
-
Type:
stringRequired:trueSpecifies the name of your application, for example, Discover.
Form Parameters
- :file
-
Type:
fileRequired:trueThe application configuration to create as a zip file.
Security
- basicAuth
-
Type:
basicDescription:Basic username/password authentication.
Response
Supported Media Types
- application/json
201 Response
Application configuration successfully created.
Body
Root Schema : Response
Type:
object- message
-
Type:
string - status
-
Type:
integer(int32)
Examples
The following example shows how to import the entire search configuration for the cloud application:
curl -H "Authorization: Bearer <token>" -X POST --data @<Input json path> http://<host>:<port>/gsadmin/v1/cloud