GET /api/:space/events/:id

To be updated...

Description:

Returns a single event as modified by CompetitionsLabs based on the supplied Adjustment Factor for the id specified.

Resource URL:

https://<apphost>.competitionlabs.com/api/<your-space>/events/<eventId>

Request header

KeyValueRequired

 X-API-KEY


Yes

Request URL parameter

Parameter
Type
Required
Description
spaceStringYesThis is the space name which is linked to the account
eventIdStringYesEvent identifier retrieved from GET Events request


Example:


Request
curl
--header "X-API-KEY: <your-api-key>"
--request GET https://app.competitionlabs.com/api/<your-space>/events/AVRPhBzLbmJuJ77et_e_Kdcnvt63


Response
{
    "data": {
        "jsonClass": "Event",
        "competitionId": "AVRPO5jjXmIDsNz7wDsM",
        "contestId": "AVRPQTO_XmIDsNz7wDs3",
        "accountId": "AVQP94vABCDvFCL2Znbn",
        "memberId": "AVQQVMqUaiz4p7Taeu-S",
        "productId": "AVQQVK9_aiz4p7Taeu-D",
        "sourceValue": 3.375,
        "points": 3.375,
        "memberRefId": "my-custom-member-ref-8",
        "productRefId": "my-custom-game-ref-0",
        "eventRefId": "my-custom-event-ref-Id-1399",
        "transactionTimestamp": "2016-04-25T22:22:18.827+00:00",
        "hash": "b7e52699ba69d61b47526783dc28c06f",
        "created": "2016-04-25T22:20:26.139+00:00",
        "id": "AVRPhBzLbmJuJ77et_e_Kdcnvt63"
    }
}