Create an extension
POST {{baseUrl}}/deployments/extensions
Creates the extension.
The extensions API supports two types of usage patterns.
A). Specify a download_url
, http or https URL, where the extension is currently hosted. This will result in extension being copied to elastic repository.
B). Create only the extension metadata using the POST
endpoint and then use PUT
to upload the extension file. Leave the download_url
unspecified in this case.
Request Body
{"extension_type"=>"plugin", "name"=>"do nulla nisi amet", "version"=>"amet", "download_url"=>"commodo", "description"=>"pariatur anim reprehenderit adipisicing"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: Created
""