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
- multipart/form-data
Path Parameters
-
appName: string
Specifies the name of your application. For example, "cloud".
Form Parameters
-
:file: file
The application configuration to create as a zip file.
Security
-
basicAuth: basic
Type:
basic
Description:Basic username/password authentication.
Response
Supported Media Types
- application/json
201 Response
Application configuration successfully created.
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