AnsweredAssumed Answered

OPEN Event Center API: Create a new event

Question asked by Raul Jimenez on Aug 25, 2015
Latest reply on Sep 1, 2015 by Rafal Myszka



I am trying to create a new event through Event Center API with HTTPie client.

I am doing some test with method /events/v2/{accountId}/events{?startRange,endRange,sortField,sortOrder,startIndex,limit,customerEventId}


Command: http -a events: POST :/events/v2/current-account/events?startRange=1440720000&endRange=1440760000&customerEventId=test


Response error:

HTTP/1.1 415 Unsupported Media Type



    "errorContext": {

        "message": "Content type 'application/octet-stream' not supported."


    "errorMessage": "The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.. Content type 'application/octet-stream' not supported.",

    "incidentId": "cHJvZC1wb3J0YWwtbXNyZXBvcnRzMDMuZXh0cmFuZXQuYWthbWFpLmNvbSMxNDQwNTEzNzg0NTUw",

    "status": "error"



Could anybody give a example to create a event for a Live Stream with HTTPie client? What are the correct parameters I have to use? Where I have to include the stream I want to add to the event?


Interest URLs:

HTTPie client: Exploring Akamai OPEN APIs from the command line using `HTTPie` and `jq`

OPEN Event Center API: Event Center API