Get the RCS class of a tag
Returns the highest class and the class counts of the RCS members who wear `tag` in `region`. A tag that nobody wears returns `memberCount` 0.
Parameters #
| Property | Type | Location | Description |
|---|---|---|---|
tag | stringRequired | query | - |
region | stringRequired | query | - |
If-None-Match | string | header | The ETag of a cached copy. The API answers 304 Not Modified when it is still current. |
Request #
curl --request GET 'https://strave.gg/api/v2/rcs/classes' \
--header 'Authorization: Bearer $STRAVE_ACCESS_TOKEN'Response #
200Response for status 200304Not Modified. The If-None-Match ETag is current; reuse the cached body.400Response for status 400401Response for status 401403Response for status 403404Response for status 404429Response for status 429500Response for status 500503Response for status 503| Property | Type | Description |
|---|---|---|
data | objectRequired | - |
└tag | stringRequired | - |
└region | stringRequired | - |
└highestClass | string | nullRequired | RCS class letter, `A` is the highest. Null when unknown. |
└memberCount | integerRequired | - |
└classCounts | objectRequired | Members per class letter. |
Cost #
1 API unit