star-segment
Manage starred segments on Strava: star or unstar specific segments for authenticated athletes using segment ID and starred status.
Instructions
Stars or unstars a specific segment for the authenticated athlete.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
segmentId | Yes | The unique identifier of the segment to star or unstar. | |
starred | Yes | Set to true to star the segment, false to unstar it. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"segmentId": {
"description": "The unique identifier of the segment to star or unstar.",
"exclusiveMinimum": 0,
"type": "integer"
},
"starred": {
"description": "Set to true to star the segment, false to unstar it.",
"type": "boolean"
}
},
"required": [
"segmentId",
"starred"
],
"type": "object"
}