PUT
/
v1
/
components
/
{orgSlug}
/
{componentSlug}
/
versions
/
{versionId}
curl --request PUT \
  --url https://api.edgee.app/v1/components/{orgSlug}/{componentSlug}/versions/{versionId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "changelog": "<string>"
}'
{
  "object": "component_version_item",
  "version": "<string>",
  "wit_world_version": "<string>",
  "wasm_url": "<string>",
  "dynamic_fields": [
    {
      "name": "<string>",
      "title": "<string>",
      "type": "string",
      "options": [
        "<string>"
      ],
      "required": true,
      "description": "<string>",
      "secret": true
    }
  ],
  "changelog": "<string>",
  "created_at": "2022-03-01T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here

Path Parameters

orgSlug
string
required
componentSlug
string
required
versionId
string
required

Body

application/json

Response

200
application/json

The updated Component Version

Version of a component