cURL
curl --request POST \ --url https://api.edgee.app/v1/components/{id}/versions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "version": "<string>", "wit_version": "<string>", "wasm_url": "<string>", "dynamic_fields": [ { "name": "<string>", "title": "<string>", "type": "string", "options": [ "<string>" ], "required": true, "description": "<string>", "secret": true } ], "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" }
Create a Component Version.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token. More info here
Bearer <token>
<token>
The created Component Version
Version of a component
Was this page helpful?