立即开始
Strava Tools

Strava Create An Activity

通过 Aident Loadout 使用 Strava Tools 的 Strava Create An Activity。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Creates a manual activity for an athlete. Requires activity:write scope. This endpoint is for manually entered activities only. To upload activity files (FIT, TCX, GPX), use the Upload Activity endpoint instead. Required parameters: name, sport_type, start_date_local, elapsed_ti…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • namestring
    必填
    The name/title of the activity (required).
  • typestring
    Deprecated activity type. Use sport_type instead. If both are provided, type is ignored. Common values: Run, Ride, Swim, Walk, Hike, Workout.
  • commuteinteger
    Set to 1 to mark the activity as a commute. Set to 0 or omit for non-commute activities.
  • trainerinteger
    Set to 1 to mark the activity as done on a trainer/indoor. Set to 0 or omit for outdoor activities.
  • distancenumber
    Distance in meters. Example: 5000.0 for 5km.
  • sport_typestring
    必填
    Sport type of the activity (required). Common values include: Run, TrailRun, Walk, Hike, Ride, MountainBikeRide, GravelRide, VirtualRide, Swim, Workout, WeightTraining, Yoga, CrossFit, Rowing, Kayaking, Skiing, Snowboarding.
  • descriptionstring
    Optional text description of the activity.
  • elapsed_timeinteger
    必填
    Total elapsed time of the activity in seconds (required). Example: 3600 for 1 hour.
  • start_date_localstring
    必填
    ISO 8601 formatted local date-time when the activity started (required). Example: '2024-01-15T09:30:00Z' or '2024-01-15T09:30:00+00:00'.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源