Logo
Elasticsearch API Documentation

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.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string




RESPONSES

status Created





Curl
curl -X POST 'https://api.elastic-cloud.com/api/v1//deployments/extensions' -H 'Content-Type: application/json' -d '{"extension_type":"plugin","name":"do nulla nisi amet","version":"amet","download_url":"commodo","description":"pariatur anim reprehenderit adipisicing"}'

ENDPOINTS