Projects

Upload or replace the project logo

Changed on

Uploads an image as the project's logo, storing it in the project's storage folder. Accepts PNG, JPEG, GIF, WebP, or SVG up to 2 MB. Replaces any existing logo. Returns the updated project, whose logo_url reflects the new logo.

post/projects/{id}/logo

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Request body multipart/form-data

object required
logo, string binary required

Logo image (PNG, JPEG, GIF, WebP, or SVG; max 2 MB)

Response

Logo uploaded

Project required
template_installation, ProjectTemplateInstallation

Template initialization progress, returned by project creation and the individual project endpoint. Omitted for projects without a template. Project creation accepts the installation; wait for ready before use. A failed installation retains the project for inspection or deletion.

id, string uuid required
name, string required
status, 'active' | 'deleting' | 'failed' required
plan, 'HOBBY' | 'SUPERAGENT'

Plan name applied to the project when available.

all_regions, boolean required

Region policy for function deployment.

  • true: deploy functions to all configured platform regions
  • false: deploy only to selected_regions
selected_regions, string[] required

Effective region set for this project (normalized and deduplicated)

last_invoked_at, string date-time

Most recent activity timestamp across project resources

logo_url, string

Relative API path that serves the project logo when one has been uploaded. The path is versioned with a ?v= cache-busting query param that changes on each upload. Absent when the project has no logo. The logo image is stored in the project's storage folder.

git_connection, ProjectGitConnectionSummary

Present for connected projects when git_connection is requested through the list endpoint's include parameter.

health, ProjectHealthSummary

Present when health is requested through the list endpoint's include parameter.

created_at, string date-time required
updated_at, string date-time required

Example response

{
  "logo_url": "/projects/3fa85f64-5717-4562-b3fc-2c963f66afa6/logo?v=1718524800"
}

Changes

    • warning

      added the new empty enum value to the health/allOf[#/components/schemas/ProjectHealthSummary]/status response property for the response status

    • warning

      added the new needs_attention enum value to the health/allOf[#/components/schemas/ProjectHealthSummary]/status response property for the response status

    • warning

      removed the optional property aws_application_name from the response with the status

    2 more changes in this revision