Audit

Data Dictionary

This section of the documentation can be used as a reference for API values throughout the Sport API which are linked to Audit Entities.

You can find the API documentation for the audit endpoint in the Audit API reference section.

The following example shows how the audit metadata is identified. The data tables below will identify the properties available within the metadata.

{
    "offset": 0,
    "limit": 5,
    "hasNext": true,
    "hasPrevious": false,
    "items": [
        {
            "operation": "update",
            "timestamp": "2019-09-24T11:45:50.025Z",
            "type": "stage",
            "url": "http://sport.api.press.net/v1/stage/858210?ts=1569325550025",
            "_ts": 1569325550025,
            "stage": {
                "id": 858210,
                "name": "European Masters"
            },
            "season": {
                "id": 13327,
                "name": "2019"
            },
            "tournament": {
                "id": 429,
                "name": "European Tour"
            },
            "sport": {
                "id": 3,
                "name": "Golf"
            },
            "country": {
                "id": 37,
                "name": "Switzerland"
            }
        },
        {
            "operation": "update",
            "timestamp": "2019-09-24T12:11:44.441Z",
            "type": "event:composition",
            "url": "http://sport.api.press.net/v1/event/2915709/composition?ts=1569327104441",
            "_ts": 1569327104441,
            "event": {
                "id": 2915709,
                "name": "European Masters"
            },
            "stage": {
                "id": 858210,
                "name": "European Masters"
            },
            "season": {
                "id": 13327,
                "name": "2019"
            },
            "tournament": {
                "id": 429,
                "name": "European Tour"
            },
            "sport": {
                "id": 3,
                "name": "Golf"
            },
            "country": {
                "id": 37,
                "name": "Switzerland"
            }
        },
        {
            "operation": "update",
            "timestamp": "2019-09-24T12:11:47.539Z",
            "type": "event",
            "url": "http://sport.api.press.net/v1/event/2915709?ts=1569327107539",
            "_ts": 1569327107539,
            "event": {
                "id": 2915709,
                "name": "European Masters"
            },
            "stage": {
                "id": 858210,
                "name": "European Masters"
            },
            "season": {
                "id": 13327,
                "name": "2019"
            },
            "tournament": {
                "id": 429,
                "name": "European Tour"
            },
            "sport": {
                "id": 3,
                "name": "Golf"
            },
            "country": {
                "id": 37,
                "name": "Switzerland"
            }
        },
        {
            "operation": "update",
            "timestamp": "2019-09-24T12:23:42.930Z",
            "type": "stage",
            "url": "http://sport.api.press.net/v1/stage/858498?ts=1569327822930",
            "_ts": 1569327822930,
            "stage": {
                "id": 858498,
                "name": "Shaw Charity Classic"
            },
            "season": {
                "id": 13355,
                "name": "2019"
            },
            "tournament": {
                "id": 9418,
                "name": "Champions Tour"
            },
            "sport": {
                "id": 3,
                "name": "Golf"
            },
            "country": {
                "id": 23,
                "name": "Canada"
            }
        },
        {
            "operation": "update",
            "timestamp": "2019-09-24T12:44:20.557Z",
            "type": "stage",
            "url": "http://sport.api.press.net/v1/stage/859202?ts=1569329060557",
            "_ts": 1569329060557,
            "stage": {
                "id": 859202,
                "name": "Portland Classic"
            },
            "season": {
                "id": 13456,
                "name": "2019"
            },
            "tournament": {
                "id": 436,
                "name": "LPGA Tour"
            },
            "sport": {
                "id": 3,
                "name": "Golf"
            },
            "country": {
                "id": 16,
                "name": "USA"
            }
        }
    ]
}

Properties

PropertyExampleType
operationcreateString
timestamp2019-09-24T11:45:50.025ZDateTime
typestageString
urlhttp://sport.api.press.net/v1/stage/859202?ts=1569329060557String
_ts1569329060557Number

Enumeration values

Property: operation
create
delete
update

Enumeration values

Property: type
sport
tournament
season
stage
draw
standing
event
event:actions
event:composition
event:report

❗️

Unsupported Resource Types

Currently, the 'country' and 'participant' resource types are not supported.