Docs Home
/
Zoo Developer Tools
/
API
/
Users
/
Replace one of the authenticated user's projects.

Replace one of the authenticated user's projects

Parameters

Name

Type

Req.

  • id

    string / UUID
    required
  • bodymultipart/form-data

    string / BINARY
    optional

Returns

  • 200 OK

    successful operation

    Name

    Type

    Req.

    body

    object
    optional
    Object Properties
    • category_ids

      array
      optional
    • created_at

      string / ISO-8601
      optional
    • description

      string
      optional
    • entrypoint_path

      string
      optional
    • files

      array
      optional
      Array of
      • byte_size

        integer
        optional
      • content_type

        string
        optional
      • created_at

        string / ISO-8601
        optional
      • file_role

        string
        optional
        Possible values
        • project_toml:  The root `project.toml` manifest.
        • project_file:  A project source file such as `.kcl`.
        • preview_image:  A preview image generated or uploaded for the gallery.
      • id

        string / UUID
        optional
      • relative_path

        string
        optional
      • sha256

        string
        optional
      • sort_order

        integer
        optional
      • updated_at

        string / ISO-8601
        optional
    • id

      string / UUID
      optional
    • preview_status

      string
      optional
      Possible values
      • pending:  A preview has not been generated yet.
      • ready:  The preview is available for display.
      • failed:  Preview generation failed and needs attention.
    • primary_preview_height

      integer
      optional
    • primary_preview_path

      string
      optional
    • primary_preview_width

      integer
      optional
    • project_toml_path

      string
      optional
    • publication_status

      string
      optional
      Possible values
      • private:  The project is owner-visible only and not intended for publication.
      • draft:  The project is being prepared for publication but is not yet submitted.
      • pending_review:  The project is awaiting moderation review.
      • published:  The project is publicly visible in the gallery.
      • rejected:  The project was reviewed and rejected.
      • deleted:  The project was removed from public display.
    • title

      string
      optional
    • updated_at

      string / ISO-8601
      optional
put
/user/projects/{id}
200 OK
Response