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.
Show child attributes
Was this page helpful?