Introduction
The AwardStage API is a programmable web interface to gain access through to your Awards. The API is a REST api that currently only supports GET opperations to fetch data from our system.
As with any REST api, the endpoints are predictable resource-orientated URLs, that follow a standardised format. A full URL can be obtained by appending the resource uri to the api endpoint
API endpoint
https://api.awardstage.com
Resource endpoint
entry/1
Full url example
URL:
https://api.awardstage.com/entry/1
AwardStage API uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a authentication failed, etc.), and codes in the 5xx range indicate an error with AwardStage's servers (these are rare).
Authentication
Firstly to gain access to the API, like most API's you need to authenticate. AwardStage's API is currently private, only access can be given to Awards that have request to do so. We will provide a client id and client secret which you will use in the next step.
Getting an access token
URL:
https://api.awardstage.com/authorize
REQUEST:
The client_id that is assigned to your awards
The client_secret that is assigned to your awards
After a access token has been obtained, this should be used whenever accessing a resource. The access token should be sent in the HTTP header like so.
Entrants
List entrants
URL:
https://api.awardstage.com/entrants
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count entrants
URL:
https://api.awardstage.com/entrants/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get entrant
URL:
https://api.awardstage.com/entrant/:id
Judges
List judges
URL:
https://api.awardstage.com/judges
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count judges
URL:
https://api.awardstage.com/judges/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get judge
URL:
https://api.awardstage.com/judge/:id
Categories
List categories
URL:
https://api.awardstage.com/categories
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count categories
URL:
https://api.awardstage.com/categories/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get category
URL:
https://api.awardstage.com/category/:id
Entries
List entries
URL:
https://api.awardstage.com/entries
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count entries
URL:
https://api.awardstage.com/entries/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get entry
URL:
https://api.awardstage.com/entry/:id
Judging Rounds
List judging rounds
URL:
https://api.awardstage.com/judging-rounds
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count judging rounds
URL:
https://api.awardstage.com/judging-rounds/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get judging round
URL:
https://api.awardstage.com/judging-round/:id
Events
List events
URL:
https://api.awardstage.com/events
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count events
URL:
https://api.awardstage.com/events/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get event
URL:
https://api.awardstage.com/event/:id
Event Registrations
List event registrations
URL:
https://api.awardstage.com/event-registrations
REQUEST:
Limit of the items returned, ( accepted values are between 1 & 200 ) default is set to 20
Offset of the collection of items to paginate
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Count event registrations
URL:
https://api.awardstage.com/event-registrations/count
REQUEST:
Date created from eg 2018-06-15 08:10:40
Date created to eg 2018-06-15 08:10:40
Date updated from eg 2018-06-15 08:10:40
Date updated to eg 2018-06-15 08:10:40
Get event registration
URL:
https://api.awardstage.com/event-registration/:id