curl -X PATCH "https://app.joip.io/api/sessions/123" \
-H "Content-Type: application/json" \
-H "Cookie: connect.sid=YOUR_SESSION_COOKIE" \
-d '{
"title": "Updated Session Title",
"intervalMin": 4,
"intervalMax": 12
}'
{
"id": 123,
"title": "Updated Session Title",
"userId": "user_abc123",
"subreddits": ["joi", "femdom"],
"categoryId": 1,
"intervalMin": 4,
"intervalMax": 12,
"transition": "fade",
"thumbnail": "https://i.redd.it/thumb.jpg",
"captionTheme": "joi",
"isPublic": false,
"shareToCommunity": false,
"isFavorite": true,
"isManualMode": false,
"isImported": false,
"createdAt": "2025-03-02T10:00:00Z",
"updatedAt": "2025-03-02T12:30:00Z"
}
Update session metadata and configuration
curl -X PATCH "https://app.joip.io/api/sessions/123" \
-H "Content-Type: application/json" \
-H "Cookie: connect.sid=YOUR_SESSION_COOKIE" \
-d '{
"title": "Updated Session Title",
"intervalMin": 4,
"intervalMax": 12
}'
{
"id": 123,
"title": "Updated Session Title",
"userId": "user_abc123",
"subreddits": ["joi", "femdom"],
"categoryId": 1,
"intervalMin": 4,
"intervalMax": 12,
"transition": "fade",
"thumbnail": "https://i.redd.it/thumb.jpg",
"captionTheme": "joi",
"isPublic": false,
"shareToCommunity": false,
"isFavorite": true,
"isManualMode": false,
"isImported": false,
"createdAt": "2025-03-02T10:00:00Z",
"updatedAt": "2025-03-02T12:30:00Z"
}
null to reset to default categorycurl -X PATCH "https://app.joip.io/api/sessions/123" \
-H "Content-Type: application/json" \
-H "Cookie: connect.sid=YOUR_SESSION_COOKIE" \
-d '{
"title": "Updated Session Title",
"intervalMin": 4,
"intervalMax": 12
}'
{
"id": 123,
"title": "Updated Session Title",
"userId": "user_abc123",
"subreddits": ["joi", "femdom"],
"categoryId": 1,
"intervalMin": 4,
"intervalMax": 12,
"transition": "fade",
"thumbnail": "https://i.redd.it/thumb.jpg",
"captionTheme": "joi",
"isPublic": false,
"shareToCommunity": false,
"isFavorite": true,
"isManualMode": false,
"isImported": false,
"createdAt": "2025-03-02T10:00:00Z",
"updatedAt": "2025-03-02T12:30:00Z"
}
subredditscaptionThemeaiPromptthumbnail string is provided and subreddits exist, a new thumbnail is auto-generatedshareToCommunity creates a persistent community snapshot with media copied to durable storageshareToCommunity removes the community snapshot