Add a favorite area
POST/api/v1/favorites/areas
Creates a favorite covering a polygon or rectangle, such as a campus or a park. Stays inside the area use the favorite's name. Starts a background timeline regeneration so existing stays pick up the change; the response contains the job ID to poll with GET /api/v1/timeline/jobs/{jobId}. If a timeline job is already running, its job ID is returned instead and the regeneration runs after it finishes.
Access: Any signed-in user, with a session or an API token.
Request
Responses
- 201
- 400
- 401
- 403
Area favorite created
Bad Request
Authentication is required or the provided credentials are invalid.
The authenticated user does not have permission to access this resource.