[NEW - TBC] Arianee Event

Retrieve Arianee events and their associated private content if authorized. As content being private, an Arianee Access Token is required to authenticate.

Retrieve Arianee Events

Retrieve the data and content of Arianee events for a given chain type and NFT owned by a wallet.

Endpoint: GET - /arianee/events/:protocolName/:smartAssetId

InputMandatoryTypeDescription
Header - arianeeAccessTokenStringAuthentication.
Mandatory if no signature.
Query param - languageStringLanguage(s) to return.
protocolNameStringNetwork of the protocol. Blockchain or custom network, e.g. brandname.
smartAssetIdStringID of the Arianee event to retrieve.

Result:

httpCodeDescription
200The Arianee event data and content are returned.
400Unknown smartAssetId.
403Authentication is missing.
500Server error.
[
    {
        "certificateId": "1",
        "id": "1",
        "imprint": "0x123456",
        "pending": false,
        "protocol": {
            "chainId": 99,
            "name": "mainnet"
        },
        "sender": "0x91c1959F96693fC98bF8fE2F6171CCA4d543BdCa",
        "content": {
            "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
            "eventType": "service",
            "language": "en-US",
            "title": "Mock event",
            "description": "Mock description",
            "externalContents": [
                {
                    "type": "website",
                    "title": "Arianee",
                    "url": "https://arianee.com/"
                }
            ],
            "i18n": [
                {
                    "language": "fr-FR",
                    "title": "Evenement mock",
                    "description": "Description mock",
                    "externalContents": [
                        {
                            "type": "website",
                            "title": "Arianee",
                            "url": "https://arianee.com/"
                        }
                    ]
                }
            ],
            "medias": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://api.bdh-awake.arianee.com/pub/1655453540647-eclate.png"
                }
            ],
            "attributes": [
                {
                    "type": "color",
                    "value": "Red"
                }
            ],
            "valuePrice": "123",
            "currencyPrice": "USD",
            "location": "France"
        },
        "rawContent": {
            "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
            "eventType": "service",
            "language": "en-US",
            "title": "Mock event",
            "description": "Mock description",
            "externalContents": [
                {
                    "type": "website",
                    "title": "Arianee",
                    "url": "https://arianee.com/"
                }
            ],
            "i18n": [
                {
                    "language": "fr-FR",
                    "title": "Evenement mock",
                    "description": "Description mock",
                    "externalContents": [
                        {
                            "type": "website",
                            "title": "Arianee",
                            "url": "https://arianee.com/"
                        }
                    ]
                }
            ],
            "medias": [
                {
                    "mediaType": "picture",
                    "type": "product",
                    "url": "https://api.bdh-awake.arianee.com/pub/1655453540647-eclate.png"
                }
            ],
            "attributes": [
                {
                    "type": "color",
                    "value": "Red"
                }
            ],
            "valuePrice": "123",
            "currencyPrice": "USD",
            "location": "France"
        },
        "timestamp": 1682574922
    },
    {
        "certificateId": "1",
        "id": "2",
        "imprint": "0x123456",
        "pending": true,
        "protocol": {
            "chainId": 99,
            "name": "mainnet"
        },
        "sender": "0x91c1959F96693fC98bF8fE2F6171CCA4d543BdCa",
        "content": {
            "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
            "eventType": "experience",
            "title": "Mock event 2",
            "description": "Mock description 2",
            "externalContents": [
                {
                    "type": "website",
                    "title": "Arianee",
                    "url": "https://arianee.com/"
                }
            ]
        },
        "rawContent": {
            "$schema": "https://cert.arianee.org/version1/ArianeeEvent-i18n.json",
            "eventType": "experience",
            "title": "Mock event 2",
            "description": "Mock description 2",
            "externalContents": [
                {
                    "type": "website",
                    "title": "Arianee",
                    "url": "https://arianee.com/"
                }
            ]
        },
        "timestamp": 1682574922
    }
]