All URIs are relative to https://www.thebluealliance.com/api/v3
Method | HTTP request | Description |
---|---|---|
GetDistrictEvents | Get /district/{district_key}/events | |
GetDistrictEventsKeys | Get /district/{district_key}/events/keys | |
GetDistrictEventsSimple | Get /district/{district_key}/events/simple | |
GetDistrictRankings | Get /district/{district_key}/rankings | |
GetDistrictTeams | Get /district/{district_key}/teams | |
GetDistrictTeamsKeys | Get /district/{district_key}/teams/keys | |
GetDistrictTeamsSimple | Get /district/{district_key}/teams/simple | |
GetDistrictsByYear | Get /districts/{year} | |
GetEventDistrictPoints | Get /event/{event_key}/district_points | |
GetTeamDistricts | Get /team/{team_key}/districts |
[]Event GetDistrictEvents(ctx, districtKey, optional)
Gets a list of events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictEventsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictEventsOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]string GetDistrictEventsKeys(ctx, districtKey, optional)
Gets a list of event keys for events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictEventsKeysOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictEventsKeysOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
[]string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]EventSimple GetDistrictEventsSimple(ctx, districtKey, optional)
Gets a short-form list of events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictEventsSimpleOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictEventsSimpleOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]DistrictRanking GetDistrictRankings(ctx, districtKey, optional)
Gets a list of team district rankings for the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictRankingsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictRankingsOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Team GetDistrictTeams(ctx, districtKey, optional)
Gets a list of Team
objects that competed in events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictTeamsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictTeamsOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]string GetDistrictTeamsKeys(ctx, districtKey, optional)
Gets a list of Team
objects that competed in events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictTeamsKeysOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictTeamsKeysOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
[]string
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]TeamSimple GetDistrictTeamsSimple(ctx, districtKey, optional)
Gets a short-form list of Team
objects that competed in events in the given district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
districtKey | string | TBA District Key, eg `2016fim` | |
optional | *GetDistrictTeamsSimpleOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictTeamsSimpleOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]DistrictList GetDistrictsByYear(ctx, year, optional)
Gets a list of districts and their corresponding district key, for the given year.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
year | int32 | Competition Year (or Season). Must be 4 digits. | |
optional | *GetDistrictsByYearOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetDistrictsByYearOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EventDistrictPoints GetEventDistrictPoints(ctx, eventKey, optional)
Gets a list of team rankings for the Event.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
eventKey | string | TBA Event Key, eg `2016nytr` | |
optional | *GetEventDistrictPointsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetEventDistrictPointsOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]DistrictList GetTeamDistricts(ctx, teamKey, optional)
Gets an array of districts representing each year the team was in a district. Will return an empty array if the team was never in a district.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
teamKey | string | TBA Team Key, eg `frc254` | |
optional | *GetTeamDistrictsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GetTeamDistrictsOpts struct
Name | Type | Description | Notes |
---|
ifModifiedSince | optional.String| Value of the `Last-Modified` header in the most recently cached response by the client. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]