Projects API
Create, list, update, and delete upload projects.
All project endpoints require Authorization: Bearer bb_live_… and only affect source_type=upload projects.
List projects
curl "https://api.bopbee.com/v1/projects?limit=50" \
-H "Authorization: Bearer bb_live_your_key"Default limit is 50 (max 100). Use cursor from next_cursor for pagination.
Create project
curl -X POST https://api.bopbee.com/v1/projects \
-H "Authorization: Bearer bb_live_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"My site","upload_mode":"code"}'upload_mode is code (static site) or viewer (document gallery).
Update project
curl -X PATCH https://api.bopbee.com/v1/projects/PROJECT_ID \
-H "Authorization: Bearer bb_live_your_key" \
-H "Content-Type: application/json" \
-d '{"name":"Renamed site","status":"paused"}'Delete project
curl -X DELETE https://api.bopbee.com/v1/projects/PROJECT_ID \
-H "Authorization: Bearer bb_live_your_key"Returns 204 when the project is marked for deletion.