Use this API to get Race Photo Albums.
{ "albums": [ { "album_id": 1, "race_event_days_id": 6827, "album_url": "http:\/\/runsignup.com\/\/Race\/Photos\/Location\/Photos\/NJ\/Monroeville\/Virtual5k", "album_name": "Photos", "last_modified_ts": 1593547220, "num_photos": 1 }, { "album_id": 11, "race_event_days_id": 6827, "album_url": "http:\/\/runsignup.com\/\/Race\/Photos\/Location\/Test\/NJ\/Monroeville\/Virtual5k", "album_name": "Test", "last_modified_ts": 1597261271, "num_photos": 3 }, { "album_id": "reg-6827", "race_event_days_id": 6827, "album_url": "http:\/\/runsignup.com\/\/Race\/Photos\/ParticipantPhotos-6827\/5724", "album_name": "All Participant Uploads", "num_photos": 65 } ] }
Parameter | HTTP Method | Default | Description | Datatype |
---|---|---|---|---|
race_id Required |
GET | ID of race. | uint |
|
race_event_days_id Required |
GET | Race event days ID. This ID groups together events, typically by year. This ID is returned with the event information in the APIs to get races or a single race. | uint |
|
api_key |
GET | API key. | string |
|
api_secret |
GET | API secret. | string |
|
rsu_api_key |
GET | API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. | string |
|
X-RSU-API-SECRET |
HTTP Header | Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET. | string |
{ "openapi": "3.0.3", "info": { "title": "Get Race Photo Albums", "description": "Get all photo albums for a race event day.", "version": "1.0.0", "contact": { "name": "RunSignup API Support", "url": "https://runsignup.com/API", "email": "info@runsignup.com" } }, "servers": [ { "url": "https://runsignup.com/API", "description": "Production API Server" } ], "tags": [ { "name": "Race Photos", "description": "APIs related to Race Photos" } ], "components": { "schemas": { "Error": { "type": "object", "properties": { "error": { "type": "string", "description": "Error message" } }, "required": [ "error" ] }, "BadRequestError": { "allOf": [ { "$ref": "#/components/schemas/Error" }, { "description": "Error indicating invalid request parameters or structure" } ] }, "UnauthorizedError": { "allOf": [ { "$ref": "#/components/schemas/Error" }, { "description": "Error indicating authentication failure" } ] }, "ForbiddenError": { "allOf": [ { "$ref": "#/components/schemas/Error" }, { "description": "Error indicating the authenticated user lacks required permissions" } ] }, "NotFoundError": { "allOf": [ { "$ref": "#/components/schemas/Error" }, { "description": "Error indicating the requested resource does not exist" } ] }, "ServerError": { "allOf": [ { "$ref": "#/components/schemas/Error" }, { "description": "Error indicating an unexpected server-side issue" } ] } }, "securitySchemes": { "apiKey": { "type": "apiKey", "in": "query", "name": "api_key", "description": "RunSignup API Key" }, "apiSecret": { "type": "apiKey", "in": "query", "name": "api_secret", "description": "RunSignup API Secret" } } }, "paths": { "/v2/photos/get-race-photo-albums.json": { "get": { "tags": [ "Race Photos" ], "summary": "Get Race Photo Albums", "description": "Get all photo albums for a race event day.", "operationId": "v2_photos_get_race_photo_albums_json", "parameters": [ { "name": "race_id", "in": "query", "description": "ID of race.", "required": true, "schema": { "type": "integer" } }, { "name": "race_event_days_id", "in": "query", "description": "Race event days ID. This ID groups together events, typically by year. This ID is returned with the event information in the APIs to get races or a single race.", "required": true, "schema": { "type": "integer" } }, { "name": "api_key", "in": "query", "description": "API key.", "required": false, "schema": { "type": "string" } }, { "name": "api_secret", "in": "query", "description": "API secret.", "required": false, "schema": { "type": "string" } }, { "name": "rsu_api_key", "in": "query", "description": "API v2 key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET.", "required": false, "schema": { "type": "string" } }, { "name": "X-RSU-API-SECRET", "in": "header", "description": "Super partner API key. If used, you must send the API secret in an HTTP header named X-RSU-API-SECRET.", "required": false, "schema": { "type": "string" } } ], "security": [ { "apiKey": [] }, { "apiSecret": [] } ], "responses": { "200": { "description": "Successful response", "content": { "application/json": { "schema": { "type": "object" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BadRequestError" } } } }, "401": { "description": "Unauthorized", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/UnauthorizedError" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ForbiddenError" } } } }, "404": { "description": "Not Found", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NotFoundError" } } } }, "500": { "description": "Internal Server Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ServerError" } } } } }, "x-permissions": [ "affiliates", "partners", "race_directors", "timers" ] } } } }