API Documentation
- Introduction
- Authentication
- Errors
- ApiTokens
- Organizations
- Projects
- Domains
- ProxySettings
- Components
- ProjectComponents
- Statistics
- DataCollectionEvents
- Users
- Invitations
- DataCollection (Project)
Components
Create a Component Version
Create a Component Version.
POST
/
v1
/
components
/
{id}
/
versions
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"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
Path Parameters
Body
application/json
Response
200
application/json
The created Component Version
Version of a component
Was this page helpful?
Copy
Ask AI
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>"
}'
Copy
Ask AI
{
"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"
}
Assistant
Responses are generated using AI and may contain mistakes.