curl --request PUT \
--url https://platform.versori.com/api/v2/o/{organisation_id}/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"settings": {
"acceptCodeChangesAutomatically": true
}
}
'{
"id": "<string>",
"environments": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publicUrl": "<string>",
"files": [
{
"filename": "<string>",
"content": "<string>"
}
],
"labels": {}
}
],
"name": "<string>",
"currentFiles": {
"files": [
{
"filename": "<string>",
"content": "<string>"
}
],
"labels": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"settings": {
"acceptCodeChangesAutomatically": true
},
"dynamicVariablesSchema": {}
}UpdateProject updates the project record. This endpoint will not make changes to the file or the running deployment.
curl --request PUT \
--url https://platform.versori.com/api/v2/o/{organisation_id}/projects/{project_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"settings": {
"acceptCodeChangesAutomatically": true
}
}
'{
"id": "<string>",
"environments": [
{
"id": "<string>",
"name": "<string>",
"status": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publicUrl": "<string>",
"files": [
{
"filename": "<string>",
"content": "<string>"
}
],
"labels": {}
}
],
"name": "<string>",
"currentFiles": {
"files": [
{
"filename": "<string>",
"content": "<string>"
}
],
"labels": {}
},
"createdAt": "2023-11-07T05:31:56Z",
"settings": {
"acceptCodeChangesAutomatically": true
},
"dynamicVariablesSchema": {}
}Bearer token authentication used by the Versori Platform. You must provide a signed JWT provided by our IdP.
OK
The Project represents a deployable unit within our platform that includes both the functional components (files) and configuration. It serves as the backbone of custom or predefined functionalities, allowing organizations to create, update, and manage APIs and projects.
The unique identifier for the project.
List of environments for the project.
Show child attributes
Show child attributes
ProjectSettings hold configuration for the project
Show child attributes
DynamicVariablesSchema is the JSON schema for the project's dynamic variables.