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
  • URL: https://api.volcano.dev/projects/{id}/logo
  • Auth: one of:
    • HTTP bearer
    • HTTP bearer

Path parameters

idstring uuid required

Project ID

Response

Logo uploaded

idstring uuid required
namestring required
status'active' | 'deleting' | 'failed' required
plan'HOBBY' | 'SUPERAGENT'

Plan name applied to the project when available.

all_regionsboolean required

Region policy for function deployment.

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

Effective region set for this project (normalized and deduplicated)

last_invoked_atstring date-time

Most recent activity timestamp across project resources

logo_urlstring

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.

created_atstring date-time required
updated_atstring date-time required

Example response

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

Changes

    • ●

      removed the optional property from the response with the status

    • ○

      the endpoint scheme security ProjectAccessToken was added to the API

    • ○

      added the optional property to the response with the status

    • ○

      removed the FREE enum value from the response property for the response status

    • ○

      removed the PRO enum value from the response property for the response status